Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-16-2008, 05:23 PM   #1
Registered: Mar 2004
Location: KY, USA
Distribution: Fedora Core 1
Posts: 190

Rep: Reputation: 30
Fedora 9 shuts down network before CIFS unmount


I have a NAS and I mount it using Samba/CIFS. During shutdown, the PC kept hanging at the "unmount CIFS part". Initially I thought it was a problem with the NAS. Then noticed that NetworkManager was shutting down the network before the CIFS unmount has a chance to run. If I disable NetworkManager and use the older "network" service, then there is no problem during shutdown.

I want to use NetworkManager though (I really need it).

Any idea how I could reorder the shutdown sequence of the services in a way that won't get screwed up every time I update the packages? Please help me.

Old 06-17-2008, 06:01 PM   #2
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Why don't you add a kill script in /etc/rc5.d/ and number it so it runs before the network manager kill script?
Look at any of the other kill scripts for an example of how to write your own. The kill scripts are the ones with a "K" as the first letter.
The ones with a "S" are startup scripts. Or you could, which I wouldn't recommend, edit the current network manager kill script and place the unmount right before it runs the stop command on network manager


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cifs fedora 6 baldur_the_god Linux - Server 7 08-29-2007 01:07 PM
Fedora 7 and using cifs in fstab? powellbob424 Linux - General 11 06-16-2007 08:20 PM
Kerberos and CIFS network share MALDATA Linux - Server 4 04-10-2007 04:43 PM
linux shuts down built in network card then windows tells me network card is unplugge lesmoxhaybaker SUSE / openSUSE 8 08-29-2006 05:10 PM
Network shuts down after closing a network usage program Hockeyfan Linux - Networking 2 11-02-2005 04:02 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration