Kenshi Muto <[EMAIL PROTECTED]> wrote:
> Package: coreutils
> Version: 5.94-1
> Severity: important
>
> Hi,
> I noticed pwd command always failed (at least on ARM) when current
> directory was mounted as bind.
>
> For example,
> ------------------
> $ df
> /home                 37610056  11959772  23739756  34% /chroot/d-i/home
> $ grep d-i /etc/fstab
> /home   /chroot/d-i/home none bind  0       0
> proc    /chroot/d-i/proc proc defaults 0 0
>
> $ dchroot -c d-i
>
> chroot$ pwd
> /home/kmuto
> chroot$ /bin/pwd
> /bin/pwd: couldn't find directory entry in `../..' with matching i-node
>
> chroot$ cd /usr
> chroot$ /bin/pwd
> /usr
>
> chroot$ cd /home/kmuto/d-i
> chroot$ /bin/pwd
> /bin/pwd: couldn't find directory entry in `../../..' with matching i-node
> ------------------

Thank you for reporting that.
So far, I am unable to reproduce the failure on ia32.

Would you please send the output of this command?

  ls -lid / /home /home/kmuto /home/kmuto/d-i

also, please run the failing command under strace, e.g.

  cd /home/kmuto/d-i
  strace -o /tmp/log /bin/pwd

and send the /tmp/log file.


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

Reply via email to