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