summaryrefslogtreecommitdiff
path: root/src/path-lookup.c
AgeCommit message (Collapse)Author
2011-04-30binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty=Kay Sievers
2011-04-28lookup: drop empty directories from search pathsLennart Poettering
2011-04-04pkgconfig: update .pc file accordinglyLennart Poettering
2011-04-04lookup: always also look into /usr/lib for unitsLennart Poettering
2011-03-28use /run instead of /dev/.runKay Sievers
Instead of the /dev/.run trick we have currently implemented, we decided to move the early-boot runtime dir to /run. An existing /var/run directory is bind-mounted to /run. If /var/run is already a symlink, no action is taken. An existing /var/lock directory is bind-mounted to /run/lock. If /var/lock is already a symlink, no action is taken. To implement the directory vs. symlink logic, we have a: ConditionPathIsDirectory= now, which is used in the mount units. Skipped mount unit in case of symlink: $ systemctl status var-run.mount var-run.mount - Runtime Directory Loaded: loaded (/lib/systemd/system/var-run.mount) Active: inactive (dead) start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago Where: /var/run What: /run CGroup: name=systemd:/system/var-run.mount The systemd rpm needs to make sure to add something like: %pre mkdir -p -m0755 /run >/dev/null 2>&1 || : or it needs to be added to filesystem.rpm. Udev -git already uses /run if that exists, and is writable at bootup. Otherwise it falls back to the current /dev/.udev. Dracut and plymouth need to be adopted to switch from /dev/.run to run too. Cheers, Kay
2011-03-09dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemdLennart Poettering
2011-03-09pkconfig: export full search path as .pc variableLennart Poettering
2010-11-15drop support for MANAGER_SESSION, introduce MANAGER_USER insteadLennart Poettering
2010-10-13lookup: look for dynamic throw-away units in /dev/.systemd/systemLennart Poettering
2010-09-27sysv: optionally disable of SysV init/rcN.d support at compile timeFabiano Fidencio
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to isolate code dealing with /etc/init.d and /etc/rcN.d for systems where it does not make sense (one that does not use sysv or one that is fully systemd native). The patch tries to be as little intrusive as possible, however in order to minimize the number of #ifdef'ed regions I've reordered some code in path-lookup.c:lookup_paths_init() where all code dealing with sysv is now isolated under running_as == MANAGER_SYSTEM as well. Moreover, In struct Service, some fields were rearranged to reduce the number of ifdefs. Lennart's suggestions were fixed and squashed with the original patch, that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-07-01systemd: include /etc/systemd/system/ and /lib/systemd/system/ in search ↵Lennart Poettering
path unconditionally
2010-06-24path-lookup: unconditionally check /usr and /usr/share unit directoriesLennart Poettering
2010-06-19manager: get rid of destinction between running_as=system and ↵Lennart Poettering
running_as=init, as there is little value in it and we cannot really test this
2010-06-17gcc: disable warn_unused_result attribute warningsLennart Poettering
2010-06-16install: add systemd-install tool for managing alias/wants symlinksLennart Poettering
2010-06-15manager: split off path lookup logic into own .c fileLennart Poettering