From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-ac10 i686) Description of problem: The chkconfig line in a lot of the service files are of the form: chkconfig: - NN MM This causes chkconfig to not work correctly. The syntax that seems to work requires that the syntax be: chkconfig: 2345 NN MM Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. chkconfig --add service 2. 3. Actual Results: No start script is created. Additional info: The files with the bad syntax are: [root@saturn init.d]# grep 'chkconfig: -' * httpd:# chkconfig: - 85 15 ldap:# chkconfig: - 39 61 mysqld:# chkconfig: - 78 12 nfs:# chkconfig: - 60 20 nscd:# chkconfig: - 30 74 ntpd:# chkconfig: - 26 74 radvd:# chkconfig: - 54 46 rhnsd:# chkconfig: - 97 03 rwhod:# chkconfig: - 60 20 snmpd:# chkconfig: - 50 50 ypbind:# chkconfig: - 27 73 [root@saturn init.d]# These correspond to: [root@saturn init.d]# grep 'chkconfig: -' * | awk -F: '{print $1}' | xargs rpm -qf apache-1.3.22-2 openldap-servers-2.0.21-1 mysql-server-3.23.41-1 nfs-utils-0.3.1-13.7.2.1 nscd-2.2.4-13 ntp-4.1.0-4 radvd-0.6.2pl4-1 up2date-2.7.2-7.x.6 rwho-0.17-11 ucd-snmp-4.2.1-7 ypbind-1.8-1
Um, no. '-' means don't start by default. It's a perfectly sane option. To turn the script on, do 'chkconfig --level <levels> <service> on', where <levels> is the levels you want it on in, for example '345' for runlevels 3, 4, and 5.