On 14 January 2016 at 10:21, Frank Heckenbach <f.heckenb...@fh-soft.de> wrote: > > 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
What if instead of this service, you add an: After=swap.target To your tmp.mount ? That should be less hackish. -- Saludos, Felipe Sateler