-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filtering out non-admin user reports #494
Comments
It works for me on Fedora 26.
What system are you using? |
I have a CentOS 7.3 system. It does seem to work in most cases. It seemed to not work when I had a multiple processes SIGBUS at once. So this will probably be rare and not worth pursuing.
I added the exact same rule under EVENT=notify and restarted abrtd to see if that helps Thanks |
Well, now I am really confused. On this machine on single event I see it ignored
but hours later one is not ignored
Is it because the second one is a DUP? How do I suppress notification on DUPs for non-admin users? |
There might be a problem with a race condition. You need to ensure abrtd executes your as the first post-create event. Unfortunately, it is not an easy task - see #325 - but adding the "01" prefix to the file name should help. |
Is there still something to be resolved? |
We will try to reproduce it. |
I ended up creating a cron job on all my machines to just remove all dirs in /var/spool/abrt where username is not root. So I don't know if it is still happening on DUPs. The other issue of just preventing any abrt being written for non-root users in the first place would essentially solve this for me. |
I am trying to ignore reports from abrt for non-admin users (uid > 999) and created the file
/etc/libreport/events.d/abrt_ignore_users.conf
however it is not working and I still get CCpp reports when a user with uid > 999 has a program fault
What am I doing wrong?
The text was updated successfully, but these errors were encountered: