Open scaronni opened 1 year ago
Beside the appropriate fix, I would suggest to show errors in the postinstall
, so you can probably notice it, and not redirect everything to /dev/null
.
Thanks.
Hi,
Thanks for the report. Will be fixed asap.
All the best, Eric
Hi @lippserd any update? there is a merge request open to fix the issue.
Thanks.
2.13.7 with the fix included will be released tomorrow.
Thanks, it works, booleans are there.
The error that was present before 2.13.6-2 is still there, though:
# for selinuxvariant in mls targeted; do /usr/sbin/semodule -s ${selinuxvariant} -i /usr/share/selinux/${selinuxvariant}/icinga2.pp; done
Failed to resolve booleanif statement at /var/lib/selinux/mls/tmp/modules/400/icinga2/cil:1894
Failed to resolve AST
/usr/sbin/semodule: Failed!
We are paying the subscription to get official Icinga packages for EL distributions. The latest
icinga2-selinux-2.13.6-2
packages are broken, on a new install there are no SELinux booleans available.The
postinstall
scriptlet has not changed between2.13.6-1
and2.13.6-2
.With
2.13.6-1
there is some error but in the end the booleans are there:With
2.13.6-2
there are 2 errors and in the end the booleans are not there:Of course if you do an upgrade, the previous policy is installed and you're not noticing anythig as you're redirecting everything to
/dev/null
inpostinstall
.