From 1a8cd5ff9ded16dd071624fa056712678b2cda6a Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 31 Oct 2012 10:53:37 -0500 Subject: Tmpfiles: create and delete entries once in the boot runlevel. 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: X-Gentoo-Bug: 439012 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439012 --- runlevels/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runlevels') diff --git a/runlevels/Makefile b/runlevels/Makefile index a4fd006f..e459d15f 100644 --- a/runlevels/Makefile +++ b/runlevels/Makefile @@ -38,9 +38,9 @@ BOOT-FreeBSD+= hostid newsyslog savecore syslogd # FreeBSD specific stuff BOOT-FreeBSD+= adjkerntz dumpon syscons -BOOT-Linux+= hwclock keymaps modules mtab procfs termencoding tmpfilesd.boot +BOOT-Linux+= hwclock keymaps modules mtab procfs termencoding tmpfiles.setup SHUTDOWN-Linux= killprocs mount-ro -SYSINIT-Linux= devfs dmesg sysfs tmpfilesd.sysinit +SYSINIT-Linux= devfs dmesg sysfs # Generic BSD stuff BOOT-NetBSD+= hostid newsyslog savecore syslogd -- cgit v1.2.3