Package: libc6
Version: 2.9-26
Severity: normal
File: /lib/libc-2.9.so
This may be a kernel bug, if so, please reassign.
In the following, /flics is a bind-mount of /srv/flics, as
exemplified by the stat output (device number and inode identical).
/bin/mv ends up with copy-delete (new inode) rather than rename:
vizier:~|master|% stat -c %D/%i /flics /srv/flics
fd05/480513
fd05/480513
vizier:~|master|% touch /flics/foo
vizier:~|master|% stat -c %D/%i /flics/foo
fd05/206081
vizier:~|master|% mv /flics/foo /srv/flics/bar
vizier:~|master|% stat -c %D/%i /srv/flics/bar
fd05/206082
The problem is this (thanks, strace):
rename("/flics/foo", "/srv/flics/bar") = -1 EXDEV (Invalid cross-device link)
so rename() does not properly detect that the source and destination
directories are actually the same. The problem seems identical for
link().
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libc6 depends on:
ii libc-bin 2.9-26 GNU C Library: Binaries
ii libgcc1 1:4.4.1-4 GCC support library
Versions of packages libc6 recommends:
ii libc6-i686 2.9-26 GNU C Library: Shared libraries [i
Versions of packages libc6 suggests:
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
pn glibc-doc <none> (no description available)
ii locales 2.9-26 GNU C Library: National Language (
-- debconf-show failed
--
.''`. martin f. krafft <madduck@d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
Attachment:
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)