On Fri, Oct 23, 2009 at 4:12 PM, Petter Reinholdtsen <p...@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. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org