Blame SOURCES/autofs-5.1.4-add-man-page-note-about-extra-slashes-in-paths.patch

9ddfc2
autofs-5.1.4 - add man page note about extra slashes in paths
9ddfc2
9ddfc2
From: Ian Kent <raven@themaw.net>
9ddfc2
9ddfc2
Make note of the effect unnecessary multiple slashes can have in map
9ddfc2
paths in auto.master(5).
9ddfc2
---
9ddfc2
 CHANGELOG            |    1 +
9ddfc2
 man/auto.master.5.in |    8 ++++++++
9ddfc2
 2 files changed, 9 insertions(+)
9ddfc2
9ddfc2
--- autofs-5.0.7.orig/CHANGELOG
9ddfc2
+++ autofs-5.0.7/CHANGELOG
9ddfc2
@@ -298,6 +298,7 @@
9ddfc2
 - fix create_client() RPC client handling.
9ddfc2
 - dont allow trailing slash in master map mount points.
9ddfc2
 - fix fd leak in rpc_do_create_client().
9ddfc2
+- add man page note about extra slashes in paths.
9ddfc2
 
9ddfc2
 25/07/2012 autofs-5.0.7
9ddfc2
 =======================
9ddfc2
--- autofs-5.0.7.orig/man/auto.master.5.in
9ddfc2
+++ autofs-5.0.7/man/auto.master.5.in
9ddfc2
@@ -66,6 +66,14 @@ will process the map according to the sp
9ddfc2
 map entries. Indirect map entries must be unique in the master map so
9ddfc2
 second and subsequent entries for an indirect mount point are ignored by
9ddfc2
 .BR automount (8).
9ddfc2
+.TP
9ddfc2
+.B NOTE:
9ddfc2
+autofs currently does not collapse multiple slashes in paths, it's
9ddfc2
+necessary to ensure paths used in maps are correct. If unnecessary multiple
9ddfc2
+slashes are present in a path it can lead to unexpected failures such as
9ddfc2
+an inability to expire automounts. An exception to this is a trailing slash
9ddfc2
+at the end of the automount point path in the master map which will be
9ddfc2
+removed if present.
9ddfc2
 .SH "FORMAT"
9ddfc2
 Master map entries have three fields separated by an arbitrary number
9ddfc2
 of spaces or tabs. Lines beginning with # are comments. The first field