Article 51493 Questions about audit and selinux

Questions about audit and selinux

by
真無趣阿
from LinuxQuestions.org on (#51493)
Recently wanted to keep log on auditd via logrotate
But seliunx keeps blocking
It is also invalid to follow the action recommended by selinux
The action is as follows

ausearch -c 'logrotate' --raw | audit2allow -M logrotate

semodule -i logrotate.pp

But the result is still invalid
How can I do this without closing selinux?

The second question is I checked on the Internet, change the `selinux` label to `var_t`. But what I want to ask is how do I know he is the tag I want to change `var_t` Instead of other tags I still can't tell if I have `audit2allow` and `semanage boolen`latest?d=yIl2AUoC8zA latest?i=ONe_QuwFNgs:zYG2zPZ_pzw:F7zBnMy latest?i=ONe_QuwFNgs:zYG2zPZ_pzw:V_sGLiP latest?d=qj6IDK7rITs latest?i=ONe_QuwFNgs:zYG2zPZ_pzw:gIN9vFwONe_QuwFNgs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments