Bug 1410199

Summary: SELinux prevents puppetmaster service from starting.
Product: Red Hat Enterprise Linux 7 Reporter: Fred Wittekind IV <rom>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.3CC: lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-05 10:55:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fred Wittekind IV 2017-01-04 18:20:30 UTC
Description of problem:
Puppet Master service fails to start after update to 7.3, worked in 7.2

Version-Release number of selected component (if applicable):
CentOS Linux release 7.3.1611 (Core)
selinux-policy-3.13.1-102.el7_3.7.noarch
selinux-policy-targeted-3.13.1-102.el7_3.7.noarch
puppet-server-3.6.2-3.el7.noarch (from EPEL)
puppet-3.6.2-3.el7.noarch (from EPEL) 

How reproducible:
100%

Steps to Reproduce:
1. systemctl start puppetmaster 
2. setenforce 0
3. systemctl start puppetmaster

Actual results:
start-puppet-master: /usr/bin/start-puppet-master: line 6: /usr/bin/puppet: Permission denied

Puppet master service starts after "setenforce 0"

Expected results:
Puppet master service should start with SELinux in enforcing mode.

Additional info:
# audit2allow <audit.log


#============= puppetmaster_t ==============
allow puppetmaster_t puppetagent_exec_t:file { execute execute_no_trans getattr ioctl open read };

Comment 1 Milos Malik 2017-01-05 09:42:15 UTC
I believe this bug is duplicate of BZ#1376893.

Comment 2 Lukas Vrabec 2017-01-05 10:55:37 UTC

*** This bug has been marked as a duplicate of bug 1376893 ***