| Summary: | Default unmount is in 10 seconds, man page says 10 minutes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Ian Kent <ikent> | ||||
| Component: | autofs | Assignee: | Ian Kent <ikent> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | JianHong Yin <jiyin> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.0 | CC: | eguan, ikent | ||||
| Target Milestone: | rc | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | autofs-5.0.7-35 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 1029461 | Environment: | |||||
| Last Closed: | 2014-06-13 09:18:56 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | 1029461 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Ian Kent
2013-11-15 01:33:09 UTC
Created attachment 825875 [details]
Patch - improve timeout option description
verified:
[root@intel-canoepass-02 ~]# rpm -Uvh autofs-5.0.7-35.el7.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:autofs-1:5.0.7-35.el7 ################################# [100%]
[root@intel-canoepass-02 ~]# rpm -q autofs
autofs-5.0.7-35.el7.x86_64
[root@intel-canoepass-02 ~]# man auto.master | cat - | grep TIMEOUT -A5 -B5
uration.
GENERAL SYSTEM DEFAULTS CONFIGURATION
The default value of several general settings may be changed in the configuration file /etc/sysconfig/autofs. They are:
TIMEOUT
Sets the default mount timeout in seconds. The internal program default is 10 minutes, but the default installed configuration overrides this and sets the time‐
out to 5 minutes to be consistent with earlier autofs releases.
NEGATIVE_TIMEOUT
Set the default timeout for caching failed key lookups (program default 60). If the equivalent command line option is given it will override this setting.
MOUNT_WAIT
Set the default time to wait for a response from a spawned mount(8) before sending it a SIGTERM. Note that we still need to wait for the RPC layer to timeout
before the sub-process exits so this isn't ideal but it is the best we can do. The default is to wait until mount(8) returns without intervention.
--
NOTE: If a schema is given in the configuration then all the schema configuration values must be set, any partial schema specification will be ignored.
The configuration settings available are:
LDAP_TIMEOUT
Set the network response timeout (default 8). Set timeout value for the synchronous API calls. The default is the LDAP library default of an infinite timeout.
LDAP_NETWORK_TIMEOUT
Set the network response timeout (default 8).
LDAP_URI
A space seperated list of server uris of the form <proto>://<server>[/] where <proto> can be ldap or ldaps. The option can be given multiple times. Map entries
that include a server name override this option and it is then not used. Default is an empty list in which case either the server given in a map entry or the
[root@intel-canoepass-02 ~]# man automount | cat - | grep -A5 -B5 -- --timeout
Print brief help on program usage.
-p, --pid-file
Write the pid of the daemon to the specified file.
-t <seconds>, --timeout <seconds>
Set the global minimum timeout, in seconds, until directories are unmounted. The default is 10 minutes. Setting the timeout to zero disables umounts completely.
The internal program default is 10 minutes, but the default installed configuration overrides this and sets the timeout to 5 minutes to be consistent with ear‐
lier autofs releases.
-n <seconds>, --negative-timeout <seconds>
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |