Bug#788303: systemd: Hangs indefinitely on >90% of reboot attempts
Frank Heckenbach
f.heckenbach at fh-soft.de
Thu Jan 14 13:21:14 GMT 2016
As a work around, I've put the following in
/etc/systemd/system/workaround-788303.service and activated it with
systemctl enable workaround-788303
This seems to work for me for now. Of course, I'd prefer a real
bugfix. (And so should the systemd author, seeing how much he hates
using the shell ... ;)
[Unit]
Description=Work-around for Debian bug #788303
After=local-fs.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/true
ExecStop=/bin/sh -c 'while mount | grep -q "on /tmp "; do umount /tmp; sleep 1; done; while ! swapoff -a; do sleep 1; done'
[Install]
WantedBy=multi-user.target
More information about the Pkg-systemd-maintainers
mailing list