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

Michael Biebl biebl at debian.org
Fri Dec 18 13:55:17 GMT 2015


Am 18.12.2015 um 11:12 schrieb Martin Pitt:
> If this was really deliberate and we can't prevent instantiated units
> from getting stopped during shutdown, then I propose as a fallback we
> just drop the ExecStop=ifdown (or replace it with some "echo not
> supported blabla, please use ifdown directly"). Michael, any
> objections to that? This is just an internal helper unit for the udev
> rule, after all.

The stop action is there, so the device is properly stopped on unplug.
And if we don't stop the unit, it wouldn't work if we re-plugin the
hardware. So I don't think we can easily drop the stop action.

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.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?




More information about the Pkg-systemd-maintainers mailing list