Xymon Mailing List Archive search

selinux messages during package update

3 messages in this thread

list Jeremy Laidman · Wed, 10 Feb 2016 02:41:30 +0000 ·
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
list Matt Vander Werf · Wed, 10 Feb 2016 11:24:27 -0500 ·
Hi Jeremy,

Do you have selinux enabled?

I get similar messages to these on my RHEL 7 Xymon server when upgrading
and I don't have selinux enabled. I had asked J.C. about it previously and
he pretty much just said that they were there because I didn't have selinux
enabled. So, I just ignore them now.

--
Matt Vander Werf

On Tue, Feb 9, 2016 at 9:41 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid>
quoted from 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

list Japheth Cleaver · Wed, 10 Feb 2016 09:36:53 -0800 ·
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
quoted from Jeremy Laidman


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