Public bug reported:
If optional drop-in directories, like /etc/systemd/journald.conf.d or
/etc/systemd/resolved.conf.d, exist but are inaccessible due to
permission issues, systemd fails to issue an error. Configuration issues
become unnecessarily difficult to resolve as a result.
Example:
1) On a test system, create /etc/systemd/resolved.conf.d if it isn't already
present.
2) Set the permissions for /etc/systemd/resolved.conf.d to 644 (no "x"
permissions).
3) Create a file /etc/systemd/resolved.conf.d/10-domains.conf containing:
[Resolve]
Domains=example.com
4) Run "systemctl reload-config" (not necessary, but eliminates some potential
questions)
5) Run "systemctl restart systemd-resolved"
6) Observe the system log and note that no errors are reported.
7) Run "systemd-analyze cat-config /etc/systemd/resolved.conf" and note that
the contents of 10-domains.conf are reported correctly.
8) Run "resolvectl status" and note that the contents of 10-domains.conf are
*not* present. This file has not been loaded, although no errors have been
reported.
9) Change the permissions for /etc/systemd/resolved.conf.d to 755. Repeat steps
4 through 8 and note that step 8 shows that the contents of 10-domains.conf
*are* present.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: systemd 255.4-1ubuntu8.12
ProcVersionSignature: Ubuntu 6.14.0-37.37~24.04.1-generic 6.14.11
Uname: Linux 6.14.0-37-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Fri Dec 26 08:58:15 2025
MachineType: Supermicro Super Server
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.14.0-37-generic
root=UUID=51be2dcf-00d0-4768-8abd-748cebb8fcb8 ro bootdegraded=true vga=0x791
video=1920x1080 usb-storage.quirks=31db:9210:u nomdmonddf nomdmonisw acpi=force
intel_iommu=on iommu=pt
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/08/2023
dmi.bios.release: 5.32
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: 2.1
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: X13SEI-F
dmi.board.vendor: Supermicro
dmi.board.version: 1.01
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 2
dmi.chassis.vendor: Supermicro
dmi.chassis.version: 0123456789
dmi.modalias:
dmi:bvnAmericanMegatrendsInternational,LLC.:bvr2.1:bd12/08/2023:br5.32:svnSupermicro:pnSuperServer:pvr0123456789:rvnSupermicro:rnX13SEI-F:rvr1.01:cvnSupermicro:ct2:cvr0123456789:skuTobefilledbyO.E.M.:
dmi.product.family: Family
dmi.product.name: Super Server
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 0123456789
dmi.sys.vendor: Supermicro
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble systemd
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137143
Title:
Systemd fails to issue error on unreadable drop-in directories
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2137143/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs