SELinux is preventing /usr/bin/at from

Latest response

Hello,

I am new to RHEL, I have experiences with CentOS. I installed RHEL 8.3. But I am strugling with Selinux and at daemon. I can't get rid of selinux alerts:

SELinux is preventing /usr/bin/at from setattr access on the file q0007f019a10ab
SELinux is preventing /usr/bin/at from read access on the file .SEQ.
SELinux is preventing /usr/bin/at from write access on the file .SEQ.
SELinux is preventing /usr/bin/at from remove_name access on the directory p00077019a10a9.
SELinux is preventing /usr/bin/at from lock access on the file /var/spool/at/.SEQ.

Every error shows me this help:

If you believe that at should be allowed read access on the .SEQ file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:

ausearch -c 'at' --raw | audit2allow -M my-at

semodule -X 300 -i my-at.pp

But suggested commands don't resolve these errors. It still persist.
Google wasn't helping at all.

Thanks

Responses