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

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