Red Hat Bugzilla – Bug 451427
Startup of setroubleshootd fails and connection to it denied
Last modified: 2008-07-08 22:43:46 EDT
Description of problem:
When setroubleshootd is started the following error message is generated in the
2008-06-14 13:43:09,315 [rpc.ERROR] exception TypeError: not all arguments
converted during string formatting
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/setroubleshoot/rpc.py", line 940, in
File "/usr/lib/python2.5/site-packages/setroubleshoot/rpc.py", line 762, in feed
File "/usr/lib/python2.5/site-packages/setroubleshoot/rpc.py", line 754, in
File "/usr/lib/python2.5/site-packages/setroubleshoot/rpc.py", line 978, in
return_args = method_ptr(*args)
File "/usr/lib/python2.5/site-packages/setroubleshoot/server.py", line 251, in
raise ProgramError(ERR_USER_LOOKUP, detail="uid=s does not match logon
username (%s)" % (self.uid, username))
TypeError: not all arguments converted during string formatting
2008-06-14 13:43:09,321 [rpc.WARNING] remove_client: client (channel: name=None
type=sealert) not in client pool
Also if I try to connect to the daemon via "/usr/bin/sealert -b" (ak. SELinux
Troubleshooter) the same error message is generated in the logfile and the GUI
just says "connection lost to /var/run/setroubleshoot/setroubleshoot_server"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Just restart or connect to setroubleshootd
I'm pretty sure this is a dup of bug 446661 which only occurs on PPC.
For a quick test of that theory edit
and change SO_PEERCRED from 17 to 21
Or you could try installing 18.104.22.168 which has the bug fix, but this hasn't been
pushed out yet, but you can download it from:
setroubleshoot-2.0.7-1.fc9 has been submitted as an update for Fedora 9
Version 2.0.7-1.fc9 didn't fix the problem. But I noticed another error message.
When I manually restart the daemon the following is returned to terminal:
$ /etc/init.d/setroubleshoot restart
Stopping setroubleshootd: [ OK ]
Starting setroubleshootd: [ OK ]
$ Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/setroubleshoot/server.py", line 221, in
self.uid, self.gid = self.access.get_credentials(self.socket_address.socket)
File "/usr/lib/python2.5/site-packages/setroubleshoot/access_control.py", line
142, in get_credentials
if family != socket.AF_UNIX:
NameError: global name 'socket' is not defined
The message in logfile is still the same.
setroubleshoot-2.0.8-1.fc9 was pushed to updates-testing this morning to correct
this (a capitalization typo, it should have been 'Socket' not 'socket').
In the spec file of setroubleshoot-2.0.8-1.fc9 is another typo.
Requires: libxml2-pythonRequires(post): /usr/bin/update-desktop-database
setroubleshoot-2.0.8-2.fc9 has been submitted as an update for Fedora 9
Thank you! Must be my day for silly editing mistakes :-)
setroubleshoot-2.0.8-2.fc9 fixes the deleted line break. Pushed to updates-testing.
Perfect, that version did it ;-)
I really missed setroubleshoot over the last weeks. It's a real nice app!
setroubleshoot-2.0.8-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.