Bug 304111
Summary: | Autofs fails to match wildcard | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jeff Moyer <jmoyer> | ||||||
Component: | autofs | Assignee: | Ian Kent <ikent> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 5.0 | CC: | allen.jordan, dzickus, hongjiu.lu, ikent, jburke, jlaska, jmoyer, staubach | ||||||
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:19 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 354621 | ||||||||
Attachments: |
|
Description
Jeff Moyer
2007-09-24 21:29:52 UTC
Created attachment 204591 [details]
debug log of service autofs start; ls /home/boston/jburke; service autofs stop
Yep, seen that. Have duplicated it. Has already been fixed. Seems I missed it for 5.1, oops. Will fix in 5.2. Ian Created attachment 204811 [details]
Correct mistake in logic test in wildcard lookup.
Thanks for alerting me to this.
It's getting harder to correlate between what has and
hasn't been fixed as the number of corrections increases
between versions.
Could you verify that this patch also works for you
please.
Ian
Ian, This is big regression from 5.0 GA. In my opinion this can not go out the door like this. The user experience is very bad. Here was my scenario: I was running fine on RHEL5.0, I used yum to ugrade to 5.1 Snapshot#8, rebooted then I could no longer login via X. I would get a message box telling me that my home dir could not be mounted, would I like to use / as my home dir. Thanks, Jeff 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. The failure scenario seems fairly common (at least in our internal RH setup). I think it would be worth discussing taking this fix for 5.1. Some things to help that decision: - What use cases fail given the current state of code? - Is this the final patch? Is it a temporary fix? - Has the patch been tested? - Will this change impact any related changes noted in the 5.1 autofs errata (http://errata.devel.redhat.com/errata/show/5789)? (In reply to comment #6) > The failure scenario seems fairly common (at least in our internal RH setup). I > think it would be worth discussing taking this fix for 5.1. Agreed, I'm at a loss as to why I don't have a bug for this. It was fixed Jun 3 which was within the development window. It was introduced by me in the patch for bug 238533. This is one of my 5.1 approved bugs and so should be covered as a correction to that bug. > > Some things to help that decision: > > - What use cases fail given the current state of code? The error will cause autofs to incorrectly request a map update and return a lookup failure when the lookup returns a key missing status from the internal cache. The cache key missing status is quite common as keys are learned during normal execution. > - Is this the final patch? Is it a temporary fix? > - Has the patch been tested? Yes and yes, it's been in use in Fedora (and devel) since Jun 3 without issue. Inspection of the patch shows that it's basically a typing error and so I quite reasonably expect it will be a safe change. > - Will this change impact any related changes noted in the 5.1 autofs errata > (http://errata.devel.redhat.com/errata/show/5789)? I can't see any bugs in the errata that would be effected by this change, except for 238533, for which which we would need to add an explicit test for this as part of a retest. Ian 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 Which autofs fixes this? I have autofs-5.0.1-0.rc2.55 and autofs doesn't work for me. (In reply to comment #15) > Which autofs fixes this? I have autofs-5.0.1-0.rc2.55 and autofs doesn't work > for me. You're likely running into a kernel bug. It will be fixed in the z-stream and 5.2. Just for clarification, does the first attempt to access an automounted share fail, then a second succeed? (In reply to comment #16) > > Just for clarification, does the first attempt to access an automounted share > fail, then a second succeed? Yes, that is exactly my problem and is a regression from RHEL 5.0. *** Bug 431918 has been marked as a duplicate of this bug. *** which kernel version could be used to avoid this bug in 5.1? (In reply to comment #19) > which kernel version could be used to avoid this bug in 5.1? > If you're asking about the "first mount attempt incorrectly returns a fail to user space" then the missing patches were included in 2.6.18-53.1.4. |