Bug 203780

Summary: sealert "Allow Access" command AWOL
Product: [Fedora] Fedora Reporter: Pete Graner <pgraner>
Component: setroubleshootAssignee: Karl MacMillan <kmacmill>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, sgrubb
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-07 20:23:11 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:
Attachments:
Description Flags
Screen shot showing missing command none

Description Pete Graner 2006-08-23 18:11:04 UTC
Description of problem:


Version-Release number of selected component (if applicable): setroubleshoot-0.30-1


How reproducible: Always


Steps to Reproduce:
1. get sealert to catch an AVC message
2.
3.
  
Actual results: The Allow Access command is missing. The box only says:

"The following command will allow access:"

The command is up in the text but is not 100% complete, its missing the filename
 argument.

Expected results: Should show the command to fix the AVC is known, if not should
say something useful.


Additional info:

Comment 1 John Dennis 2006-08-24 03:39:10 UTC
I trust you mean not all the alerts have this problem but rather a subset. Some
alerts do not provide a "fix command" and the GUI should not be attempting to
present the fix command if not present. I think this is what you're seeing. This
is a relatively easy fix which I'll make sortly and hopefully this will correct
the problem.

Comment 2 John Dennis 2006-08-24 04:15:47 UTC
hmm... I don't see anywhere in code where this situation would arise, we're
testing to make sure the fix command is not the empty string before displaying.
Can you please provide the summary and descriptive text from the alert so we can
match it up with the plugin which generated it. Thanks!

Comment 3 Pete Graner 2006-08-24 14:09:48 UTC
Created attachment 134814 [details]
Screen shot showing missing command

Attaching screen shot.

Comment 4 John Dennis 2006-09-07 19:57:27 UTC
Karl, I think this should be resolved with the new html code generator you
checked in. If so, could you please close this out, if not could you take a look
at it? I'm reassigning this to you.

Comment 5 Karl MacMillan 2006-09-07 20:23:11 UTC
Fixed with the new html generation.