Bug 446661

Summary: setroubleshootd die
Product: [Fedora] Fedora Reporter: Alexey Kuznetsov <axet>
Component: setroubleshootAssignee: John Dennis <jdennis>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.0.8-2.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-09 02:43:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexey Kuznetsov 2008-05-15 15:40:02 UTC
[root@mini axet]# /etc/init.d/setroubleshoot  restart
Stopping setroubleshootd:                                  [  OK  ]
Starting setroubleshootd:                                  [  OK  ]
[root@mini axet]# Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/setroubleshoot/server.py", line 221, in
on_connection_state_change
    self.uid, self.gid = self.access.get_credentials(self.socket_address.socket)
  File "/usr/lib/python2.5/site-packages/setroubleshoot/access_control.py", line
122, in get_credentials
    pid, uid, gid = struct.unpack(format_ucred, ucred)
  File "/usr/lib/python2.5/struct.py", line 87, in unpack
    return o.unpack(s)
struct.error: unpack requires a string argument of length 12

Comment 1 John Dennis 2008-05-15 16:04:14 UTC
You didn't specify an architecture, I presume PPC, is that correct? If so we
have a fix.

Comment 2 Alexey Kuznetsov 2008-05-15 16:10:45 UTC
bingo! :) mac-mini ppc.

Comment 3 Fedora Update System 2008-06-16 18:21:21 UTC
setroubleshoot-2.0.7-1.fc9 has been submitted as an update for Fedora 9

Comment 4 Alexey Kuznetsov 2008-06-17 06:45:17 UTC
for setroubleshoot-2.0.7-1.fc9

[root@mini ~]# /etc/init.d/setroubleshoot restart
Stopping setroubleshootd:                                  [  OK  ]
Starting setroubleshootd:                                  [  OK  ]
[root@mini ~]# 
[root@mini ~]# 
[root@mini ~]# Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/setroubleshoot/server.py", line 221, in
on_connection_state_change
    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


Comment 5 Fedora Update System 2008-06-17 13:37:29 UTC
setroubleshoot-2.0.8-1.fc9 has been submitted as an update for Fedora 9

Comment 6 John Dennis 2008-06-17 13:40:44 UTC
fix capitalization of Socket module name in access_control.py in 2.0.8-1.fc9,
available in updates-testing.

Comment 7 Fedora Update System 2008-06-17 19:08:57 UTC
setroubleshoot-2.0.8-2.fc9 has been submitted as an update for Fedora 9

Comment 8 Fedora Update System 2008-06-18 03:13:50 UTC
setroubleshoot-2.0.7-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update setroubleshoot'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5405

Comment 9 Fedora Update System 2008-07-09 02:43:48 UTC
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.