LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


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

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


Hi,

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.

Thanks,
Sarav
 
Old 06-17-2008, 06:01 PM   #2
shafty023
Member
 
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:19 PM.

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