Re: How do I stop ignoring an alert?

Petr Lautrbach <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <20180528161213.GD2546@workstation>
Is it Fedora? CentOS? Which version of setroubleshoot?


On Mon, May 28, 2018 at 11:07:39AM -0400, John Griffiths wrote:
> That brings up the browser just fine, but there is not a list of alerts.
> It says, "No alerts."



> If the alert is ignored, it does not show in the browser as far as I know.

The browser should show the same list of alerts as the following command:

$ sealert -l '*'

It's a list of all stored alerts.

If an alert is ignored, setroubleshood server doesn't sent DBUS signal with
the alert and therefore seapplet doesn't show a notification. But when you open
sealert browser, the alert should be there.

There's another button `List All Alerts` where you can list all alerts and see
their statuses and how many time they occurred.


If you have 'No Alerts' then you might be just lucky.

You can try to generate an alert to check if it works correctly. Something like:

$ sudo runcon system_u:system_r:httpd_t:s0 bash -c 'hostname'





> What I am looking for is a way to display alerts that have been ignored
> and no longer display in the browser by default. Is there an option for
> that? The sealert --help shows none that are obvious.
> 
> If the installation of a new policy wipes the ignore data, then that is
> fine and eventually solves my issue. If it doesn't, then my question
> remains.
> 





> Thanks,
> John
> 
> On 05/28/2018 10:06 AM, Petr Lautrbach wrote:
> > On Sat, May 26, 2018 at 09:26:22PM -0000, John Griffiths wrote:
> >> I have marked some recurring alerts as "ignore" in sealert browser. There have been some recent policy updates and I want to now receive alerts for those alerts to see if they were fixed in the update. 
> >>
> >> I have read the man pages for sealert and setroubleshootd and cannot find any reference to a command or an edit to be able to stop ignoring an alert. 
> >>
> >> Is there such a command? Do I have to edit a file? If so, which one?
> >>
> > You can run sealert browser (`sealert` from command line, `SELinux
> > Troubleshooter` from desktop ui) and go through the list of problems. When you find
> > the one you want to un-ignore, hit `Notify` button or delete the problem.
> >
> > Petr
> 
>

_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]/message/NEVJVF2RPERFW5DTTDRDRPUPWEIGPSHI/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE1qW2HJpVNBaCkttnviIJHj72InUFAlsMKlYACgkQviIJHj72
InUSVA/+P5XCqNWHQuZlLsWFy0o0s542sYhSaDy8og7k4MOlJLZg/9hHLUrbfrx1
ZG/VsRLCEcSE4f12njl2nVN3O6wDZ3kRXeAyaWTtB1zzG1Dn3DB9IGbxv1NBlYcE
xxjSA83vRiYR7AxuOw3aLFTP+j9MBOgX9N/kr45v4SLbX03oiO8A+bgBuI4eXa4M
4m3q+vhDAaUqDgqZv4Z/hI3NSs9xaFVd3R18/yMfzfDexpf0o1D+JJvnyKNGM83b
CFQ68lYGpr4Iup4McibYFVP82aVa3lBaYaS1xb4MPtbpJQzzwZKo9Otfaud7czut
WKeXxfJGFXO3bVLx4T9PRCKb8VV/zdhMiRmcEn8+M5mbShPTmQWAjFLvnJfLeV4U
PzrA/y92haqK/fXz/q0t9Fc956HKr16s7lihvPc8CW7c/nGKGjht+Z2ePlixQyiS
1pjHfLqXAfyS342kcAzHBlaNv0/Hc5jPkirOri1FLuxH6EXtNMgTlH8gtMlQiYhh
97GtKIs96guGL1wEctSS0iqMlqttVjQxFksHeX5GIlJgrWrAJGpJk43hFEFg7vvq
QfBTXAbMA0hBLrI+7hyw0izgkgBqhHR2aZs35gbqdAk0/GwIEOO+JOH5/YeCZEnz
bKc7kXXwNGqRlQRtwHydWT2rQsoIooC5GPWcgvgSjc3gmBakwbc=
=IsdA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.