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

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