Bug 135114
Summary: | autofs init script start/restart doesn't check for existing busy mounts | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Anonymous <zillabug> | ||||
Component: | autofs | Assignee: | Jeff Moyer <jmoyer> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | ||||||
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: | 2004-11-05 17:27:03 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
Anonymous
2004-10-08 18:51:42 UTC
Created attachment 104956 [details]
My suggested fix for this bug
This is something that the daemon should already handle. This code exists in the automount startup: if ((ap.state != ST_INIT) || is_mounted(path)) { /* This can happen if an autofs process is already running*/ error("mount_autofs: already mounted"); return -1; } Are there any autofs messages in /var/log/messages? What do /proc/mounts and /etc/mtab look like both before and after the subsequent autofs start? My mistake. The server I tested this on must have still been running autofs 3. After reading this, I went to a few servers running autofs 4 and was not able to reproduce. |