Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2014-06-29 | util: refuse considering UID 0xFFFF and 0xFFFFFFFF valid | Lennart Poettering | |
2014-06-26 | journal/compress: add stream compression/decompression functions | Zbigniew Jędrzejewski-Szmek | |
2014-06-25 | fsck: consider a fsck implementation linked to /bin/true non-existant | Lennart Poettering | |
2014-06-24 | use more _cleanup_ macro | Ronny Chevalier | |
2014-06-24 | nspawn: create essential base directories at system bootup | Kay Sievers | |
This allows us to bootup a rootfs with a /usr directory only. | |||
2014-06-23 | coredump: never write more than the configured processing size limit to disk | Lennart Poettering | |
2014-06-22 | fix in_addr_prefix_intersect for 32bits | Marc-Antoine Perennou | |
shifting from a non fixed number of bits >= to the size of the type leads to weird results, handle the special case of << 32 to fix it. This was causing a test failure from test-socket-util: Assertion 'in_addr_prefix_intersect(f, &ua, apl, &ub, bpl) == result' failed at /var/tmp/paludis/build/sys-apps-systemd-scm/work/systemd-scm/src/test/test-socket-util.c:147, function test_in_addr_prefix_intersect_one(). Aborting. Minimal reproducer: paludisbuild@Lou /tmp $ cat test.c static void test(unsigned m) { unsigned nm = 0xFFFFFFFFUL << (32-m); printf("%u: %x\n", m, nm); } int main (void) { test(1); test(0); return 0; } paludisbuild@Lou /tmp $ gcc -m32 -std=gnu99 test.c -o test32 paludisbuild@Lou /tmp $ ./test32 1: 80000000 0: ffffffff paludisbuild@Lou /tmp $ gcc -std=gnu99 test.c -o test64 paludisbuild@Lou /tmp $ ./test64 1: 80000000 0: 0 | |||
2014-06-22 | consistently order cleanup attribute before type | Thomas Hindoe Paaboel Andersen | |