Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-11 | main: disable nscd properly, if possible | Lennart Poettering | |
2010-08-11 | gc: remove a lot of unused code | Lennart Poettering | |
2010-08-11 | selinux: split off selinux calls into seperate file label.c | Lennart Poettering | |
2010-08-11 | util: when replacing env vars replace unset envvars by nothing | Lennart Poettering | |
This makes it easier to support /etc/sysconfig/xxxx with command line env vars in style of $OPTIONS which might or might not be set. | |||
2010-08-06 | util: when formatting timestamps return '0' for 0 timestamps instead of ↵ | Lennart Poettering | |
empty string | |||
2010-08-05 | selinux: minor error handling fix | Lennart Poettering | |
2010-08-05 | selinux: fix labels only when configured for it | Lennart Poettering | |
2010-08-04 | selinux: rework selinux tests a little | Lennart Poettering | |
2010-08-04 | selinux: fix if vs. ifdef mixup | Lennart Poettering | |
2010-08-03 | Systemd is causing mislabeled devices to be created and then attempting to ↵ | Daniel J Walsh | |
read them. -----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 | |||
2010-07-21 | exec: extend variable substitution to support splitting variable values into ↵ | Lennart Poettering | |
seperate arguments | |||
2010-07-20 | device: do not merge devices | Lennart Poettering | |
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. | |||
2010-07-13 | cgroup: treat non-existing cgroups like empty ones, to deal with races | Lennart Poettering | |
2010-07-12 | util: reset terminal even harder | Lennart Poettering | |
2010-07-12 | util: fix error handling in acquire_terminal() | Lennart Poettering | |
2010-07-12 | cgroup: reimplement the last bit of libcgroup functionality natively | Lennart Poettering | |
2010-07-11 | cgroup: kill processes, not tasks and other cgroup changes | Lennart Poettering | |
2010-07-10 | execute: add ability to configure the kill signal | Lennart Poettering | |
2010-07-08 | install: various improvements | Lennart Poettering | |
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. | |||
2010-07-08 | cgls: beef up control group dumping and introduce cgls tool | Lennart Poettering | |
2010-07-08 | util: fix missing memory initialization | Lennart Poettering | |
2010-07-08 | execute: support minimal environment variable replacement when executing ↵ | Lennart Poettering | |
processes | |||
2010-07-07 | util: handle \s escape as defined in the XDG spec properly in cunescape() | Lennart Poettering | |
2010-07-07 | util: introduce cunescape_length() | Lennart Poettering | |
2010-07-07 | util: properly handle escaped quotes in words in split_quoted() | Lennart Poettering | |
2010-07-07 | util: fix handling of unknown escapes in cunescape() | Lennart Poettering | |
2010-07-07 | util: implement safe_atolu based on safe_atolli/safe_atoi, depending on word ↵ | Lennart Poettering | |
size | |||
2010-07-07 | util: minor simplification when printing welcome text | Lennart Poettering | |
2010-07-07 | main: show welcome message on boot | Lennart Poettering | |
2010-07-07 | manager: optionally print status updates to console on boot | Lennart Poettering | |
2010-07-06 | util: fix space calculation in get_process_cmdline() | Lennart Poettering | |
2010-07-05 | systemctl: show cgroup contents in status | Lennart Poettering | |
2010-07-04 | dbus: complete exec coverage | Lennart Poettering | |
2010-07-01 | socket: make various socket/pipe options configurable | Lennart Poettering | |
2010-07-01 | core: rename struct timestamp to dual_timestamp to avoid name clash with IP ↵ | Lennart Poettering | |
system headers | |||
2010-06-21 | pam: implement systemd PAM module and generelize cgroup API for that a bit | Lennart Poettering | |
2010-06-19 | don't use 'long long' unless we have a really good reason to | Lennart Poettering | |
2010-06-19 | util: properly divide in 64bit in format_timestamp() | Lennart Poettering | |
2010-06-18 | install: make systemd-install useful for installation of template instances | Lennart Poettering | |
2010-06-18 | systemctl: add /dev/initctl fallback | Lennart Poettering | |
2010-06-18 | systemctl: warn users via wall that the system goes down | Lennart Poettering | |
2010-06-17 | manager: expose a few special units via SIGRTMIN+x signals | Lennart Poettering | |
2010-06-17 | util: implement parse_pid() function | Lennart Poettering | |
2010-06-16 | service: optionally call into PAM when dropping priviliges | Lennart Poettering | |
2010-06-16 | util: introduce random_ull() | Lennart Poettering | |
2010-06-16 | util: introduce readlink_and_make_absolute() | Lennart Poettering | |
2010-05-24 | path: add .path unit type for monitoring files | Lennart Poettering | |
2010-05-24 | timer: fully implement timer units | Lennart Poettering | |
2010-05-22 | manager: canonicalize search paths and filter out non-existing paths and ↵ | Lennart Poettering | |
those pointing to the same fs directory | |||
2010-05-22 | execute: only reset those signals to the default we really need to reset to ↵ | Lennart Poettering | |
the default |