Package: autofs
Version: 4.1.4-7
Severity: important
File: /etc/auto.net

While upgrading from version 4.1.3+4.1.4beta2-10, I was prompted about
a configuration file change I did not make, which violates policy
10.7.3.  See dpkg.org for a way of migrating to ucf, if that's the
problem.  The diff with which I was prompted is attached.

-- 
Clear skies,
Justin
--- /etc/auto.net       2005-04-02 08:06:20.000000000 -0500
+++ /usr/share/autofs/conffiles/auto.net        2005-08-04 19:06:53.000000000 
-0400
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# $Id: auto.net,v 1.6 2005/01/04 14:36:54 raven Exp $
+# $Id: auto.net,v 1.8 2005/04/05 13:02:09 raven Exp $
 
 # This file must be executable to work! chmod 755!
 
@@ -11,7 +11,7 @@
 
 # add "nosymlink" here if you want to suppress symlinking local filesystems
 # add "nonstrict" to make it OK for some filesystems to not mount
-opts="-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,rsize=8192,wsize=8192,async"
+opts="-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,async"
 
 # Showmount comes in a number of names and varieties.  "showmount" is
 # typically an older version which accepts the '--no-headers' flag
@@ -20,16 +20,17 @@
 #SHOWMOUNT="kshowmount --no-headers -e $key"
 #SHOWMOUNT="showmount -e $key | tail -n +2"
 
-# I've wanted to do this for ages.
-# Taken from a script contributed by Elmar Pruesse for
-# mounting smb mounts.
-for SMNT in /{,usr/}{,s}bin/{,k}showmount
+for P in /bin /sbin /usr/bin /usr/sbin
 do
-       if [ -x $SMNT ]
+       for M in showmount kshowmount
+       do
+               if [ -x $P/$M ]
        then
+                       SMNT=$P/$M
                break
        fi
 done
+done
 
 [ -x $SMNT ] || exit 1
 

Reply via email to