aboutsummaryrefslogtreecommitdiff
path: root/init.d/tmpfilesd.sysinit.in
AgeCommit message (Collapse)Author
2012-10-31Tmpfiles: create and delete entries once in the boot runlevel.William Hubbs
Initially, we were creating tmpfiles entries in the sysinit runlevel and again in the boot runlevel. Systemd runs the --create and --remove options in one service called systemd-tmpfiles-setup after the local file systems are mounted. Now we have a service called tmpfiles.setup which emulates this. This also closes the bug mentioned below, since we were originally writing to files that were on read-only file systems and that were not available. Reported-by: <devurandom@gmx.net> X-Gentoo-Bug: 439012 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439012
2012-10-19tmfiles: change need dev to use dev.William Hubbs
This is being changed to use for the reason I stated in the previous commit. There is no guarantee that someone is using a device manager.
2012-10-19Fix bashism in tmpfilesd scriptsWilliam Hubbs
Reported-by: <pesa@gentoo.org>
2012-09-26tmpfiles.d init.d scriptsRobin H. Johnson
Now that the tmpfiles.d code is more tested, actually call it from init.d. It assumes that /run is already available when it runs. Please note it runs TWICE. - During sysinit, ideally just after /dev/shm is created, but before udev has started. After udev is also acceptable, but not ideal. - During boot, ideally just after localmount has completed. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>