Bug 1947735 - EPEL8 SElinux prevents nagios starting
Summary: EPEL8 SElinux prevents nagios starting
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nagios
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Guido Aulisi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-09 04:41 UTC by George
Modified: 2021-04-09 09:41 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description George 2021-04-09 04:41:20 UTC
Description of problem:
SELINUX prevents nagios from starting after updating from
nagios-4.4.5-1.el8  to  4.4.6-4.el8
Version-Release number of selected component (if applicable):
 4.4.6-4.el8

How reproducible:
always

Steps to Reproduce:
1. dnf update
2. restart nagios
3.

Actual results:
SElinux prevents nagios starting


Expected results:
nagios starts

Additional info:
Apr 09 13:11:50 xxxxxxxx setroubleshoot[2713]: SELinux is preventing /usr/sbin/nagios (deleted) from search access on the directory private.

looks like the context has changed from 
 unconfined_u:object_r:nagios_etc_t:s0
to
system_u:object_r:nrpe_etc_t:s0

Comment 1 Guido Aulisi 2021-04-09 09:41:27 UTC
Cannot reproduce on a fresh installation of nagios on CentOS 8 stream.
Maybe a filesystem relabel could help.


Note You need to log in before you can comment on or make changes to this bug.