LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Wireless network disconnects before unmounting network shares-shutdown problem (http://www.linuxquestions.org/questions/linux-networking-3/wireless-network-disconnects-before-unmounting-network-shares-shutdown-problem-879173/)

grahamw 05-06-2011 07:40 AM

Wireless network disconnects before unmounting network shares-shutdown problem
 
I'm using Linux Mint 10.
It seems that gnome stops the wireless network when it exits but before the shutdown scripts in /rtc/rc0.d run. This sometimes causes problems with unmounting network shares (in particular cifs shares) and can cause shutdown to fail with constant CIFS VFS errors.
Is this a known bug?
Are there any workarounds?

michaelk 05-09-2011 04:45 AM

My assumptions is that since there is no specific cifs unmount script the shares are not being unmounted until unmountfs is run which is after networking has stopped. It would be easy to add your own shutdown script.

grahamw 05-10-2011 03:05 AM

Hi,
Thanks for the reply.
The problem is that the wireless network is disconnected when gnome exits which seems to be before the shutdown scripts in /etc/rc6.d or /etc/rc0.d so by the time unmountnfs runs there is no network. Making it run earlier or adding a separate cifs unmount script in rc6.d doesn't help because all these seem to run after gnome has disconnected the wireless network.


All times are GMT -5. The time now is 12:41 PM.