New, Repeating AVC: SELinux is preventing pmdalinux from search access on the directory pressure

I just did a weekly update on F41, and now I’m getting this AVC multiple times every minute.

You might trying sudo restorecon -rv /var/lib/pcp.

If that doesn’t work you could try reinstalling pcp (Performance Co-Pilot) with sudo dnf reinstall pcp.

The final option would be to disable or uninstall Performance Co-Pilot.

If neither the first or second option works, you should report the bug.

This seemed like a good suggestion to me, but it didn’t seem to stop the AVCs.

I think the ‘pressure’ directory to which the msg refers is /proc/pressure.

I’ll put in a bug report. Thanks for your advice.

It’s been fixed upstream:

If you want to fix it locally, as I did after the 1,400+ notification, configure and build but not install from source. Then go into src/selinux and pickup from the directions here:

You’ll have to use the second command:

sudo semodule -X 200 -i pcp.pp

1 Like