When SELinux is enabled, ras-mc-ctl.service fails to be started
xiaoge1001 opened this issue · 3 comments
xiaoge1001 commented
Reproduction procedure:
dnf install -y rasdaemon
setenforce 1
systemctl start ras-mc-ctl.service
systemctl status ras-mc-ctl.service
This problem occurs in my machine, but I don't get valuable output error information. Why does the service fail to be started?
xiaoge1001 commented
I don't know why. I temporarily use the following method to avoid it. Is this the right? What's the risk?
mchehab commented
It seems to be a distro-specific issue. Perhaps some permissions are missing for rasdaemon at the selinux policies.
im-0 commented
I was able to figure out what is going on. Please see fedora-selinux/selinux-policy#2055 and #148