chkconfig --del deletes not just the named service, but all services that have the name as a prefix. Eg, if you do 'chkconfig --del nfs' and have nfsfs configured on as well, the --del will delete *both* nfs and nfsfs. No such bug exists in 'chkconfig --add'. This bug can have the obvious deleterious effect. Example: bash# chkconfig --list nfs; chkconfig --list nfsfs nfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off nfsfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off bash# chkconfig --del nfs bash# chkconfig --list nfs; chkconfig --list nfsfs nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off nfsfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off bash# chkconfig --add nfs bash# chkconfig --list nfs; chkconfig --list nfsfs nfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off nfsfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off bash# chkconfig --add nfsfs bash# chkconfig --list nfs; chkconfig --list nfsfs nfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off nfsfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off ------- Email Received From Chris Siebenmann <cks.toronto.edu> 02/15/99 02:26 -------
fixed in chkconfig-1.0.2 (and possibly earlier)
I have built and tested a version of chkconfi 1.0.2 (from Starbuck) on my RedHat 5.1 system (plain, with rpm --rebuild of the .src.rpm), and this problem is *not* fixed. To fix the problem, you need to not glob with '%s*' in findServiceEntries() in leveldb.c, per the patch I emailed in.
doh! fixed in chkconfig-1.0.3-1. Thanks!