Package: autofs5 Version: 5.0.4-3.2 Severity: important *** Please type your report below this line *** automount does crash when it is used in a nested setup, using 2 levels of autofs (1st autofs mounted via autofs, 2nd bind via the 1st autofs), if 2 consecutive lookups on the 2nd (bind) level fail (since there are no entries for them in the map), and the 1st of those lookups is on the key '*' (a simple asterisk), while the 2nd lookup must not yet be cached in the negative lookup cache. The failure could not be reproduced using only one level of autofs, or using other keys than '*'. The same setup was used in lenny without problems.
* Setup $ cat /etc/auto.master /srv/home /etc/auto.homes $ cat /etc/auto.homes user -fstype=autofs file:/etc/auto.subdir $ cat /etc/auto.subdir test --bind :/srv/src/test/user # mkdir -r /srv/src/test/user # touch /srv/src/test/user/file # /srv/home is 'generated' via automount # resulting in a directory structur like: $ ls -R /srv /srv: home src /srv/home: user /srv/home/user: test /srv/home/user/test: file /srv/src: test /srv/src/test: user /srv/src/test/user: file * Test ** verify automount in running $ ps aux | grep automount root 2360 0.0 0.2 19352 1124 ? Ssl 00:57 0:00 /usr/sbin/automount user 2376 0.0 0.1 3300 740 pts/0 S+ 00:58 0:00 grep automount ** crash automount $ ls /srv/home/user/\* ls: cannot access /srv/home/user/*: No such file or directory $ ls /srv/home/user/crash ^C^Cls: cannot access /srv/home/user/crash: No such file or directory # ls hangs and needs to be killed ** automount is no longer running $ ps aux | grep automount user 2388 0.0 0.1 3300 740 pts/0 S+ 00:59 0:00 grep automount ** dmesg + syslog output $ dmesg | tail ... [ 1274.803490] automount[2386]: segfault at 0 ip b76b5eb0 sp b64a2f00 error 4 in libc-2.11.2.so[b7643000+140000] $ tail /var/log/syslog ... Mar 8 00:59:24 debian automount[2360]: update_negative_cache: key "*" not found in map. Mar 8 00:59:29 debian kernel: [ 1274.803490] automount[2386]: segfault at 0 ip b76b5eb0 sp b64a2f00 error 4 in libc-2.11.2.so[b7643000+140000] * expected result ls on crash does not hang, automount is still running -- System Information: Debian Release: 6.0 APT prefers squeeze-updates APT policy: (500, 'squeeze-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages autofs5 depends on: ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii ucf 3.0025+nmu1 Update Configuration File: preserv Versions of packages autofs5 recommends: ii module-init-tools 3.12-1 tools for managing Linux kernel mo ii nfs-common 1:1.2.2-4 NFS support files common to client autofs5 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org