- 24 Apr, 2013 18 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
This makes sure nss-myhostname not only resolves the local host name to 127.0.0.2/::1 but also the host name 'localhost: to 127.0.0.1/::1. This makes installation of /etc/passwd optional, as it usually only includes a mapping for 'localhost'. This change also resolves ::1 to the local hostname (as before), but also lists 'localhost' as an alias. This means look-ups are now fully reversible, even though they are 1:n mappings. Finally, the module will no longer erroneously claim that local IP addresses which aren't on the loopback device were.
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Kay Sievers authored
The export of the RTCs hctosys flag is uneccesary, the kernel takes care of the persistemt clock management itself, without any need for: CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" "Chaotic hardware platforms" without native kernel persistent clock support will find the proper RTC with the logic rtc_open() without the need for a custom symlink.
-
Harald Hoyer authored
-
Lennart Poettering authored
-
Zbigniew Jędrzejewski-Szmek authored
Also update completion scripts a bit.
-
Zbigniew Jędrzejewski-Szmek authored
-
Zbigniew Jędrzejewski-Szmek authored
systemd-readahead reports "Failed to create shared memory segment: No such file or directory", but it's unclear how it can happen. Be more verbose about failures.
-
Zbigniew Jędrzejewski-Szmek authored
Freeing in error path is the common pattern with set_put().
-
Zbigniew Jędrzejewski-Szmek authored
It's polite to print the name of the link that wasn't created, and it makes little sense to print the target.
-
Zbigniew Jędrzejewski-Szmek authored
-
Zbigniew Jędrzejewski-Szmek authored
xattrs on cgroup fs were added back in v3.6-rc3-3-g03b1cde. But we support kernels >= 2.6.39, and we should also support kernels compiled w/o xattr support, even if systemd is compiled with xattr support. Fall back to mounting without xattr support. Tested-by:
Colin Walters <walters@verbum.org>
-
Kay Sievers authored
-
- 23 Apr, 2013 14 commits
-
-
Lennart Poettering authored
timer: make sure we restart timers even if units are still running or if one of their conditions fails
-
Lennart Poettering authored
-
Lennart Poettering authored
Instead of having explicit type-specific callbacks that inform the triggering unit when a triggered unit changes state, make this generic so that state changes are forwarded betwee any triggered and triggering unit. Also, get rid of UnitRef references from automount, timer, path units, to the units they trigger and rely exclsuively on UNIT_TRIGGER type dendencies.
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Umut Tezduyar authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
Session objects will now get the .session suffix, user objects the .user suffix, nspawn containers the .nspawn suffix. This also changes the user cgroups to be named after the numeric UID rather than the username, since this allows us the parse these paths standalone without requiring access to the cgroup file system. This also changes the mapping of instanced units to cgroups. Instead of mapping foo@bar.service to the cgroup path /user/foo@.service/bar we will now map it to /user/foo@.service/foo@bar.service, in order to ensure that all our objects are properly suffixed in the tree.
-
Lennart Poettering authored
-
Lennart Poettering authored
As discussed with Dan Berrange it's a good idea to suffix all objects in the cgroup tree with ".something", so that when the system is partitioned using a resource management tool we can drop objects of different types into the same partition directory without generate namespace conflicts. We'l add this to the Pax Control Group document as soon as write access to the fdo wiki is restored.
-
Lennart Poettering authored
-
Lennart Poettering authored
-
- 22 Apr, 2013 4 commits
-
-
Tom Gundersen authored
This is really just a special case of systemd-tmpfiles-setup, moreover it could easily create more than static nodes.
-
Harald Hoyer authored
-
Zbigniew Jędrzejewski-Szmek authored
All attributes are stored as text, since root_directory is already text, and it seems easier to have all of them in text format. Attributes are written in the trusted. namespace, because the kernel currently does not allow user. attributes on cgroups. This is a PITA, and CAP_SYS_ADMIN is required to *read* the attributes. Alas. A second pipe is opened for the child to signal the parent that the cgroup hierarchy has been set up.
-
Lennart Poettering authored
-
- 20 Apr, 2013 3 commits
-
-
Kay Sievers authored
-
Josh Triplett authored
-
Kay Sievers authored
-
- 19 Apr, 2013 1 commit
-
-
Evangelos Foutras authored
Underlinking can cause subtle bugs like the recent issue with libnss_myhostname (which was fixed in commit 1e335af7).
-