Red Hat Bugzilla – Bug 213074
wrong permissions on /etc/setroubleshoot
Last modified: 2007-11-30 17:11:47 EST
+++ This bug was initially created as a clone of Bug #211802 +++
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. remove the setroubleshoot rpm
2. manually remove the /etc/setroubleshoot directory
3. reinstall the setroubleshoot rpm
4. as non-root, run "sealert"
Script fails due to insufficient permissions on /etc/setroubleshoot directory,
and prints the following diagnostic output:
Traceback (most recent call last):
File "/usr/bin/sealert", line 45, in ?
from setroubleshoot.browser import *
File "/usr/lib/python2.4/site-packages/setroubleshoot/__init__.py", line 20,
File "/usr/lib/python2.4/site-packages/setroubleshoot/config.py", line 303,
cfg = read_configuration(defaults)
File "/usr/lib/python2.4/site-packages/setroubleshoot/config.py", line 317,
File "/usr/lib/python2.4/ConfigParser.py", line 639, in set
raise TypeError("option values must be strings")
TypeError: option values must be strings
Script should run as non-root. Directory containing required configuration file
should be world readable and world executable.
setroubleshoot package does not claim to own the /etc/setroubleshoot directory.
The directory is created at package install time, but with permissions that do
not allow access by non-root users. Incidentally, this will also cause the
directory to be left behind, empty, should setroubleshoot be uninstalled later.
Thank you for taking the time to diagnose and report the problem, it is very
much appreciated. I have applied the fix to the source tree and it will appear
in the next update.