Your message dated Wed, 28 Dec 2011 00:07:43 +0000
with message-id <[email protected]>
and subject line Bug#653172: Removed package(s) from unstable
has caused the Debian Bug report #281104,
regarding autofs: Different timeouts for different maps.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
281104: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281104
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: autofs
Version: 4.1.3-4
Severity: wishlist

I use autofs for different purposes, like access to USB sticks or NFS exports. For each "purpose", I have a different auto.XXX - map. I would very much like to be able to specify a map-specific timeout, in particular, a short 15 seconds timeout for my USB stick.

I have been able to configure what I personally need, through a bloody hack into /etc/init.d/autofs (see the patch below).

(Alas, then it doesn't work, as autofs timeouts presently don't work well in general; see bugs

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242791 and
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=279898
)

But, assuming the bug reported in those two bugreports gets fixed, it would be nice to be able to specify timeouts in a map-dependent fashion.

Regards, and thank you for providing fine software

Andreas

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

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

-- no debconf information

$ diff -u autofs-original autofs
--- autofs-original     2004-11-13 19:22:18.000000000 +0100
+++ autofs      2004-11-13 19:49:59.000000000 +0100
@@ -498,6 +498,11 @@
                 if [ ! -d /var/run/autofs ]; then
                         mkdir /var/run/autofs
                 fi
+               if echo "$rest" | grep -qE 'usb$'
+               then
+                  export rest;
+ rest=`perl -we '$r=$ENV{rest}; $r =~ s/--timeout=\d+/--timeout=15/; print $r'`
+                fi
                 start-stop-daemon --start --pidfile $pidfile --quiet \
                     --exec $DAEMON -- --pid-file=$pidfile $rest
        done

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Version: 4.1.4+debian-3+rm

Dear submitter,

as the package autofs has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/653172

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)


--- End Message ---

Reply via email to