Bug 2122 - frysk-core/TestRunner gets heaps of NullPointer exceptions
Summary: frysk-core/TestRunner gets heaps of NullPointer exceptions
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2104
  Show dependency treegraph
 
Reported: 2006-01-07 23:07 UTC by Andrew Cagney
Modified: 2006-01-24 16:40 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.