Package: autofs
Version: 4.1.3-8
Severity: minor

/etc/init.d/autofs reload does not check for timeout changes in
auto.master (AFAIR it checks only for addition and removal of mount
points, not changes like timeout or common mount options) and there is
no indication of this neither in /etc/init.d/autofs nor in
README.Debian.  Maybe it does not worth powder and shot to handle these
cases but it is very reasonable to warn admin.  So I suggest the
following patch:

--- /etc/init.d/autofs  2004-12-20 19:25:11.000000000 +0300
+++ autofs      2005-01-15 17:36:27.000000000 +0300
@@ -547,7 +547,7 @@
         echo "done."
        ;;
     reload)
-       echo "Reloading automounter: checking for changes ... "
+       echo "Reloading automounter: checking for additions/removals (not 
changes) of mount points ... "
        TMP=`mktemp -t autofs.XXXXXX`
        getmounts >$TMP
        for i in /var/run/autofs/*.pid


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-wizzle
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages autofs depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information

-- 
Artem Chuprina
RFC2822: <ran{}ran.pp.ru> Jabber: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to