Closed julianbrost closed 1 year ago
I have manually built the SELinux module on my fedora vm and it works!
[root@yh-fedora icinga2-selinux]# ps -eZ | grep icinga
system_u:system_r:icinga2_t:s0 1592 ? 00:00:00 icinga2
system_u:system_r:icinga2_t:s0 1634 ? 00:00:00 icinga2
system_u:system_r:icinga2_t:s0 1643 ? 00:00:00 icinga2
So might be more of a packaging issue then? I have observed something similar when installing the package on a CentOS 7 installed from an ancient image without installing system updates first, so might be some kind of version mismatch. But I don't know about the compatibility of *.pp
files and when they have to be recompiled.
Forgot to mention: when installing the snapshot packages, the policy works fine. So most certainly something with the packaging, missing versioned dependency or rebuild or something like that.
Fixed by Icinga/icinga2#9664.
To Reproduce
icinga2
andicinga2-selinux
packages from packages.icinga.comsystemctl start icinga2
Additional info
The command used by the
%post
scriptlet of the RPM fails to install the policy module:(No error is visible during the actual package installation.)
Your Environment
icinga2 --version
): r2.13.4-1