Bug 227303
Summary: | accesses fail after umounting the mount point manually | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | wengang wang <wangwengang1976> | ||||
Component: | autofs | Assignee: | Jeff Moyer <jmoyer> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.4 | CC: | ikent | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-02-05 16:12:22 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: | |||||||
Attachments: |
|
Description
wengang wang
2007-02-05 02:49:31 UTC
Created attachment 147336 [details]
patch to fix autofs manually umount problem.
What happens if the mount point is not in the top level directory? Won't this fail to return the needed dentry? Ian And what happens if the user space daemon removes the directory while you're using it? Ian Autofs version 4 mounts each multimount hierarchy as a single unit. What this means is that autofs cannot determine that a leaf node in this hierarchy was unmounted. As such, this problem can only be fixed for non-hierarchical mounts. Fixing the problem for only that case will cause inconsistent behaviour, so I do not believe the change is warranted. Further, one should not unmount autofs managed mount points by hand. You can send SIGUSR1 to the daemon to tell it to unmount currently mounted shares. Version 5 of the automounter takes steps to address this problem, though unmounting shares by hand is not recommended. hi Ian and Jeffrey, to Ian: I think what you metioned should be solved by user space program specified in master map, like auto.master, if there are problems. to Jeffrey: yes, the change takes no effect on multimount hierarchy, because the upper level mounted FS receives the request and autofs won't be notified. Sometimes users don't rules and they like their convenient way. It's better we make autofs robuster. will autofs version 5 be included in RHEL4.5? wengang. wengang, I agree that autofs should be made more robust, and v5 accomplishes this. I'm not sure when autofs v5 will be available in RHEL 4, but it will be available at some point. |