[Pkg-sysvinit-devel] Bug#552104: Bug#552104: initscripts: sendsigs is executed before remote file systems (cifs) are disconnected

Petter Reinholdtsen pere at hungry.com
Fri Oct 23 13:12:12 UTC 2009


[Teodor]
> I'm not sure if this is a bug in initscript, insserv or
> network-manager. Please reassign to the appropriate package if you
> consider it's not a problem in 'initscripts'.  I'm openned to
> perform any tests to make this work.

I believe this is a bug in network-manager, taking down the network
interfaces too early during boot.  There are several BTS reports
related to this issue, but I did not have time to track them down and
merge this with them.

I recently got an idea how to work around this issue, by umounting
networked file system before the network interfaces are taken down.
Try adding a script with this code as /etc/network/if-down.d/umountnfs:

  #!/bin/sh
  umount -t cifs -a

It might make sure cifs file systems are umounted just before
network-manager take down the network interfaces.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list