[Pkg-utopia-maintainers] Bug#419049: CIFS and use cases

Michael Biebl biebl at debian.org
Sat Jun 14 13:49:36 UTC 2008


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080614/8430fa8d/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list