Bug 68150 - Autofs Init Script Improperly Identifies Maps
Summary: Autofs Init Script Improperly Identifies Maps
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: bash
Version: limbo
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks: 67217
TreeView+ depends on / blocked
 
Reported: 2002-07-07 00:26 UTC by Ian Prowell
Modified: 2007-04-18 16:43 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-07-24 02:35:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Ian Prowell 2002-07-07 00:26:53 UTC
Description of Problem:
Autofs file maps are being identified as maptype=program instead of
maptile=file.  This prevents autofs from being able to lookup mount points. 
This seems like an underlying problem in the command line interpreter because
the test in /etc/rc.d/init.d/autofs to determine the maptype looks correct, but
the result is not as expected.  eg.

[root@limbo root]# ls -l /etc/auto.master
-rw-r--r--    1 root     root           77 07-06 17:21 /etc/auto.master
[root@limbo root]# if [ -x /etc/auto.master ] ; then echo file_is_executable ; fi
file_is_executable

Version-Release number of selected component (if applicable):
3.1.7-32

How Reproducible:
Always

Steps to Reproduce:
1. Install Limbo
2. Try to setup a file based autofs map
3. 

Actual Results:
Not able to mount filesystems specified in autofs map

Expected Results:
Able to mount filesystenms specified in autofs map.

Additional Information:

Comment 1 Ian Prowell 2002-07-07 02:14:58 UTC
I am moving this bug to bash as downgrading to the version of bash in RedHat 7.2
(2.05-8) fixed the problem.  This is odd as my RedHat 7.3 machine does not have
the same problem, but using the version of bash from 7.3 exhibits the same
problamatic behavior.

Comment 2 Ian Prowell 2002-07-24 02:35:26 UTC
After a fair bit of pain I was able to apply the updates from the beta channel
on the RHN and this problem seems to be fixed.

Comment 3 Nalin Dahyabhai 2002-07-25 20:35:04 UTC
Great!  Marking as fixed in Raw Hide.


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