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

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