SELinux blocking rhsmcertd-worke to write to /var/lib/rpm

Solution Unverified - Updated -

Issue

  • Activated SELinux in permissive mode. It seems SELinux would be blocking rhsmcertd-worke to write to /var/lib/rpm if in enforcing mode.
[root@localhost ~]# grep -i selinux /var/log/messages | grep preven | grep "Oct  7"
Oct  7 11:08:30 lau005 setroubleshoot: SELinux is preventing /usr/bin/python2.7 from write access on the directory . For complete SELinux messages. run sealert -l 93c23d54-33c0-4b9a-b5da-8d6fbcafc463
Oct  7 11:08:30 lau005 python: SELinux is preventing /usr/bin/python2.7 from write access on the directory .
Oct  7 11:08:30 lau005 setroubleshoot: SELinux is preventing /usr/bin/python2.7 from write access on the directory . For complete SELinux messages. run sealert -l 93c23d54-33c0-4b9a-b5da-8d6fbcafc463
Oct  7 11:08:30 lau005 python: SELinux is preventing /usr/bin/python2.7 from write access on the directory .
Oct  7 11:08:30 lau005 setroubleshoot: SELinux is preventing /usr/bin/python2.7 from write access on the directory . For complete SELinux messages. run sealert -l 93c23d54-33c0-4b9a-b5da-8d6fbcafc463
Oct  7 11:08:30 lau005 python: SELinux is preventing /usr/bin/python2.7 from write access on the directory .

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.