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)
OpenPGP_0xB288B55FFF9C22C1.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature