[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#165882: dpkg: 'rm cleanup failed' with NFS mounted /tmp



Package: dpkg
Version: 1.10.4
Severity: normal

With /tmp NFS mounted, dpkg issues the following:
rm: cannot remove directory `/tmp/dpkghXB5Pb': Directory not empty
rm cleanup failed, code 256

By the time I get to examine said directory, it is empty and can be removed. 
As discussed in

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&th=e5a9b35be9dfa0b4&rnum=1

(ca. 1999) this is more than likely an issue with dpkg presuming "local" fs 
semantics - dpkg unlinking a file while it's still open, and not waiting 
till the dir is actually empty before trying to rmdir it.

Regards,

Ben

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux gromit 2.4.18 #1 Sun Jul 21 23:47:21 EST 2002 i686
Locale: LANG=en_AU, LC_CTYPE=en_AU

Versions of packages dpkg depends on:
ii  dselect                       1.10.4     a user tool to manage Debian packa
ii  libc6                         2.2.5-11.1 GNU C Library: Shared libraries an




Reply to: