Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-18-2008, 05:53 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
Lightbulb Fedora9 chkconfig priority level woes

Hello all,
I recently had a hard time resetting my wpa_supplicant start priority. The problem is that by default, it has a start priority of 23 while networking has a start priority of 10. That makes no sense to me, but that is the default. I do not use NetworkManager and want my NFS mounts to be ready at boot up.

So by default, wpa_supplicant was starting before network and would hang forever trying to pull an ip with no luck. I could manually change the symlink from
but this would eventually revert back to its original setting. Now, google'ing around I found that you could change the wpa_supplicant script on the 2nd or 3rd line to whatever you'd like. So I changed it to match:
#chkconfig: 2345 09 84
Which means that it would start in run-levels 2, 3, 4, and 5 at priority 09 and kill at priority level 84. I did this and still no dice. Then I ran the command:
chkconfig wpa_supplicant resetpriorities
chkconfig --level 2345 wpa_supplicant resetpriorities
No dice. The symlinks would just continue to sit there staring at me with no change. I even tried setting up the override file with
just like the man page sugggests. No dice. I was losing my mind. So, just for the sake of my sanity, I decided to run:
After the gui popped up and showed me what I already knew, that it was set to start at run-levels 2345. I closed it without changing anything.
Voila! It changed my symlinks! I don't know why or how it did it after running that, but it finally did it.

So to save anyone else out there a future headache, I post my experience hoping it helps someone else in the future.

My question is this though, will this survive an update to wpa_supplicant? Will a newer version of wpa_supplicant replace my default run-level priority? My guess is it will, but I will have to wait and see. Hope this helps someone.
Old 06-08-2009, 09:36 PM   #2
tartan sandal
LQ Newbie
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
I had a similar problem trying to change shorewall's priorities using chkconfig.d/
and have finally figured it out:-)

You probably need to remove some services from 'Required-Start' in the INIT INFO section as well. These seem to override whatever chkconfig is doing. To get wpa_supplicant to start before network you probably need to remove 'messagebus' which starts at 22 and is forcing wpa_supplicant to start at 23.

Hope this helps!

Last edited by tartan sandal; 06-08-2009 at 09:45 PM. Reason: typo


chkconfig, network, runlevel, wpasupplicant

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
Why do I get "bash: chkconfig: command not found" when I try to run chkconfig? non-thrash Fedora 10 05-20-2010 12:31 PM
Nice level set but process gets wrong priority akring Linux - Kernel 3 11-03-2008 09:20 AM
Nice level set but process gets wrong priority akring Linux - General 7 10-29-2008 04:25 AM
process priority,nice -- small question regarding high/low priority values beeblequix Linux - Newbie 1 10-11-2006 10:22 AM
emacs in run level 3 then switch to X (level 7) then back to level 3 dsoliver Slackware 3 09-01-2006 03:31 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:32 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration