Package: autofs Version: 4.1.3+4.1.4beta2-3 Severity: important Tags: patch
Hi. In startup script, there is a wrong logic of a new variable UNDERSCORETODOT testing. It should be testing setting it to "1" and not to "0". Because it misses the case, when the variable is not set at all, which is the Debian case (see /etc/init.d/autofs and look for UNDERSCORETODOT string). Due to this bug, auto_home from NIS is renamed to auto.home, and it cannot be obviously found, and /home is not mounted, which makes this bug important - for NIS users. Patch is included. This should be propagated to upstream too. Regards, Lada Dobias -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.11ac2-050313 Locale: LANG=czech, LC_CTYPE=czech (charmap=ISO-8859-2) Versions of packages autofs depends on: ii debconf 1.4.46 Debian configuration management sy ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an -- debconf information: * autofs/upgrade-from-broken-version:
--- autofs-bad-again 2005-02-24 10:28:00.000000000 +0100 +++ autofs 2005-03-25 11:51:43.733868791 +0100 @@ -307,14 +307,14 @@ elif [ -f "/etc/$map" ]; then maptype=file map=`echo /etc/$map | sed 's^//^/^g'` else maptype=yp - if [ "$UNDERSCORETODOT" = "0" ] ; then - map=`basename $map | sed 's^//^/^g'` - else + if [ "$UNDERSCORETODOT" = "1" ] ; then map=`basename $map | sed -e s/^auto_home/auto.home/ -e s/^auto_mnt/auto.mnt/` + else + map=`basename $map | sed 's^//^/^g'` fi fi fi map=`echo $map | cut -f2- -d:`