Bug 243645

Summary: autofs doesn't permit "." in macro or macro value
Product: Red Hat Enterprise Linux 5 Reporter: Ian Kent <ikent>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: ikent, jmoyer
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0621 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 17:56:15 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
Patch to premit "." in macro define and value none

Description Ian Kent 2007-06-11 08:18:31 UTC
Description of problem:
autofs does not allow macro defines in the master map don't
allow the macro name or it's value to contain a ".".

How reproducible:
Always.

Steps to Reproduce:
1 . Add the following to the master map:
/test   /etc/auto.define -DDIR.DOT=test.dot

2. Add the following to /etc/auto.define:
def     :/usr/local/tmp/${DIR.DOT}

3. Create the directory /usr/local/tmp/test.dot

4. Attempt to automount /test/def with:
ls /test/def

Actual results:
the ls returns:
ls: /test/def: No such file or directory

Expected results:
ls returns after successful mount.

Comment 1 Ian Kent 2007-06-11 08:18:31 UTC
Created attachment 156683 [details]
Patch to premit "." in macro define and value

Comment 2 Ian Kent 2007-06-11 08:20:06 UTC
This is a regression wrt version 4 behaviour.

Comment 3 RHEL Program Management 2007-06-11 08:24:03 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 RHEL Program Management 2007-06-11 08:26:39 UTC
This bugzilla has Keywords: Regression.  

Since no regressions are allowed between releases, 
it is also being proposed as a blocker for this release.  

Please resolve ASAP.

Comment 5 Ian Kent 2007-06-22 09:11:54 UTC
A correction for this issue is present in revision
autofs-5.0.1-0.rc2.50.

Comment 10 errata-xmlrpc 2007-11-07 17:56:15 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0621.html