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

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