Comment 29 for bug 670622

Revision history for this message
In , Vincent (vincent-redhat-bugs) wrote :

Created attachment 475653
modified test script

Output from Ubuntu using a modified test case (requires the original reproducer). You do have to run it twice to get /proc properly umounted.

user@ubuntu:~/CVE-2010-3879$ cat /etc/issue.net
Ubuntu 10.04.1 LTS
user@ubuntu:~/CVE-2010-3879$ sh test.sh
pre-run, make sure ps is working
user 2031 0.0 0.0 1832 536 pts/0 S+ 12:53 0:00 sh test.sh
user 2032 0.0 0.1 2716 1068 pts/0 R+ 12:53 0:00 ps aux
user 2033 0.0 0.0 3260 660 pts/0 S+ 12:53 0:00 tail -3
DirModifyInotify: no process found
FuseMinimal: no process found
gcc -o DirModifyInotify DirModifyInotify.c
gcc -D_FILE_OFFSET_BITS=64 -lfuse -Wall FuseMinimal.c -o FuseMinimal
Using target call count 8
Move triggered at count 8
fusermount: entry for /proc not found in /etc/mtab
post-run, is ps still working?
user 2054 0.0 0.0 18732 676 ? Ssl 12:53 0:00 ../../FuseMinimal .
user 2061 0.0 0.1 2716 1068 pts/0 R+ 12:53 0:00 ps aux
user 2062 0.0 0.0 3260 664 pts/0 S+ 12:53 0:00 tail -3
user@ubuntu:~/CVE-2010-3879$ sh test.sh
pre-run, make sure ps is working
user 2063 0.0 0.0 1832 536 pts/0 S+ 12:53 0:00 sh test.sh
user 2064 0.0 0.1 2716 1068 pts/0 R+ 12:53 0:00 ps aux
user 2065 0.0 0.0 3260 664 pts/0 S+ 12:53 0:00 tail -3
rm: cannot remove `tmp-moved/proc': Transport endpoint is not connected
[sudo] password for user:
Using target call count 8
Move triggered at count 8
post-run, is ps still working?
Cannot find /proc/version - is /proc mounted?
user@ubuntu:~/CVE-2010-3879$ ps
Cannot find /proc/version - is /proc mounted?