Bug 1685804
Summary: | autofs doesn't expand macros in amd map selectors | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ian Kent <ikent> | |
Component: | autofs | Assignee: | Ian Kent <ikent> | |
Status: | CLOSED ERRATA | QA Contact: | Kun Wang <kunwan> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 7.7 | CC: | jreznik, rhandlin, xzhou | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | autofs-5.0.7-106.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1685805 1768752 (view as bug list) | Environment: | ||
Last Closed: | 2019-08-06 13:10:29 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: | ||||
Bug Blocks: | 1685805, 1768752 | |||
Attachments: |
Description
Ian Kent
2019-03-06 07:04:15 UTC
Created attachment 1541672 [details]
Patch - workaround getaddrinfo(3) ai_canonname bug
Created attachment 1541673 [details]
Patch - improve hostname lookup error logging
Created attachment 1541674 [details]
Patch - allow period following macro in selector value
Created attachment 1541675 [details]
Patch - fix macro expansion in selector values
Verified based on below test result: ########################################### # on autofs-5.0.7-105.el7 # ########################################### :: [ 23:14:44 ] :: [ LOG ] :: rlServiceStart: Service autofs started successfully [23:14:44 root@ ~~]# test_mount_lookup "${auto_dir}" "${export_dir}" "use_lofs" found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs for path /test/redhat/ibm-x3550m3-06/local/lfs0 found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/util/a2ps/x86_64-rhel3 for path /test/redhat/x86_64-rhel3/util/a2ps found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/advance/i386-linux for path /test/redhat/x86_64-rhel3/chap/advance found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/advance/i386-linux for path /test/redhat/i386-linux/chap/advance found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/ddm++/i386-linux for path /test/redhat/i386-linux/chap/ddm++ found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/util/a2ps/x86_64-rhel3 for path /test/redhat/util/a2ps found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/advance/i386-linux for path /test/redhat/chap/advance found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs for path /test/redhat/net/hp-dl180g6-01.rhts.eng.bos.redhat.com/autofs found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/util/a2ps/x86_64-rhel3 for path /test/redhat/host/util/a2ps found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/advance/i386-linux for path /test/redhat/host/chap/advance found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/util/a2ps/x86_64-rhel3 for path /test/redhat/hp-dl180g6-01/util/a2ps found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/advance/i386-linux for path /test/redhat/hp-dl180g6-01/chap/advancels: cannot access /test/redhat/exports/hp-dl180g6-01/raven: No such file or directory Failed to mount /test/redhat/exports/hp-dl180g6-01/raven not found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/raven for path /test/redhat/exports/hp-dl180g6-01/raven :: [ 23:16:04 ] :: [ FAIL ] :: Running 'test_mount_lookup "${auto_dir}" "${export_dir}" "use_lofs"' (Expected 0, got 1) ################################################ # on fixed version autofs-5.0.7-106.el7 # ################################################ :: [ 23:05:27 ] :: [ LOG ] :: rlServiceStart: Service autofs started successfully [23:05:27 root@ ~~]# test_mount_lookup "${auto_dir}" "${export_dir}" "use_lofs" found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs for path /test/redhat/ibm-x3550m3-06/local/lfs0 found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/util/a2ps/x86_64-rhel3 for path /test/redhat/x86_64-rhel3/util/a2ps found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/advance/i386-linux for path /test/redhat/x86_64-rhel3/chap/advance found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/advance/i386-linux for path /test/redhat/i386-linux/chap/advance found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/ddm++/i386-linux for path /test/redhat/i386-linux/chap/ddm++ found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/util/a2ps/x86_64-rhel3 for path /test/redhat/util/a2ps found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/advance/i386-linux for path /test/redhat/chap/advance found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs for path /test/redhat/net/hp-dl180g6-01.rhts.eng.bos.redhat.com/autofs found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/util/a2ps/x86_64-rhel3 for path /test/redhat/host/util/a2ps found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/advance/i386-linux for path /test/redhat/host/chap/advance found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/util/a2ps/x86_64-rhel3 for path /test/redhat/hp-dl180g6-01/util/a2ps found: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/autofs/chap/advance/i386-linux for path /test/redhat/hp-dl180g6-01/chap/advancefound: mount hp-dl180g6-01.rhts.eng.bos.redhat.com:/raven for path /test/redhat/exports/hp-dl180g6-01/raven :: [ 23:06:57 ] :: [ PASS ] :: Running 'test_mount_lookup "${auto_dir}" "${export_dir}" "use_lofs"' (Expected 0, got 0) 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:2250 Hi Bob, |