[systemd-devel] systemd-logind fails to start if /etc is read-only

Demi Marie Obenour demiobenour at gmail.com
Sun Aug 17 02:47:54 UTC 2025


On a system where /etc is read-only, systemd-logind fails to start.
I have tried making / a writable overlayfs without any success so
far.  The code is at https://github.com/DemiMarie/spectrum (branch
b4/systemd) and the problem can be reproduced by running
nix-shell --pure --run 'make run' in host/rootfs.  Obviously, do
this in a VM to not affect your host system :).

In case it matters, /var is a tmpfs mount on this system.  The
intent is for there to be no mutable state outside of home directories.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xB288B55FFF9C22C1.asc
Type: application/pgp-keys
Size: 7140 bytes
Desc: OpenPGP public key
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250816/36bb24f5/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250816/36bb24f5/attachment-0001.sig>


More information about the systemd-devel mailing list