Comment 6 for bug 1998943

Revision history for this message
Nick Rosbrook (enr0n) wrote :

Yeah, his comment is relevant. The reason I hit this bug is that systemd-tmpfiles-setup.service failed to start, and that service is responsible for creating /var/run/utmp on Ubuntu(hence utmpx functions cannot store/fetch runlevel). The systemd-tmpfiles-setup.service failure is LXD-specific, and Lukas' comment suggests a workaround that could make systemd-tmpfiles-setup.service run OK (apparently without removing the LoadCredential= entries).