- ignore duplicate exports in auto.net. - add kernel verion check function. - add function to check mount.nfs version. - reinstate singleton mount probe. - rework error return handling in rpc code. - catch EHOSTUNREACH and bail out early. - systemd support fixes. - fix segmentation fault in do_remount_indirect().
34 lines
876 B
Diff
34 lines
876 B
Diff
autofs-5.0.6 - ignore duplicate exports in auto.net
|
|
|
|
From: Paul Smith <pds at us.ibm.com>
|
|
|
|
|
|
---
|
|
|
|
CHANGELOG | 1 +
|
|
samples/auto.net | 2 +-
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
|
--- autofs-5.0.6.orig/CHANGELOG
|
|
+++ autofs-5.0.6/CHANGELOG
|
|
@@ -23,6 +23,7 @@
|
|
- fix rpc build error.
|
|
- add sss lookup module.
|
|
- teach automount about sss source.
|
|
+- ignore duplicate exports in auto.net.
|
|
|
|
28/06/2011 autofs-5.0.6
|
|
-----------------------
|
|
--- autofs-5.0.6.orig/samples/auto.net
|
|
+++ autofs-5.0.6/samples/auto.net
|
|
@@ -35,7 +35,7 @@ done
|
|
# Newer distributions get this right
|
|
SHOWMOUNT="$SMNT --no-headers -e $key"
|
|
|
|
-$SHOWMOUNT | LC_ALL=C sort -k 1 | \
|
|
+$SHOWMOUNT | LC_ALL=C cut -d' ' -f1 | LC_ALL=C sort -u | \
|
|
awk -v key="$key" -v opts="$opts" -- '
|
|
BEGIN { ORS=""; first=1 }
|
|
{ if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 }
|