SELinux 正在阻止 /usr/sbin/abrtd 在 lnk_file .lock 上建立存取權限

SELinux 正在阻止 /usr/sbin/abrtd 在 lnk_file .lock 上建立存取權限

我的通知托盤中不斷出現此錯誤作業系統7桌面。以下是 SELinux 警報瀏覽器的螢幕截圖。

在此輸入影像描述

我嘗試執行此視窗的解決方案標籤中給出的以下命令,但它也不起作用。

sudo ausearch -c 'abrtd' --raw | audit2allow -M my-abrtd

傳回以下錯誤

could not write output file: [Errno 13] Permission denied: 'my-abrtd.te'

如何解決這個問題?


更新#1

我能夠執行此視窗的解決方案標籤中給出的命令。問題是管道命令沒有權限。以下是我運行的命令。

$ sudo ausearch -c 'abrtd' --raw | sudo audit2allow -M my-abrtd
$ sudo semodule -i my-abrtd.pp

但這並沒有解決問題。我仍然遇到同樣的錯誤。


更新#2

我在設定檔中將SELinux 模式更改enforcing為。這次我得到了以下錯誤。permissive/etc/selinux/config

在此輸入影像描述

相關內容