oracle-linux
oracle-linux copied to clipboard
Systemd update causes SELinux to deny cockpit.socket when updating the MOTD
A recent systemd update (either systemd-239-74.0.5.el8_8.5.x86_64.rpm or systemd-239-74.0.6.el8_8.5.x86_64.rpm) results in SELinux denials when starting cockpit.
This prevents cockpit.socket's ExecStartPost script form getting the correct listening port when updating the MOTD.
This is a pretty tiny effect and I only noticed because of the new denials.
Steps to reproduce:
Clean install of OL8 that includes cockpit
sudo systemctl start cockpit
sudo ausearch -m avc
You can stop it from happening by downgrading to systemd-239-74.0.4.el8_8.3.x86_64.rpm and rebooting.
@AmedeeBulle - Our contact at Oracle recommended I ping you about this issue. Can you get someone to take a look at it?
Is this issues page the replacement for bugzilla.oracle.com?
I'll report this internally
Cannot be reproduced with systemd-239-78.0.1.el8.x86_64 (actual latest).
I am still seeing this with Name : systemd Version : 239 Release : 78.0.3.el8
I just confirmed again by doing a fresh net install of OL8.9. After install, I ran systemctl enable --now cockpit.socket, logged out, logged back in, ran ausearch -m avc` and got the same denial.