| Summary: | autofs continues to read obsolete misc map sources | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Raman Gupta <rocketraman> |
| Component: | autofs | Assignee: | Ian Kent <ikent> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | ikent |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-06 14:48:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Raman Gupta
2011-04-05 14:49:25 UTC
I'm struggling to see how this is a bug. If an attempt is made to access a path the kernel is duty bound to try and look it up since it cannot know if the path is valid or not. Similarly, if that path is within an automount managed directory, autofs is duty bound to try and lookup the mount and mount it. If no map entry is found, because the map has changed or the entry never existed (or some other problem occurs) then the request fails. This annoying log message was requested to be added by someone else and one reason for it was to help track down applications that were continually attempting to access stale map entries. If you enable debug logging the pid of the requesting process is logged which may help identify why this is happening. You can find out how to go about setting up debug logging at http://people.redhat.com/jmoyer. Of course I may be wrong about the situation and await your advice on that. Ian Ah, I see what you are saying -- some other application is trying to access that path, thus causing automount to report that it does not exist. Ok -- that makes sense. Might I suggest a small change to the log message that would make things a bit clearer? pid '222' requested key not in map source(s): "oldmount1". This way, it is clear that it is an external process trying to access that mount as opposed to automount itself, and gives the PID of that process, which is very useful, without having to enable debug logging. Sorry for the noise -- I posted on the users list first to get exactly this type of information, but didn't get any response. |