diff options
Diffstat (limited to 'modules/base/kspost.10.core.inc')
-rw-r--r-- | modules/base/kspost.10.core.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc index 712c50f..33d267f 100644 --- a/modules/base/kspost.10.core.inc +++ b/modules/base/kspost.10.core.inc @@ -251,3 +251,8 @@ cat >> /lib/systemd/system-shutdown/olpc_shutdown.sh <<EOF /usr/bin/mount -o remount,ro / EOF chmod a+x /lib/systemd/system-shutdown/olpc_shutdown.sh + +# wtmp updating is racy on shutdown (#11952) +# Disable it, it's not interesting for us +rm -f /var/log/wtmp +ln -s /dev/null /etc/systemd/system/systemd-update-utmp-shutdown.service |