Bug#761909: systemd does not unmount nfs shares before bringing down the network interface

Martin Pitt mpitt at debian.org
Tue Jan 12 20:34:44 GMT 2016


Control: reassign -1 ifupdown 0.8.5
Control: tag -1 patch

Martin Pitt [2016-01-03 16:02 +0100]:
> Michael Biebl [2015-12-18 14:55 +0100]: > Am 18.12.2015 um 11:12 schrieb Martin Pitt:
> > I agree that this sounds like an upstream bug. If there is not explicit
> > Conflicts=shutdown.target, I don't see why the instance should be
> > stopped. That would be very inconsistent and unexpected behaviour.
> 
> For the record, I sent an upstream fix for this last week:
> 
>   https://github.com/systemd/systemd/pull/2235

Upstream replied there. This PR was not accepted, and I sympathize
with the reasoning. Instead, Lennart proposed a different solution for
this special case, by just avoiding to run ifup at .service in its own
slice; we don't actually need that, so running it in in the standard
system.slice fixes both this bug and saves a few cycles by not
creating the sub-slice.

Reassigning to ifupdown, as ifup at .service moved there in the meantime.

git am patch attached. Guus, do you want to review those before
committing, or do you want Michael and me to commit updates to the
systemd units directly? (I don't actually think it'll happen that
often, though.)

Thanks,

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: 0001-ifup-.service-Avoid-stopping-on-shutdown-via-stoppin.patch
Type: text/x-diff
Size: 1715 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160112/b7446526/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160112/b7446526/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list