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 --- conf.d/Makefile | 2 +- conf.d/tmpfiles | 3 +++ conf.d/tmpfilesd | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 conf.d/tmpfiles delete mode 100644 conf.d/tmpfilesd (limited to 'conf.d') diff --git a/conf.d/Makefile b/conf.d/Makefile index 1f28967..24db589 100644 --- a/conf.d/Makefile +++ b/conf.d/Makefile @@ -1,5 +1,5 @@ DIR= ${CONFDIR} -CONF= bootmisc fsck hostname localmount netmount urandom tmpfilesd \ +CONF= bootmisc fsck hostname localmount netmount urandom tmpfiles \ ${CONF-${OS}} ifeq (${MKNET},) diff --git a/conf.d/tmpfiles b/conf.d/tmpfiles new file mode 100644 index 0000000..c3f208f --- /dev/null +++ b/conf.d/tmpfiles @@ -0,0 +1,3 @@ +# Extra options for tmpfiles.sh +#tmpfiles_opts="--verbose" +tmpfiles_opts="" diff --git a/conf.d/tmpfilesd b/conf.d/tmpfilesd deleted file mode 100644 index c3f208f..0000000 --- a/conf.d/tmpfilesd +++ /dev/null @@ -1,3 +0,0 @@ -# Extra options for tmpfiles.sh -#tmpfiles_opts="--verbose" -tmpfiles_opts="" -- cgit v1.2.3