Bug 513534 - Crash(?) messages for setroubleshoot
Summary: Crash(?) messages for setroubleshoot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: serafettin-cartoon-fonts
Version: 12
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 517000
TreeView+ depends on / blocked
 
Reported: 2009-07-24 02:54 UTC by Horst H. von Brand
Modified: 2010-01-19 20:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-19 20:24:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
One (humongous) line out of /var/log/messages (2.02 KB, text/plain)
2009-07-24 02:55 UTC, Horst H. von Brand
no flags Details
Requested setroubleshootd.log (113.54 KB, text/plain)
2009-07-29 14:36 UTC, Horst H. von Brand
no flags Details
Here is the patch (2.52 KB, application/octet-stream)
2009-07-30 14:01 UTC, Daniel Walsh
no flags Details

Description Horst H. von Brand 2009-07-24 02:54:26 UTC
Description of problem:
In /var/log/messages (variations?) of the attachment show up each few seconds.
SELINUX=ENFORCING
SELINUXTYPE=targeted

Version-Release number of selected component (if applicable):
setroubleshoot-2.2.16-1.fc12.x86_64
selinux-policy-3.6.22-2.fc12.noarch
selinux-policy-targeted-3.6.22-2.fc12.noarch
kernel-2.6.31-0.86.rc3.git5.fc12.x86_64

How reproducible:
No idea, just booted after updating (for 20090722 and 20090723).

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Horst H. von Brand 2009-07-24 02:55:56 UTC
Created attachment 354959 [details]
One (humongous) line out of /var/log/messages

Comment 2 Daniel Walsh 2009-07-27 15:52:45 UTC
John, do you have any idea on this?

Comment 3 John Dennis 2009-07-27 16:24:57 UTC
Sorry, not at the moment, unfortunately looks like the stack trace was truncated in /var/log/messages, but it should be in /var/log/setroubleshoot/setroubleshoot.log

Comment 4 Horst H. von Brand 2009-07-29 14:36:18 UTC
Created attachment 355555 [details]
Requested setroubleshootd.log

As of today (rawhide up to date), setroubleshoot-2.2.16-1.fc12.x86_64

Comment 5 John Dennis 2009-07-29 15:20:22 UTC
Hmm... this looks like the infinite recursion we fixed a while ago in the prune database code where marking an alert caused prune to be called again. Note, that's not the actual error reported, I'm not sure I can explain that error at the moment, but given the depth of the recursion stack I would not be totally surprised if the actual error reported wasn't the consequence of running out of a resource. My suggestion would be to fix the infinite recursion and then see if the other error goes away.

Comment 6 Daniel Walsh 2009-07-30 14:01:09 UTC
John, do you remember how we prevented the recursion.

I am coding prune to set a "prune" flag to true and then having delete_signature, mark_modified, save have a default flag falue true.

Finally save calls

if not prune:
    self.prune()

Comment 7 Daniel Walsh 2009-07-30 14:01:47 UTC
Created attachment 355677 [details]
Here is the patch

Comment 9 Bug Zapper 2009-11-16 11:05:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 10 Daniel Walsh 2010-01-19 20:24:28 UTC
Fixed in setroubleshoot-2.2.52-1.fc12


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