Bug 435036

Summary: autofs fails if nsswitch.conf doesn't have automount entry
Product: Red Hat Enterprise Linux 4 Reporter: Jeff Moyer <jmoyer>
Component: autofsAssignee: Jeff Moyer <jmoyer>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: low    
Version: 4.6CC: ikent, jmoyer
Target Milestone: rcKeywords: TestBlocker
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-27 18:03:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Assume configuration lives in files if no nsswitch.conf line for automount none

Description Jeff Moyer 2008-02-26 22:50:08 UTC
+++ This bug was initially created as a clone of Bug #332291 +++

Description of problem:

If /etc/nsswitch.conf doesn't have an entry for automount
autofs fails to start.

Version-Release number of selected component (if applicable):
autofs-4.1.3-231

How reproducible:
Always.

Steps to Reproduce:
Remove the line starting with "automount:" from
/etc/nsswitch.conf and try and start autofs.
  
Actual results:
autofs fails to start.

Expected results:
autofs should use files as the source of maps if there is
no entry in the nsswitch configuration.

-- Additional comment from ikent on 2007-11-13 01:56 EST --
An RHTS test case for this bug has been added under autofs-tests/bugzillas,
subtest bz332291.

Comment 1 Jeff Moyer 2008-02-26 22:50:08 UTC
Created attachment 296001 [details]
Assume configuration lives in files if no nsswitch.conf line for automount

Comment 2 RHEL Program Management 2008-02-26 23:08:28 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Jeff Moyer 2008-02-27 18:03:44 UTC
Clearly I am sufferring from lack of sleep -- or something!

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