Package: coreutils
Version: 5.96-3
Severity: minor

autofs often fucks up my system. In such a case, I tried to:

   # rm -rf /fs/doom # autofs mountpoint
   Segmentation fault

strace shows:

   chdir("/fs/doom")                       = 0
   lstat(".", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
   open(".", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOENT (No such file or 
directory)
   --- SIGSEGV (Segmentation fault) @ 0 (0) ---

And gdb shows a segfault in readdir64.

So I assume rm doesn't check the result of opendir or something similar.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16.9
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages coreutils depends on:
ii  libacl1                       2.2.37-1   Access control list shared library
hi  libc6                         2.3.6-13   GNU C Library: Shared libraries
ii  libselinux1                   1.30-1     SELinux shared libraries

coreutils recommends no packages.

-- no debconf information


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

Reply via email to