Bug 1685805

Summary: autofs doesn't expand macros in amd map selectors
Product: Red Hat Enterprise Linux 8 Reporter: Ian Kent <ikent>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED ERRATA QA Contact: Kun Wang <kunwan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0CC: xzhou
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1685804 Environment:
Last Closed: 2019-11-05 22:31:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1681956, 1685804    
Bug Blocks:    
Attachments:
Description Flags
Patch - allow period following macro in selector value
none
Patch - fix macro expansion in selector values none

Comment 2 Ian Kent 2019-05-21 09:06:32 UTC
Created attachment 1571561 [details]
Patch - allow period following macro in selector value

Comment 3 Ian Kent 2019-05-21 09:07:14 UTC
Created attachment 1571563 [details]
Patch - fix macro expansion in selector values

Comment 6 Kun Wang 2019-06-17 08:45:15 UTC
Verified based on below test result:

##################################
#     autofs-5.1.4-29.el8        #
##################################
:: [ 04:43:34 ] :: [   FAIL   ] :: Running 'test_mount_lookup "${auto_dir}" "${export_dir}" "use_lofs"' (Expected 0, got 1)

##################################
#     autofs-5.1.4-35.el8        #
##################################
:: [ 04:37:01 ] :: [   PASS   ] :: Running 'test_mount_lookup "${auto_dir}" "${export_dir}" "use_lofs"' (Expected 0, got 0)

Comment 8 errata-xmlrpc 2019-11-05 22:31:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3639