Bug 446661 - setroubleshootd die
Summary: setroubleshootd die
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: John Dennis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-15 15:40 UTC by Alexey Kuznetsov
Modified: 2008-07-09 02:43 UTC (History)
0 users

Fixed In Version: 2.0.8-2.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-09 02:43:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.