Joseph,
  Any one running any kernel can test for this bug.  Let me write a short shell 
script that will do just that.  I've tested this script on my box and it 
revealed the bug.

(
set -e
mkdir -p /mnt/test /tmp/usr
mount none /mnt/test -t overlayfs -o lowerdir=/usr,upperdir=/tmp/usr
/mnt/test/bin/tail -f /dev/null&
ls -lart /proc/$!/exe
kill $!
umount /mnt/test
rmdir /mnt/test /tmp/usr
)

# If a red broken link to/bin/tail  is printed then the bug exists.  If
the link points to /mnt/test/bin/tail then there is no bug in the
currently running kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1007089

Title:
  overlayfs alters /proc/self/exe link(s), making result a dead link.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1007089/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to