Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-16 | resolve: add distinct bus error code for hosts that exist but lack A or AAAA ↵ | Lennart Poettering | |
records | |||
2014-07-16 | resolved: add a DNS client stub resolver | Lennart Poettering | |
Let's turn resolved into a something truly useful: a fully asynchronous DNS stub resolver that subscribes to network changes. (More to come: caching, LLMNR, mDNS/DNS-SD, DNSSEC, IDN, NSS module) | |||
2014-07-13 | fileio: quote more shell characters in envfiles | Mantas Mikulėnas | |
Turns out, making strings shell-proof is harder than expected: # machinectl set-hostname "foo|poweroff" && . /etc/machine-info (This could be simplified by quoting *and* escaping all characters, which is harmless in shell but unnecessary.) | |||
2014-07-13 | path-lookup: don't make ~/.local/share/systemd/user a symlink | Tanu Kaskinen | |
We already encourage upstreams to keep the default configuration separate from user customizations for software that is installed in the system location. Let's allow that separation also for software that is installed in the home directory. Some discussion: http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/19627 | |||
2014-07-13 | Add function to open temp files in selinux mode | Zbigniew Jędrzejewski-Szmek | |
2014-07-11 | shared: fix coding-style for ring-buffer implementation | David Herrmann | |
We use "typedef struct Ring Ring" with camel-case for internal objects. So rename "struct ring" to "Ring". | |||
2014-07-11 | shared: add MIN3 macro | David Herrmann | |
This is like MIN but evaluates 3 arguments. We already have MAX3, so add the equivalent for MIN. | |||
2014-07-11 | endian: explicitly include endian.h wherever we want to use __BYTE_ORDER | Lennart Poettering | |
2014-07-11 | always check for __BYTE_ORDER == __BIG_ENDIAN when checking for endianess | Lennart Poettering | |
Let's always stick to glibc's way to determine byte order, and not mix autoconf-specific checks with gcc checks. | |||
2014-07-11 | util: fix has cc check and add test | Zbigniew Jędrzejewski-Szmek | |
2014-07-10 | nss-myhostname: move NSS boilerplate to nss-util.h | Lennart Poettering | |
2014-07-10 | shared: split out in_addr related calls from socket-util.[ch] into its ↵ | Lennart Poettering | |
private in-addr-util.[ch] These are enough calls for a new file, and they are sufficiently different from the sockaddr-related calls, hence let's split this out. | |||
2014-07-10 | nss-myhostname: move local address listing logic into shared, so that we can ↵ | Lennart Poettering | |
make use of it from machined | |||
2014-07-07 | Fix typo | Zbigniew Jędrzejewski-Szmek | |
2014-07-07 | shared: fix format string for usec_t type | Lennart Poettering | |
2014-07-07 | dropin: add format attribute and fix a wrong caller | Thomas Hindoe Paaboel Andersen | |
2014-07-07 | fstab-generator: add comma when removed option is in the middle | Zbigniew Jędrzejewski-Szmek | |
xxx,x-systemd.default-timeout=y,zzz was filtered to xxxzzz, but should be xxx,zzz, of course. | |||
2014-07-07 | firstboot: get rid of firstboot generator again, introduce ↵ | Lennart Poettering | |
ConditionFirstBoot= instead As Zbigniew pointed out a new ConditionFirstBoot= appears like the nicer way to hook in systemd-firstboot.service on first boots (those with /etc unpopulated), so let's do this, and get rid of the generator again. | |||
2014-07-07 | firstboot: follow lock protocol when changing /etc/shadow | Lennart Poettering | |
2014-07-07 | base-filesystem.c: terminate string array elements with \0 | Harald Hoyer | |
NULSTR_FOREACH() looks for a terminating zero and the element also needs one. | |||
2014-07-07 | firstboot: add new component to query basic system settings on first boot, ↵ | Lennart Poettering | |
or when creating OS images offline A new tool "systemd-firstboot" can be used either interactively on boot, where it will query basic locale, timezone, hostname, root password information and set it. Or it can be used non-interactively from the command line when prepareing disk images for booting. When used non-inertactively the tool can either copy settings from the host, or take settings on the command line. $ systemd-firstboot --root=/path/to/my/new/root --copy-locale --copy-root-password --hostname=waldi The tool will be automatically invoked (interactively) now on first boot if /etc is found unpopulated. This also creates the infrastructure for generators to be notified via an environment variable whether they are running on the first boot, or not. | |||
2014-07-07 | architecture: add string table entries for mips-le archs which were missing | Lennart Poettering | |
2014-07-07 | fileio: simplify write_env_file() | Lennart Poettering | |
2014-07-07 | util: don't consider tabs special in string_has_cc() anymore | Lennart Poettering | |
Instead, take a list of exceptions to our usual CC check | |||
2014-07-07 | shared: make timezone and locale enumeration and validation generic | Lennart Poettering | |
This way we can reuse it other code thatn just localectl/localed + timedatectl/timedated. | |||
2014-07-07 | util: consider 0x7F a control chracter (which it is: DEL) | Lennart Poettering | |
Let's better be safe than sorry. | |||
2014-07-03 | architecture: remove "cris" from uname list | Lennart Poettering | |
the only correct name appears to be "crisv32"... http://lists.freedesktop.org/archives/systemd-devel/2014-July/020899.html | |||
2014-07-03 | machinectl: show /etc/os-release information of container in status output | Lennart Poettering | |
2014-07-03 | architecture: also add tuples for old ARM BE ABI | Lennart Poettering | |
2014-07-03 | architecture: add tuple for old arm abi | Zbigniew Jędrzejewski-Szmek | |
I don't have suitable hardware at hand, so this is based on debian documentation: https://wiki.debian.org/ArmEabiPort#GCC_preprocessor_macros_for_floating_point | |||
2014-07-03 | shared: add LIB_ARCH tuples for BE ARM archs | Lennart Poettering | |
2014-07-03 | core: introduce exit_status_set_is_empty() to make things a bit easier to read | Lennart Poettering | |
2014-07-03 | shared: rename ARCH_TUPLE to LIB_ARCH_TUPLE | Lennart Poettering | |
This is really just about library locations, hence clarify that we don't assume this to be anything but that. | |||
2014-07-03 | exit-status: rename ExitStatusSet's "code" field to "status" | Lennart Poettering | |
We should follow the naming scheme waitid() uses, not come up with our own reversed one... | |||
2014-07-03 | architecture: add tuples for arm | Zbigniew Jędrzejewski-Szmek | |
2014-07-03 | arch: add crisv32 to uname check | Umut Tezduyar Lindskog | |
2014-07-03 | core: introduce new RestartForceExitStatus= service setting | Lennart Poettering | |
This does the inverse of RestartPreventExitStatus=: it forces a restart of a service when a certain exit status is returned by a service process. | |||
2014-07-03 | sd-bus: support connecting to remote hosts, directly into containers | Lennart Poettering | |
systemctl -H root@foobar:waldi will now show a list of services running on container "waldi" on host "foobar", using "root" for authenticating at "foobar". Since entereing a container requires priviliges, this will only work correctly for root logins. | |||
2014-07-02 | util: when unescaping strings, don't allow smuggling in of additional NUL bytes | Lennart Poettering | |
Better safe than sorry. | |||
2014-07-02 | util: generalize is_localhost() and use it everywhere where applicable | Lennart Poettering | |
2014-07-02 | path: add new "systemd-path" utility for querying paths described in ↵ | Lennart Poettering | |
file-hierarchy(7) This new tool is based on "sd-path", a new (so far unexported) API for libsystemd, that can hopefully grow into a workable API covering /opt and more one day. | |||
2014-07-01 | parse_uid: return -ENXIO for -1 uids | Kay Sievers | |
2014-07-01 | base-filesystem: avoid all searching if the link already exists | Kay Sievers | |
2014-07-01 | base-filesystem: explicitely check existence of the platform's ABI dynamic ↵ | Kay Sievers | |
loader | |||
2014-07-01 | base-filesystem: create /lib64 symlink to libdir /usr directory | Kay Sievers | |
2014-06-30 | cryptsetup: allow x-systemd.device-timeout | Zbigniew Jędrzejewski-Szmek | |
https://bugs.freedesktop.org/show_bug.cgi?id=54210 | |||
2014-06-30 | fstab-generator: allow x-systemd.device-timeout for swap units | Zbigniew Jędrzejewski-Szmek | |
2014-06-30 | Move x-systemd-device.timeout handling from core to fstab-generator | Zbigniew Jędrzejewski-Szmek | |
Instead of adjusting job timeouts in the core, let fstab-generator write out a dropin snippet with the appropriate JobTimeout. x-systemd-device.timeout option is removed from Options= line in the generated unit. The functions to write dropins are moved from core/unit.c to shared/dropin.c, to make them available outside of core. generator.c is moved to libsystemd-label, because it now uses functions defined in dropin.c, which are in libsystemd-label. | |||
2014-06-30 | shared/util.c:wait_for_terminate_and_warn(): Add a comment on the return values | Luke Shumaker | |
2014-06-30 | util: fix comment | Lennart Poettering | |