Package: coreutils
Version: 5.97-5.4
Severity: normal

First some pre-conditions:
1. Current directory is /tmp
2. /tmp is bind mounted to /var/chroot/sid-ia32/tmp
3. ia32 is a program that does a chroot to /var/chroot/sid-ia32 and then
execs a shell.

Given those here is a command sequence that shows the problem:

/tmp$ ia32
/tmp$ /bin/pwd
/bin/pwd: couldn't find directory entry in `../..' with matching i-node
/tmp$ cd .
/tmp$ /bin/pwd
/tmp

This did work with 5.97-5.3 without problems.

Note: The bash built-in pwd command works without problems.
Note: It is actually the i386 version of pwd that gets executed after
the chroot.

-- 
Markus

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.5-cfs-v20.3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages coreutils depends on:
ii  libacl1                      2.2.42-1    Access control list shared 
library
ii  libc6                        2.6.1-1     GNU C Library: Shared 
libraries
ii  libselinux1                  2.0.15-2+b1 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