From f202da3b4063ed448b2d1f23bf76e7f2df0f3d47 Mon Sep 17 00:00:00 2001 From: Krejzi Date: Sat, 21 Feb 2015 14:41:28 +0000 Subject: [PATCH] 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 --- chapter06/systemd.xml | 7 +++++-- 1 file 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 done ln -sfv ../lib/systemd/systemd /sbin/init - Remove a reference to a non-existent group: + Remove a reference to a non-existent group and fix + a configuration file so it doesn't cause + systemd-tmpfiles to fail at boot: -sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf +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 Create the /etc/machine-id file needed by systemd-journald: