aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrejzi <krejzi@linuxfromscratch.org>2015-02-21 14:41:28 +0000
committerKrejzi <krejzi@linuxfromscratch.org>2015-02-21 14:41:28 +0000
commitf202da3b4063ed448b2d1f23bf76e7f2df0f3d47 (patch)
tree01ddda91626343d914d814fa2561e30430af04c3
parenta3c830cdda7b59cd12bcde98a688bd77527e2860 (diff)
Fix systemd-tmpfiles. Thanks to spiky for the report.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10857 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/systemd.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index fb48a8077..f62aad85a 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -199,9 +199,12 @@ EOF</userinput></screen>
done
ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
- <para>Remove a reference to a non-existent group:</para>
+ <para>Remove a reference to a non-existent group and fix
+ a configuration file so it doesn't cause
+ <command>systemd-tmpfiles</command> to fail at boot:</para>
-<screen><userinput remap="install">sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
+<screen><userinput remap="install">sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf
+sed -i "/pam.d/d" /usr/lib/tmpfiles.d/etc.conf</userinput></screen>
<para>Create the <filename>/etc/machine-id</filename> file needed by
<command>systemd-journald</command>:</para>