Red Hat Bugzilla – Bug 1166457
Autofs unable to mount indirect after attempt to mount wildcard
Last modified: 2015-11-19 08:00:45 EST
Created attachment 1029319 [details] Patch - make negative cache update consistent for all lookup modules
Created attachment 1029320 [details] Patch - ensure negative cache isn't updated on remount
Created attachment 1029321 [details] Patch - dont add wildcard to negative cache
run /CoreOS/autofs/Regression/bz1163957-unable-mount-indirect-after-ls-with-wildcard for autofs-5.0.7-53.el7, seems good. the previous version output: :: [ FAIL ] :: Command 'ls -ld /automount/dir{1,2}' (Expected 0, got 2) the autofs-5.0.7-53.el7 output: [03:26:56 root@ ~~]# ls -ld /automount/* ls: cannot access /automount/*: No such file or directory :: [ PASS ] :: Running 'ls -ld /automount/*' (Expected 2, got 2) -------------------------------------------------------------------------------- [03:26:56 root@ ~~]# ls -ld /automount/dir{1,2} drwxr-xr-x. 2 root root 6 Aug 27 03:26 /automount/dir1 drwxr-xr-x. 2 root root 6 Aug 27 03:26 /automount/dir2 :: [ PASS ] :: Running 'ls -ld /automount/dir{1,2}' (Expected 0, got 0) also run stress, bugzillas, regressions, connectathon for autofs-5.0.7-53.el7, covered ppc64, x86_64, s390x, ppc64le no new issues. I think I can set the status of this bug to be verified.
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://rhn.redhat.com/errata/RHSA-2015-2417.html