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: