Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1012459: systemd-logind fails on read-only filesystem

333 views
Skip to first unread message

dmora...@tuta.io

unread,
Jun 7, 2022, 2:00:03 PM6/7/22
to
Package: systemdVersion: 247.3-7Hi again. I'm currently trying to put together an image to serve via PXE with mkosi.The tool creates a debian minbase variant with the sole addition of the kernel package, then "zips" the entire filesystem into a squashfs image.The image is then run on QEMU, the filesystem mounted as read-onlysystemd-logind fails to set a "special execution directory" until it exceeds the available restart attempts

Jun 07 19:12:22 localhost systemd[1]: Starting User Login Management...Jun 07 19:12:22 localhost systemd[401]: systemd-logind.service: Failed to set up special execution directory in /var/lib: Read-only file systemJun 07 19:12:22 localhost systemd[401]: systemd-logind.service: Failed at step STATE_DIRECTORY spawning /lib/systemd/systemd-logind: Read-only file systemJun 07 19:12:22 localhost systemd[1]: systemd-logind.service: Main process exited, code=exited, status=238/STATE_DIRECTORYJun 07 19:12:22 localhost systemd[1]: systemd-logind.service: Failed with result 'exit-code'.Jun 07 19:12:22 localhost systemd[1]: Failed to start User Login Management.Jun 07 19:12:22 localhost systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 5.Jun 07 19:12:22 localhost systemd[1]: Stopped User Login Management.Jun 07 19:12:22 localhost systemd[1]: systemd-logind.service: Start request repeated too quickly.Jun 07 19:12:22 localhost systemd[1]: systemd-logind.service: Failed with result 'exit-code'.Jun 07 19:12:22 localhost systemd[1]: Failed to start User Login Management.

Debian GNU/Linux 11 Linux 5.10.0-13-amd64 Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux
0 new messages