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

Teodor mteodor at gmail.com
Fri Oct 23 17:08:57 UTC 2009


On Fri, Oct 23, 2009 at 4:12 PM, Petter Reinholdtsen <pere at hungry.com> wrote:
> [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.

This sounds like a good workaround for the bug in 'network-manager'.
I'll test it and
send you a message to see if this fixes the problem.

On the same principle it might be better to move the /etc/init.d/umountnfs(.sh)
script to /etc/network/if-down.d/ and take those parts unrelated to
the network file
systems and create new script like 'umountvfs' for virtual filesystems
(or integrate
it in another existing one if possible).

Thanks

PS: this problem in NM applies to Lenny too.





More information about the Pkg-sysvinit-devel mailing list