# ausearch -m avc # 監査ログを見てみます # cat /var/log/audit/audit.log | grep nginx | audit2allow -m nginx # audit2allow -m コマンドでポリシーモジュールを作成 上記で問題なさそうなら # cat /var/log/audit/audit.log | grep nginx | audit2allow -M nginx # audit2allow -M でモジュールパッケージ(バイナリファイル)を作成 # semodule -i nginx.pp # 作成したモジュールパッケージを適用