summaryrefslogtreecommitdiff
path: root/src/shared/path-lookup.c
Commit message (Collapse)AuthorAgeFilesLines
* unit: rework resource management APILennart Poettering2013-02-271-2/+7
| | | | | | | | | This introduces a new static list of known attributes and their special semantics. This means that cgroup attribute values can now be automatically translated from user to kernel notation for command line set settings, too. This also adds proper support for multi-line attributes.
* systemd: raise level of message about lookup pathsZbigniew Jędrzejewski-Szmek2013-02-061-15/+9
| | | | | | | This can be pretty important for the user, and is not trivial to figure out in all cases. Also show failing path in error messages.
* systemd: do not remove empty paths from unit lookup pathZbigniew Jędrzejewski-Szmek2013-02-061-3/+0
| | | | | | | The ability to start a new unit with 'systemctl start ...' should not depend on whether there are other units in the directory. Previously, an additional 'systemctl daemon-reload' would be necessary to tell systemd to update the list of unit lookup paths.
* core: move ManagerRunningAs to sharedZbigniew Jędrzejewski-Szmek2012-09-181-3/+11
| | | | | | | Note: I did s/MANAGER/SYSTEMD/ everywhere, even though it makes the patch quite verbose. Nevertheless, keeping MANAGER prefix in some places, and SYSTEMD prefix in others would just lead to confusion down the road. Better to rip off the band-aid now.
* mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵Kay Sievers2012-05-311-1/+1
| | | | context
* manager: rework generator logicLennart Poettering2012-05-231-56/+130
| | | | | | | | | | | | | | | | | | | | Previously generated units were always placed at the end of the search path. With this change there will be three unit dirs instead of one, to place generated entries at the beginning, in the middle and at the end of the search path: beginning: for units that need to override all configuration, regardless of user or vendor. Example use: system-update-generator uses this to temporarily redirect default.target. middle: for units that need to override vendor configuration, but not vendor configuration. Example use: /etc/fstab should override vendor supplied configuration (think /tmp), but should not override native user configuration. end: does not override anything but is available as well. Possible usage might be to convert D-Bus bus service files to native units but allowing vendor supplied native units to win.
* util: split-out path-util.[ch]Kay Sievers2012-05-081-11/+11
|
* move more common files to shared/ and add them to shared.laKay Sievers2012-04-121-0/+348