Re: How to change order of services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kevin J. Cummings wrote:

When you turned on wpa_supplicant with chkconfig, it creates symbolic links in the various rc.d directories which begin with either S or K (start or kill) and the numbers (priorities). Just changing the file in /etc/init.d doesn't change these links. You have to use chkconfig to turn them off or delete them, and then add them back again to get the new links. *OR* you could change the file by hand, and then change all of the links names to contain the new numbers by hand. One is easier than the other. You decide which.


This is the content of rc3.d

...
lrwxrwxrwx 1 root root 24 2008-07-10 21:56 S09wpa_supplicant -> ../init.d/wpa_supplicant
lrwxrwxrwx 1 root root 17 2008-07-10 21:56 S10network -> ../init.d/network
...

which is correct. Exactly what I want.
I think this has been generated by "ntsysv" when I deselected and reselected wpa_supplicant.
But the next time I do "yum update" for some reason wpa_supplicant will go back to its original position.

It's like there are 2 ways of configuring those services and they might not be synchronized.

I've noticed that in each file, after the info for chkconfig there is a "new" section:

for "network":

### BEGIN INIT INFO
# Provides: $network
# Should-Start: iptables ip6tables
### END INIT INFO

for "wpa_supplicant":

### BEGIN INIT INFO
# Provides: wpa_supplicant
# Required-Start: $local_fs messagebus
# Required-Stop: $local_fs messagebus
# Default-Start:
# Default-Stop: 0 1 6
# Short-Description: start and stop wpa_supplicant
# Description: wpa_supplicant is a tool for connecting to wireless networks
### END INIT INFO

I will try to add wpa_supplicant to "Required-Start" of the network.

Andrea

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux