diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2012-10-31 10:53:37 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2012-10-31 17:38:41 -0500 |
commit | c73173ae5389e1a82aaebf2b4503ec7af32052fb (patch) | |
tree | ecb2b41dc8249292388e2b09588b6dc4e11f9c18 /conf.d | |
parent | 2964fc47f1da9b038b5ae4870c5fa9a78c5d2065 (diff) | |
download | openrc-c73173ae5389e1a82aaebf2b4503ec7af32052fb.tar.gz openrc-c73173ae5389e1a82aaebf2b4503ec7af32052fb.tar.bz2 openrc-c73173ae5389e1a82aaebf2b4503ec7af32052fb.tar.xz |
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: <devurandom@gmx.net>
X-Gentoo-Bug: 439012
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439012
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/Makefile | 2 | ||||
-rw-r--r-- | conf.d/tmpfiles (renamed from conf.d/tmpfilesd) | 0 |
2 files changed, 1 insertions, 1 deletions
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/tmpfilesd b/conf.d/tmpfiles index c3f208f..c3f208f 100644 --- a/conf.d/tmpfilesd +++ b/conf.d/tmpfiles |