Bug 9984 - separate autofs executable and config files
Summary: separate autofs executable and config files
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:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-03-05 18:48 UTC by sean
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-04-05 20:06:13 UTC
Embargoed:


Attachments (Terms of Use)

Description sean 2000-03-05 18:48:11 UTC
autofs will not automatically check NIS for an auto.master map if there is
an auto.master file that already exists in /etc.

So, when I deploy a RH workstation that autofs mounts it's homedirectories
off of an NFS server it comes up in a basic way ready to log in (with NIS
already working, etc) except that autofs isn't seeing the NIS maps because
there is a sample auto.master file that gets installed.

it would be wonderful if that file could be renamed to auto.master.example
or put in a separate RPM that didn't have to be installed.  Then autofs
would "just work" on the first boot of the workstation.

(or, I guess another option would be to modify autofs such that it always
checks for an NIS-supplied auto.master map regardless of the existance of
an auto.master file)

Comment 1 Nalin Dahyabhai 2000-03-06 13:05:59 UTC
This is fixed in Raw Hide, where autofs(18) starts after ypbind(17).

*** This bug has been marked as a duplicate of 9925 ***

Comment 2 Nalin Dahyabhai 2000-03-06 13:06:59 UTC
Whoops, 9985 is the duplicate.

Comment 3 Nalin Dahyabhai 2000-03-06 14:07:59 UTC
We generally don't split configuration files from the packages they go with,
because the defaults are correct for most cases.  The behavior you're seeing
is the result of a fix for an earlier bug report, where conflicting entries in
the file and NIS caused problems.  If you're deploying workstations using
kickstart, you can add:
rm -f /etc/auto.master
to your %post section, and that will solve your problem.

Comment 4 Nalin Dahyabhai 2000-04-05 20:06:59 UTC
I've just put autofs-3.1.4-6 into Raw Hide
(ftp://ftp.redhat.com/pub/rawhide/i386/RedHat/RPMS/), which
backs out the change that ignores NIS auto.master in favor
of merging the two.  Please let me know if switching to this
version solves the problem.

Comment 5 Nalin Dahyabhai 2000-06-10 21:25:16 UTC
I haven't heard anything in about six weeks, so I'm closing this bug out.


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