Bug#761909: systemd does not unmount nfs shares before bringing down the network interface
Martin Pitt
mpitt at debian.org
Fri Dec 18 08:16:25 GMT 2015
Control: tag -1 upstream
Martin Pitt [2015-12-18 9:06 +0100]:
> Apparently 228 (or perhaps 227) changed behaviour so that
> ifup at .service always gets stopped, even if they have
> DefaultDependencies=no and thus no Conflicts=shutdown.target.
This applies to any instantiated unit apparenlty. Easily reproducible
in nspawn with
cat <<EOF > /etc/systemd/system/letmelive at .service
[Unit]
Description=@@@@@@@@@@@@@@@@@@@ Let me live %i
DefaultDependencies=no
[Service]
RemainAfterExit=yes
StandardOutput=journal+console
ExecStart=/bin/true
ExecStop=/usr/bin/touch /nooooooo
ExecStop=/bin/echo "!!!!!!!!!!! I GOT KILLED !!!!!!!!!!!!!"
EOF
systemctl daemon-reload
systemctl start letmelive at 1.service
and then reboot -- you will see that letmelive at 1 gets stopped.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20151218/9fbb64ca/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list