Red Hat Bugzilla – Bug 1460500
SELinux Alert Browser view mangled and "Report bug" option missing
Last modified: 2018-03-25 05:11:45 EDT
Created attachment 1286819 [details]
The affected view of alert 2 - try 1
Description of problem:
I have received a new selinux alerts. While browsing them with SELinux Alert Browser and reporting them as bugs, it seems that the SELinux Alert Browser (further referred to as SAB) misbehaves.
Version-Release number of selected component (if applicable):
Run dnf update, browse SELinux alerts and report bug for each of the reported alerts.
Steps to Reproduce:
1. dnf update
2. Open SELinux Alert Browser
3. Browse through the reported alerts. Report bug for each of them.
There are three alerts. For alert 1 and alert 3, information is properly displayed and report bug option is available. For alert 2, wrong information is displayed (date, alert number) and "report bug" option is missing. The date for alert 2 is the date of other alert, which was displayed prior displaying alert 2. I.e. if alert 1 is displayed and Next is clicked, then the date of alert 1 is displayed instead of date of alert 2 and also number of the alert keeps sayiing alert 1 of 3. If alert 3 is displayed and Previous is clicked, then date and alert number of alert 3 is retained in the view, while description of alert 2 is displayed and Report bug option is missing.
Proper alert number and date are displayed for alert 2.
Report bug option is displayed for alert 2.
Created attachment 1286820 [details]
The affected view of alert 2 - try 2
Created attachment 1286821 [details]
View of actual alert 3 - correct
Created attachment 1286822 [details]
View of actual alert 1 - correct
Please let me know if you need more info from affected system.
(In reply to Mirek Svoboda from comment #0)
> Expected results:
> Proper alert number and date are displayed for alert 2.
We were not able to reproduce it locally. Is it still problem for you with the latest setroubleshoot?
Is this issue repeatable or was it one time problem?
> Report bug option is displayed for alert 2.
Some of the plugins don't allow "Report Bug" button and this is one of them.
Could you please share the complete sealert report with AVC messages?
Either use 'Details' button or 'sealert -l <id>' command
I cannot reproduce the issue now. Seems it happened only with such AVC report involved which does not allow for sending a bug report. Currently, there are no such reports stored on my system.
I think this is obsolete now.