Blame SOURCES/autofs-5.0.7-improve-timeout-option-description.patch

d906a6
autofs-5.0.7 - improve timeout option description
d906a6
d906a6
From: Ian Kent <raven@themaw.net>
d906a6
d906a6
The description of the configuration option is a little misleading.
d906a6
So add some explaination about the internal default and the reason
d906a6
the default installed configuration overrides it.
d906a6
---
d906a6
 CHANGELOG                      |    1 +
d906a6
 man/auto.master.5.in           |    5 ++++-
d906a6
 man/automount.8                |    5 ++++-
d906a6
 redhat/autofs.sysconfig.in     |    5 ++++-
d906a6
 samples/autofs.conf.default.in |    5 ++++-
d906a6
 5 files changed, 17 insertions(+), 4 deletions(-)
d906a6
d906a6
--- autofs-5.0.7.orig/CHANGELOG
d906a6
+++ autofs-5.0.7/CHANGELOG
d906a6
@@ -65,6 +65,7 @@
d906a6
 - fix portmap lookup.
d906a6
 - only probe specific nfs version if requested.
d906a6
 - fix ipv6 libtirpc getport.
d906a6
+- improve timeout option description.
d906a6
 
d906a6
 25/07/2012 autofs-5.0.7
d906a6
 =======================
d906a6
--- autofs-5.0.7.orig/man/auto.master.5.in
d906a6
+++ autofs-5.0.7/man/auto.master.5.in
d906a6
@@ -212,7 +212,10 @@ configuration file
d906a6
 They are:
d906a6
 .TP
d906a6
 .B TIMEOUT
d906a6
-sets the default mount timeout (program default 600).
d906a6
+Sets the default mount timeout in seconds. The internal program
d906a6
+default is 10 minutes, but the default installed configuration
d906a6
+overrides this and sets the timeout to 5 minutes to be consistent
d906a6
+with earlier autofs releases.
d906a6
 .TP
d906a6
 .B NEGATIVE_TIMEOUT
d906a6
 Set the default timeout for caching failed key lookups (program default
d906a6
--- autofs-5.0.7.orig/man/automount.8
d906a6
+++ autofs-5.0.7/man/automount.8
d906a6
@@ -29,10 +29,13 @@ Print brief help on program usage.
d906a6
 .I "\-p, \-\-pid-file"
d906a6
 Write the pid of the daemon to the specified file.
d906a6
 .TP
d906a6
-.I "\-t, \-\-timeout"
d906a6
+.I "\-t <seconds>, \-\-timeout <seconds>"
d906a6
 Set the global minimum timeout, in seconds, until directories
d906a6
 are unmounted. The default is 10 minutes. Setting the timeout
d906a6
 to zero disables umounts completely.
d906a6
+The internal program default is 10 minutes, but the default
d906a6
+installed configuration overrides this and sets the timeout
d906a6
+to 5 minutes to be consistent with earlier autofs releases.
d906a6
 .TP
d906a6
 .I "\-n <seconds>, \-\-negative\-timeout <seconds>"
d906a6
 Set the default timeout for caching failed key lookups. The default is 60 seconds.
d906a6
--- autofs-5.0.7.orig/redhat/autofs.sysconfig.in
d906a6
+++ autofs-5.0.7/redhat/autofs.sysconfig.in
d906a6
@@ -5,7 +5,10 @@
d906a6
 #
d906a6
 #MASTER_MAP_NAME="auto.master"
d906a6
 #
d906a6
-# TIMEOUT - set the default mount timeout (default 600).
d906a6
+# TIMEOUT - set the default mount timeout in secons. The internal
d906a6
+#	    program default is 10 minutes, but the default installed
d906a6
+#	    configuration overrides this and sets the timeout to 5
d906a6
+#	    minutes to be consistent with earlier autofs releases.
d906a6
 #
d906a6
 TIMEOUT=300
d906a6
 #
d906a6
--- autofs-5.0.7.orig/samples/autofs.conf.default.in
d906a6
+++ autofs-5.0.7/samples/autofs.conf.default.in
d906a6
@@ -5,7 +5,10 @@
d906a6
 #
d906a6
 #MASTER_MAP_NAME="auto.master"
d906a6
 #
d906a6
-# TIMEOUT - set the default mount timeout (default 600).
d906a6
+# TIMEOUT - set the default mount timeout in secons. The internal
d906a6
+#	    program default is 10 minutes, but the default installed
d906a6
+#	    configuration overrides this and sets the timeout to 5
d906a6
+#	    minutes to be consistent with earlier autofs releases.
d906a6
 #
d906a6
 TIMEOUT=300
d906a6
 #