Hi Jeremy,
I think your mail server doesn't like messages coming from me :) I replied both times to the private emails.
These messages can be ignored if you have SELinux actually disabled (not in permissive mode) and don't intend to re-enable it later on.
If it's disabled at package install but you later enable it, you'll want
to run the various policy module commands manually afterwards to get it to
work (to see them, run rpm -q --scripts xymon and look for the %post
section).
HTH, -jc
On Tue, February 9, 2016 6:41 pm, Jeremy Laidman wrote:
Hi
I have a couple of Xymon servers running RHELv6.7. I use the terabithia.org repo for the Xymon package, and it's been working just fine.
However, recently I did a "yum update" and saw a message that was of concern to me. There were quite a few packages to update because it had been a while since I applied the last round of updates. Amidst the stream of updates was a bunch of errors related to xymon and selinux:
Updating : xymon-4.3.24-3.el6.x86_64 178/481 SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.24, searching for an older version. SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.24: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.24, searching for an older version. SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.24: No such file or directory (repeated about 20 times)
I'm inexperienced with selinux troubleshooting, and apart from knowing the concepts behind how it all works, I'm really in the dark about what goes on behind the scenes.
Are these messages cause for concern? Is there something I need to do in order to complete the selinux policy update? Or something I can do next time to avoid the error messages?
Cheers Jeremy
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon