Blob Blame History Raw
autofs-5.1.4 - add man page note about extra slashes in paths

From: Ian Kent <raven@themaw.net>

Make note of the effect unnecessary multiple slashes can have in map
paths in auto.master(5).
---
 CHANGELOG            |    1 +
 man/auto.master.5.in |    8 ++++++++
 2 files changed, 9 insertions(+)

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