Raphael Champeimont (Almacha) wrote:

My (dirty and inappropriate for that bug) fix was to add a initscript
that is called first when the machine is rebooted/shut down, and that
umounts all network shares.


I don't think, that this fix is such a bad approach. Actually, the current way network shares are handled in Debian is a complete mess imho. The big problem is, that Debian wants to support /usr via NFS (which I doubt is such a common use case anymore these days). This makes everything very complicated, especially if you consider that NM is installed in /usr. If you look at /etc/rc[06].d/, you see that S31unmountfs.sh (which umounts network shares, but also /proc, devfs,... WTF? ) is run after S20sendsigs (which sends all processes the TERM signal. If we could drop the assumption, that /usr lives on NFS, we could move the network umount script to, let say, K86remotefs, and stop NetworkManager afterwards, e.g at K88network-manager.

This would make everything much simpler.

So, if in your case /usr is not on NFS/CIFS, I'd say your fix is perfectly valid.

Cheers,
Michael

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to