[systemd-devel] systemd-update-utmp fails
Kay Sievers
kay.sievers at vrfy.org
Fri May 13 04:42:55 PDT 2011
On Fri, May 13, 2011 at 11:53, Michael Olbrich <m.olbrich at pengutronix.de> wrote:
> systemd-update-utmp fails here like this:
>
> systemd-update-utmp[413]: Failed to write utmp record: No such file or directory
>
> I'm not sure why. /var/run/ is writable but for some reason /var/run/utmp
> is not created. If I touch /var/run/utmp before running systemd-update-utmp
> it works and /var/run/utmp is updated.
> I don't really know how this stuff works. Where is /var/run/utmp supposed
> to be created?
# grep utmp /usr/lib/tmpfiles.d/systemd.conf
F /run/utmp 0664 root utmp -
f /var/log/wtmp 0664 root utmp -
f /var/log/btmp 0600 root utmp -
Kay
More information about the systemd-devel
mailing list