Bug 165499
Summary: | autofs init script incorrectly handles auto.master options | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Brian Long <brilong> |
Component: | autofs | Assignee: | Jeff Moyer <jmoyer> |
Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | cfeist |
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: | 2005-09-20 16:43:28 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: |
Description
Brian Long
2005-08-09 21:17:41 UTC
Even worse, if I change auto.master to the following:
/misc /etc/auto.misc --timeout 60
/auto /etc/auto.indirect --timeout 300 rsize=32768,wsize=32768,tcp
/users auto_home --timeout 300 rw,hard,intr,rsize=32768,wsize=32768,tcp
The automount processes are still started with --timeout 60:
> ps -ef | grep automou
root 3365 1 0 17:22 ? 00:00:00 /usr/sbin/automount --timeout=60
/misc file /etc/auto.misc
root 3367 1 0 17:22 ? 00:00:00 /usr/sbin/automount --timeout=60
/auto file /etc/auto.indirect rsize=32768,wsize=32768,tcp
root 3401 1 0 17:22 ? 00:00:02 /usr/sbin/automount --timeout=60
/users yp auto.home rw,hard,intr,rsize=32768,wsize=32768,tcp
This means I have no workaround to my current problem. I want misc to timeout
in 1 minute and /auto and /users to timeout in the default 5 minutes.
DAEMONOPTIONS has a default value of --timeout=60. If you disable that, then per-map timeout options will work. You could make a case for preferring options in auto.master over the global setting in /etc/sysconfig/autofs. Is that what is requested, here? If not, please let me know if you think it is okay to close this bug. Thanks. Still waiting for an update to this bug. Please respond to comment #3. The problem is that we've been using the same auto.master from RH 7.1 and 7.3. In that file, we had "--timeout 60" for /misc and it worked fine (see comment #1 and #2). It turns out that the init script in RHEL 3 requires "--timeout=60". The = sign is new in RHEL 3, it appears. Somehow this slight change (and the global DAEMONOPTIONS) slipped through our testing, so --timeout=60 is set for all automount processes. I don't know why "--timeout 60" is no longer supported by the init script, but this is what caused the primary bug I thought I was filing :) I am currently verifying our existing RH 7.3 hosts like the new "--timeout=60" auto.master option (since we push a single autofs-config RPM to all clients). As long as my older RH 7.3 hosts can handle the =, we can close this bug. Thanks very much for the clarification. Definitely let me know whether or not this works. Issue Tracker has been closed. |