Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-28 | use /run instead of /dev/.run | Kay 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-09 | dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemd | Lennart Poettering | |
2011-03-09 | pkconfig: export full search path as .pc variable | Lennart Poettering | |
2010-11-15 | drop support for MANAGER_SESSION, introduce MANAGER_USER instead | Lennart Poettering | |
2010-10-13 | lookup: look for dynamic throw-away units in /dev/.systemd/system | Lennart Poettering | |
2010-09-27 | sysv: optionally disable of SysV init/rcN.d support at compile time | Fabiano 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-14 | emacs: make sure nobody accidently adds tabs to our sources | Lennart Poettering | |
2010-07-01 | systemd: include /etc/systemd/system/ and /lib/systemd/system/ in search ↵ | Lennart Poettering | |
path unconditionally | |||
2010-06-24 | path-lookup: unconditionally check /usr and /usr/share unit directories | Lennart Poettering | |
2010-06-19 | manager: 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-17 | gcc: disable warn_unused_result attribute warnings | Lennart Poettering | |
2010-06-16 | install: add systemd-install tool for managing alias/wants symlinks | Lennart Poettering | |
2010-06-15 | manager: split off path lookup logic into own .c file | Lennart Poettering | |