My Oracle Support Banner

Oracle Linux: SeLinux ON Prevents Successful Yum Update (Doc ID 2669234.1)

Last updated on MAY 16, 2020

Applies to:

Linux OS - Version Oracle Linux 7.0 with Unbreakable Enterprise Kernel [3.8.13] and later
Linux x86-64

Symptoms

 With selinux on, yum update hang on initscripts RPM installation.

From /var/log/messages, we can see

Apr 12 11:27:42 localhost setroubleshoot: SELinux is preventing /usr/lib/systemd/systemd-logind from mounton access on the directory . For complete SELinux messages. run sealert -l 629d15df-67da-4a87-936c-2293ed01bfc1
Apr 12 11:27:42 localhost python: SELinux is preventing /usr/lib/systemd/systemd-logind from mounton access on the directory .
***** Plugin catchall (100. confidence) suggests **************************
If you believe that systemd-logind should be allowed mounton access on the directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep systemd-logind /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
 Goal
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.