- 13 Feb, 2011 1 commit
-
-
Lennart Poettering authored
-
- 20 Jan, 2011 1 commit
-
-
Lennart Poettering authored
-
- 05 Jan, 2011 1 commit
-
-
Lennart Poettering authored
-
- 28 Dec, 2010 1 commit
-
-
Lennart Poettering authored
Patch suggested by Miloslav Trmac.
-
- 15 Nov, 2010 1 commit
-
-
Lennart Poettering authored
-
- 11 Nov, 2010 1 commit
-
-
Lennart Poettering authored
-
- 10 Nov, 2010 2 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
- 28 Oct, 2010 1 commit
-
-
Lennart Poettering authored
-
- 27 Oct, 2010 2 commits
-
-
Lennart Poettering authored
mounts: automatically create /dev/stderr and friends early on boot so that they are around when we run shell scripts before udevd
-
Lennart Poettering authored
-
- 26 Oct, 2010 1 commit
-
-
Lennart Poettering authored
-
- 25 Oct, 2010 1 commit
-
-
Lennart Poettering authored
-
- 22 Oct, 2010 1 commit
-
-
Lennart Poettering authored
-
- 18 Oct, 2010 1 commit
-
-
Lennart Poettering authored
-
- 08 Oct, 2010 1 commit
-
-
Lennart Poettering authored
-
- 07 Oct, 2010 2 commits
-
-
Lennart Poettering authored
-
Fabiano Fidencio authored
As we have streq to repesent (strcmp(a, b) == 0),I'm adding strneq to represent (strncmp(a, b, n) == 0), that will be used in umount.c (at least).
-
- 05 Oct, 2010 1 commit
-
-
Dave Reisner authored
-
- 21 Sep, 2010 1 commit
-
-
Lennart Poettering authored
-
- 15 Sep, 2010 3 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
- 25 Aug, 2010 1 commit
-
-
Lennart Poettering authored
-
- 20 Aug, 2010 3 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and decode exit codes in systemctl
-
- 17 Aug, 2010 2 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
- 16 Aug, 2010 1 commit
-
-
Lennart Poettering authored
-
- 11 Aug, 2010 4 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-
- 03 Aug, 2010 1 commit
-
-
Daniel J Walsh authored
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/28/2010 05:57 AM, Kay Sievers wrote: > On Wed, Jul 28, 2010 at 11:43, Lennart Poettering > <lennart@poettering.net> wrote: >> On Mon, 26.07.10 16:42, Daniel J Walsh (dwalsh@redhat.com) wrote: >>> tcontext=system_u:object_r:device_t:s0 tclass=chr_file >>> type=1400 audit(1280174589.476:7): avc: denied { read } for pid=1 >>> comm="systemd" name="autofs" dev=devtmpfs ino=9482 >>> scontext=system_u:system_r:init_t:s0 >>> tcontext=system_u:object_r:device_t:s0 tclass=chr_file >>> type=1400 audit(1280174589.476:8): avc: denied { read } for pid=1 >>> comm="systemd" name="autofs" dev=devtmpfs ino=9482 >>> scontext=system_u:system_r:init_t:s0 >>> tcontext=system_u:object_r:device_t:s0 tclass=chr_file >>> >>> Lennart, we talked about this earlier. I think this is caused by the >>> modprobe calls to create /dev/autofs. Since udev is not created at the >>> point that init loads the kernel modules, the devices get created with >>> the wrong label. Once udev starts the labels get fixed. >>> >>> I can allow init_t to read device_t chr_files. >> >> Hmm, I think a cleaner fix would be to make systemd relabel this device >> properly before accessing it? Given that this is only one device this >> should not be a problem for us to maintain, I think? How would the >> fixing of the label work? Would we have to spawn restorecon for this, or >> can we actually do this in C without too much work? > > I guess we can just do what udev is doing, and call setfilecon(), with > a context of an earlier matchpathcon(). > > Kay > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel Here is the updated patch with a fix for the labeling of /dev/autofs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkxQMyoACgkQrlYvE4MpobNviACfWgxsjW2xzz1qznFex8RVAQHf gIEAmwRmRcLvGqYtwQaZ3WKIg8wmrwNk =pC2e
-
- 20 Jul, 2010 1 commit
-
-
Lennart Poettering authored
Don't try to merge devices that have been created via dependencies when they appear in the system and can be recognized as the same. Instead, simply continue to maintain them independently of each other, however with the same state cycle. Why? Because otherwise we'd have a hard time to seperate the dependencies after the devices are unplugged again and we hence cannot be sure anymore that next time the device is plugged in it will carry the same names. Example: if one depndency refers to dev-sda.device and another one to dev-by-id-xxxyyy.device we only learn at time of plug in of the device that it is actually the same device that was ment. In the moment the device is unplugged again we won't know anymore their relation to each other and the next time the harddisk is plugged it might even appear as dev-by-id-xxxyyy.device and dev-sdb.service. To ensure the dependencies continue to have the meaning they were intended to have let's hence keep the .device objects seperate all the time, even when they are plugged in. This patch also introduces a new Following= property which points from the various .device units of a specific device to the main .device unit for it. This can be used by the client side to figure out the relation of the .device units to each other and even filter units from display.
-
- 12 Jul, 2010 1 commit
-
-
Lennart Poettering authored
-
- 10 Jul, 2010 1 commit
-
-
Lennart Poettering authored
-
- 08 Jul, 2010 2 commits
-
-
Lennart Poettering authored
Rename --start to --realize, to make things less confusing when doing "systemctl stop --realize foo.service". Introduce --realize=reload. Don't talk to systemd when run within a chroot, or when systemd isn't running.
-
Lennart Poettering authored
-