From 0a75d626580d57ee3bf31bba07769886c015e9f7 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Fri, 4 Feb 2022 19:54:13 -0600 Subject: Minor tweaks to systemd --- chapter07/createfiles.xml | 1 - chapter08/systemd.xml | 3 ++- chapter09/networkd.xml | 12 +++++++++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml index e7e3c7868..9c4f6ac54 100644 --- a/chapter07/createfiles.xml +++ b/chapter07/createfiles.xml @@ -74,7 +74,6 @@ EOF bin:x:1:1:bin:/dev/null:/usr/bin/false daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false -systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/usr/bin/false systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/usr/bin/false systemd-journal-remote:x:74:74:systemd Journal Remote:/:/usr/bin/false systemd-journal-upload:x:75:75:systemd Journal Upload:/:/usr/bin/false diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 40c2a0df6..be7cb4e8b 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -131,7 +131,8 @@ meson --prefix=/usr \ services responsible for setting up the /etc/group and /etc/passwd files. Both files - were created earlier in this chapter. + were created earlier in this chapter. This daemon is not useful + on an LFS system since user accounts are manually created. diff --git a/chapter09/networkd.xml b/chapter09/networkd.xml index 82a0740ad..42c7dc730 100644 --- a/chapter09/networkd.xml +++ b/chapter09/networkd.xml @@ -184,15 +184,21 @@ EOF or any other software that generates an /etc/resolv.conf (ex: a resolvconf program other than the one provided by systemd), the systemd-resolved service - should not be used. + should not be used. + + To disable systemd-resolved, issue the following command: + +systemctl disable systemd-resolved When using systemd-resolved for DNS configuration, it creates the file - /run/systemd/resolve/resolv.conf. Create a + /run/systemd/resolve/resolv.conf. + -- cgit v1.2.3-54-g00ecf