]> git.ipfire.org Git - thirdparty/systemd.git/commit
update-utmp: do not fail on EROFS 16344/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 2 Jul 2020 14:35:52 +0000 (16:35 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 5 Jul 2020 10:44:35 +0000 (12:44 +0200)
commitca1d199b4827c710769c4e0b16fd22a0c48b373b
tree996dfef43e58f9c0a102da6d88f107bc2833f1e4
parentc2a99093777aaa2e639261b66feddd1405f236a3
update-utmp: do not fail on EROFS

Right now systemd-update-utmp.service would fail on read-only /var because
it was not able to write the wtmp record. But it still writes the utmp
record just fine, so runtime information is OK. I don't think we need to
make too much fuss about not being able to save wtmp info.
src/shared/utmp-wtmp.c