Bug 9925 - autofs init.d script now broken for NIS auto.master
Summary: autofs init.d script now broken for NIS auto.master
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: autofs
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
: 9983 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-03-02 22:01 UTC by Gilbert E. Detillieux
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-03-02 22:43:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Gilbert E. Detillieux 2000-03-02 22:01:08 UTC
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
 }

 #

Comment 1 Nalin Dahyabhai 2000-03-02 22:43:59 UTC
This should already be fixed in Raw Hide, where autofs starts at step 18,
which puts it after 17 (ypbind).

Comment 2 Nalin Dahyabhai 2000-03-06 13:05:59 UTC
*** Bug 9984 has been marked as a duplicate of this bug. ***

Comment 3 Nalin Dahyabhai 2000-03-06 13:06:59 UTC
*** Bug 9983 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.