systemd-resolved.service has a typo in 'Service' section. "ProtectSystems" should be "ProtectSystem".
The error in journal log:
Aug 21 11:25:54 ip-10-22-1-46.us-west-2.compute.internal systemd[1]: Detected architecture x86-64.
Aug 21 11:25:54 ip-10-22-1-46.us-west-2.compute.internal systemd[1]: Set hostname to <ip-10-22-1-46.us-west-2.compute.internal>.
Aug 21 11:25:54 ip-10-22-1-46.us-west-2.compute.internal systemd[1]: /usr/lib/systemd/system/systemd-resolved.service:33: Unknown lvalue 'ProtectSystems' in section 'Service'
Aug 21 11:25:54 ip-10-22-1-46.us-west-2.compute.internal systemd[1]: systemd-journald.service: Succeeded.
Aug 21 11:25:54 ip-10-22-1-46.us-west-2.compute.internal systemd[1]: initrd-switch-root.service: Succeeded.
Aug 21 11:25:54 ip-10-22-1-46.us-west-2.compute.internal systemd[1]: Stopped Switch Root.
# cat systemd-resolved.service
"""
[Service]
Type=notify
Restart=always
RestartSec=0
ExecStart=!!/usr/lib/systemd/systemd-resolved
WatchdogSec=3min
User=systemd-resolve
CapabilityBoundingSet=CAP_SETPCAP CAP_NET_RAW CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_SETPCAP CAP_NET_RAW CAP_NET_BIND_SERVICE
PrivateTmp=yes
PrivateDevices=yes
ProtectSystems=strict <- typo
ProtectHome=yes
"""
# rpm -qf /usr/lib/systemd/system/systemd-resolved.service
systemd-239-36.el8.x86_64
Version-Release number of selected components (if applicable):
RHEL Version:
RHEL-8.3(4.18.0-221.el8.x86_64)
How reproducible:
100%
Steps to Reproduce:
1. Start a RHEL8.3 instance
2. Enable systemd-resolved.service and reboot system
3. Check journal log.
Actual results:
'ProtectSystems' is not acceptable.
Expected results:
No such error in journal log
Additional info:
- N/A
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: systemd security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2021:1611