Bug 2122

Summary: frysk-core/TestRunner gets heaps of NullPointer exceptions
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2104    

Description Andrew Cagney 2006-01-07 23:07:03 UTC
The underlying problem is illustrated this:

cagney@tomago$ cat /proc/2151/stat
cat: /proc/2151/stat: Permission denied
cagney@tomago$ ls -l !$
ls -l /proc/2151/stat
-r--r--r-- 1 root root 0 Jan  7 17:46 /proc/2151/stat
cagney@tomago$ cp /proc/2151/stat /tmp
cp: cannot open `/proc/2151/stat' for reading: Permission denied
cagney@tomago$ read < /proc/2151/stat x
-bash: /proc/2151/stat: Permission denied

The FRYSK testsuite assumes that it can follow process chains all the way to PID
one.  With SELINUX enabled that may not be possible.

Disabling SELINUX lets the testsuite work.
Comment 1 Andrew Cagney 2006-01-24 16:40:03 UTC
Build documentation updated; noted that SELINUX should be set to a permissive
mode that allows access to /proc.