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

135b98
autofs-5.1.4 - add-man page note about extra slashes in paths
135b98
135b98
From: Ian Kent <raven@themaw.net>
135b98
135b98
Make note of the effect unnecessary multiple slashes can have in map
135b98
paths in auto.master(5).
135b98
135b98
Signed-off-by: Ian Kent <raven@themaw.net>
135b98
---
135b98
 CHANGELOG            |    1 +
135b98
 man/auto.master.5.in |    8 ++++++++
135b98
 2 files changed, 9 insertions(+)
135b98
135b98
--- autofs-5.1.4.orig/CHANGELOG
135b98
+++ autofs-5.1.4/CHANGELOG
135b98
@@ -25,6 +25,7 @@ xx/xx/2018 autofs-5.1.5
135b98
 - use systemd sd_notify() at startup.
135b98
 - fix NFS version mask usage.
135b98
 - fix fd leak in rpc_do_create_client().
135b98
+- add-man page note about extra slashes in paths.
135b98
 
135b98
 19/12/2017 autofs-5.1.4
135b98
 - fix spec file url.
135b98
--- autofs-5.1.4.orig/man/auto.master.5.in
135b98
+++ autofs-5.1.4/man/auto.master.5.in
135b98
@@ -66,6 +66,14 @@ will process the map according to the sp
135b98
 map entries. Indirect map entries must be unique in the master map so
135b98
 second and subsequent entries for an indirect mount point are ignored by
135b98
 .BR automount (8).
135b98
+.TP
135b98
+.B NOTE:
135b98
+autofs currently does not collapse multiple slashes in paths, so it is
135b98
+important to ensure paths used in maps are correct. If unnecessary multiple
135b98
+slashes are present in a path it can lead to unexpected failures such as
135b98
+an inability to expire automounts. An exception to this is a trailing slash
135b98
+at the end of the automount point path in the master map which will be
135b98
+removed if present.
135b98
 .SH "FORMAT"
135b98
 Master map entries have three fields separated by an arbitrary number
135b98
 of spaces or tabs. Lines beginning with # are comments. The first field