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:
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.
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!
Created attachment 134814 [details] Screen shot showing missing command Attaching screen shot.
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.
Fixed with the new html generation.