Comment 40 for bug 1007089

Revision history for this message
Mike Mestnik (cheako) wrote :

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.