Fapolicyd

From wiki
Revision as of 17:23, 25 October 2022 by Mike (talk | contribs) (Created page with "Troubleshoot fapolicyd on RHEL8 systemctl disable fapolicyd systemctl stop fapolicyd fapolicyd --debug-deny 2> ''fapolicy.output'' & fg cat ''fapolicy.output'' | grep 'deny_audit' sed -i '14i\allow exe=/usr/bin/bash dir=/opt/acala' /etc/fapolicyd/fapolicyd.rules")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Troubleshoot fapolicyd on RHEL8

systemctl disable fapolicyd

systemctl stop fapolicyd

fapolicyd --debug-deny 2> fapolicy.output &

fg

cat fapolicy.output | grep 'deny_audit'

sed -i '14i\allow exe=/usr/bin/bash dir=/opt/acala' /etc/fapolicyd/fapolicyd.rules