[systemd-devel] systemd-update-utmp fails

Michael Olbrich m.olbrich at pengutronix.de
Fri May 13 02:53:18 PDT 2011


Hi,

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?

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the systemd-devel mailing list