For some reason, the start/stop sequence numbers in the chkconfig comment for the autofs init.d script changed from RH 6.1 to 6.2. Unfortunately, the new sequence (15) causes it to start before ypbind (17). This is bad if you want to read the NIS auto.master map. Also (and I don't know if this second problem is a bug or a feature), the old script used to run through /etc/auto.master followed by the NIS auto.master map, with two separate "if" clauses. Now, a single if/else construct causes it to skip the NIS map if /etc/auto.master is found. This may be closer to the Solaris automount behaviour, but the old way was better, IMHO, especially since the stock /etc/auto.master is not particularly useful as is. (But I can live with this if it's an intentional feature - I'll just have to take out /etc/auto.master to get the NIS map instead.) --- /etc/rc.d/init.d/autofs.RH62 Wed Feb 2 09:16:13 2000 +++ autofs Thu Mar 2 14:29:58 2000 @@ -12,7 +12,7 @@ # For Redhat-ish systems # -# chkconfig: 345 15 85 +# chkconfig: 345 72 08 # description: Automounts filesystems on demand # This is used in the Debian distribution to determine the proper @@ -93,7 +93,7 @@ fi done ) -else +fi # # Next check for YellowPage maps to be loaded @@ -119,7 +119,6 @@ done ) fi -fi } #
This should already be fixed in Raw Hide, where autofs starts at step 18, which puts it after 17 (ypbind).
*** Bug 9984 has been marked as a duplicate of this bug. ***
*** Bug 9983 has been marked as a duplicate of this bug. ***