Your message dated Thu, 9 Jun 2022 23:35:38 +0200
with message-id <[email protected]>
and subject line Re: No network connection: systemd-resolved fails to start on 
read-only filesystem
has caused the Debian Bug report #1012459,
regarding systemd-logind fails on read-only filesystem
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1012459: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012459
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message --- You can make /usr ro without problems, but /tmp and /var (and /etc most likely as well) need to be writable at the very least.

A fully ro system is simply not supported.

On Tue, 7 Jun 2022 19:37:09 +0200 (CEST) [email protected] wrote:
Package: systemdVersion: 247.3-7Hi. 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-resolved 
attempts to create a namespace but fails due to the filesystem being readonly. It's then 
restarted by systemd until it exceedes the restart limits and it's aborted, seemingly 
leaving the machine without internet accessJun 07 19:12:09 localhost systemd[1]: Starting 
Network Name Resolution...
Jun 07 19:12:09 localhost systemd[1]: Starting Network Name Resolution...
Jun 07 19:12:09 localhost systemd[375]: systemd-resolved.service: Failed to set 
up mount namespacing: /run/systemd/unit-root/dev: Read-only file system
Jun 07 19:12:09 localhost systemd[375]: systemd-resolved.service: Failed at 
step NAMESPACE spawning /lib/systemd/systemd-resolved: Read-only file system
Jun 07 19:12:09 localhost systemd[1]: systemd-resolved.service: Main process 
exited, code=exited, status=226/NAMESPACE
Jun 07 19:12:09 localhost systemd[1]: systemd-resolved.service: Failed with 
result 'exit-code'.
Jun 07 19:12:09 localhost systemd[1]: Failed to start Network Name Resolution.
Jun 07 19:12:09 localhost systemd[1]: systemd-resolved.service: Scheduled 
restart job, restart counter is at 5.
Jun 07 19:12:09 localhost systemd[1]: Stopped Network Name Resolution.
Jun 07 19:12:09 localhost systemd[1]: systemd-resolved.service: Start request 
repeated too quickly.
Jun 07 19:12:09 localhost systemd[1]: systemd-resolved.service: Failed with 
result 'exit-code'.
Jun 07 19:12:09 localhost systemd[1]: Failed to start Network Name Resolution.
root@localhost:~#

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




Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply via email to