[wplug] runlevel question

Vanco, Donald VANCOD at PIOS.com
Tue Jan 7 14:58:07 EST 2003


Doug Green wrote:
> Hi all-
> I am using RH8.0, and there is a very nice tool to edit what services
> are associated with a given runlevel. My question is simple: if I set
> a service for runlevel 3 does that mean it is present in runlevel 5 as
> well, or is it shutdown when the system enters a different runlevel?
> It makes sense that runlevel 5 processes will shut down in the
> transition to runlevel 3, but I don't know about the reverse. Thanks
> in advance! Doug 
	It's best to look into the actual run level directories and see what
files are marked beginning with S (Start when entering this run level) and K
(Kill when leaving this run level).  I have no idea what the logic might be
for a given service in a GUI tool, but I can say with relative certainty
that it has no contingency for "leaving runlevel x then going to runlevel y"
- it merely sets things up to start on init enter or kill on init exit.

Don


Ferinstance:
[root at DL320 rc.d]# tree rc3.d/ rc5.d/
rc3.d/
|-- K03rhnsd -> ../init.d/rhnsd
|-- K05saslauthd -> ../init.d/saslauthd
|-- K12mysqld -> ../init.d/mysqld
|-- K15httpd -> ../init.d/httpd
|-- K15postgresql -> ../init.d/postgresql
|-- K20nfs -> ../init.d/nfs
|-- K24irda -> ../init.d/irda
|-- K25squid -> ../init.d/squid
|-- K35smb -> ../init.d/smb
|-- K35vncserver -> ../init.d/vncserver
|-- K35winbind -> ../init.d/winbind
|-- K45named -> ../init.d/named
|-- K50snmpd -> ../init.d/snmpd
|-- K50snmptrapd -> ../init.d/snmptrapd
|-- K50tux -> ../init.d/tux
|-- K95firstboot -> ../init.d/firstboot
|-- S05kudzu -> ../init.d/kudzu
|-- S08iptables -> ../init.d/iptables
|-- S09isdn -> ../init.d/isdn
|-- S10network -> ../init.d/network
|-- S12syslog -> ../init.d/syslog
|-- S13portmap -> ../init.d/portmap
|-- S14nfslock -> ../init.d/nfslock
|-- S17keytable -> ../init.d/keytable
|-- S20random -> ../init.d/random
|-- S24pcmcia -> ../init.d/pcmcia
|-- S25netfs -> ../init.d/netfs
|-- S26apmd -> ../init.d/apmd
|-- S28autofs -> ../init.d/autofs
|-- S55sshd -> ../init.d/sshd
|-- S56rawdevices -> ../init.d/rawdevices
|-- S56xinetd -> ../init.d/xinetd
|-- S58ntpd -> ../init.d/ntpd
|-- S60lpd -> ../init.d/lpd
|-- S80sendmail -> ../init.d/sendmail
|-- S85gpm -> ../init.d/gpm
|-- S90crond -> ../init.d/crond
|-- S90xfs -> ../init.d/xfs
|-- S95anacron -> ../init.d/anacron
|-- S95atd -> ../init.d/atd
`-- S99local -> ../rc.local
rc5.d/
|-- K03rhnsd -> ../init.d/rhnsd
|-- K05saslauthd -> ../init.d/saslauthd
|-- K12mysqld -> ../init.d/mysqld
|-- K15httpd -> ../init.d/httpd
|-- K15postgresql -> ../init.d/postgresql
|-- K20nfs -> ../init.d/nfs
|-- K24irda -> ../init.d/irda
|-- K25squid -> ../init.d/squid
|-- K35smb -> ../init.d/smb
|-- K35vncserver -> ../init.d/vncserver
|-- K35winbind -> ../init.d/winbind
|-- K45named -> ../init.d/named
|-- K50snmpd -> ../init.d/snmpd
|-- K50snmptrapd -> ../init.d/snmptrapd
|-- K50tux -> ../init.d/tux
|-- K95firstboot -> ../init.d/firstboot
|-- S05kudzu -> ../init.d/kudzu
|-- S08iptables -> ../init.d/iptables
|-- S09isdn -> ../init.d/isdn
|-- S10network -> ../init.d/network
|-- S12syslog -> ../init.d/syslog
|-- S13portmap -> ../init.d/portmap
|-- S14nfslock -> ../init.d/nfslock
|-- S17keytable -> ../init.d/keytable
|-- S20random -> ../init.d/random
|-- S24pcmcia -> ../init.d/pcmcia
|-- S25netfs -> ../init.d/netfs
|-- S26apmd -> ../init.d/apmd
|-- S28autofs -> ../init.d/autofs
|-- S55sshd -> ../init.d/sshd
|-- S56rawdevices -> ../init.d/rawdevices
|-- S56xinetd -> ../init.d/xinetd
|-- S58ntpd -> ../init.d/ntpd
|-- S60lpd -> ../init.d/lpd
|-- S80sendmail -> ../init.d/sendmail
|-- S85gpm -> ../init.d/gpm
|-- S90crond -> ../init.d/crond
|-- S90xfs -> ../init.d/xfs
|-- S95anacron -> ../init.d/anacron
|-- S95atd -> ../init.d/atd
`-- S99local -> ../rc.local

0 directories, 82 files



More information about the wplug mailing list