aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2022-01-13 15:16:37 -0600
committerDouglas R. Reno <renodr@linuxfromscratch.org>2022-01-13 15:16:37 -0600
commitc8df034e5fac95187683af6dea88781b4082a60e (patch)
treef066f3824df05eb54a97f5c526284bad2785c002 /chapter08
parentd21ec2fcbb46ee07dc404a39b3bebba762a91a6b (diff)
Fix CVE-2021-3997 in systemd.
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/systemd.xml11
1 files changed, 2 insertions, 9 deletions
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index ce03354a8..40c2a0df6 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -40,12 +40,10 @@
<sect2 role="installation">
<title>Installation of systemd</title>
- <!--Fix CVE-2021-33910 -->
- <!--
- <para>First, apply a patch to fix a security vulnerability:</para>
+ <para>First, apply a patch to fix a security vulnerability and regressions
+ with hostnames and idle units:</para>
<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
--->
<para>Remove two unneeded groups,
<systemitem class="groupname">render</systemitem> and
@@ -204,11 +202,6 @@ meson --prefix=/usr \
<screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
- <para>Fix a regression in a systemd unit that causes a delay when
- switching TTYs:</para>
-
-<screen><userinput remap="adjust">sed -i 's/idle/simple/' /usr/lib/systemd/system/getty@.service</userinput></screen>
-
<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
If it causes any trouble, we can add this back and also copy it into BLFS -->
<!--