Bug 1392250

Summary: SELinux is preventing icecc-scheduler from 'execute' accesses on the file /usr/bin/bash.
Product: [Fedora] Fedora Reporter: Daniel <code>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b9e6403cb80cc19d8018071abf32fb216c4b345cc9d649accada03be08089784;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-06 23:22:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Daniel 2016-11-06 22:58:52 UTC
Description of problem:
SELinux is preventing icecc-scheduler from 'execute' accesses on the file /usr/bin/bash.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that icecc-scheduler should be allowed execute access on the bash file 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:
# ausearch -c 'icecc-scheduler' --raw | audit2allow -M my-iceccscheduler
# semodule -X 300 -i my-iceccscheduler.pp

Additional Information:
Source Context                system_u:system_r:icecc_scheduler_t:s0
Target Context                system_u:object_r:shell_exec_t:s0
Target Objects                /usr/bin/bash [ file ]
Source                        icecc-scheduler
Source Path                   icecc-scheduler
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unknown>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.4-200.fc24.x86_64 #1 SMP Tue
                              Oct 25 13:06:04 UTC 2016 x86_64 x86_64
Alert Count                   6
First Seen                    2016-11-05 00:03:57 CET
Last Seen                     2016-11-06 23:57:52 CET
Local ID                      a1f5cd4d-0c2d-46f4-be9b-35c8f66ef0b9

Raw Audit Messages
type=AVC msg=audit(1478473072.733:437): avc:  denied  { execute } for  pid=27745 comm="icecc-scheduler" path="/usr/bin/bash" dev="sdc3" ino=4100983 scontext=system_u:system_r:icecc_scheduler_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file permissive=0


Hash: icecc-scheduler,icecc_scheduler_t,shell_exec_t,file,execute


Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.8.4-200.fc24.x86_64
type:           libreport

Comment 1 Daniel 2016-11-06 23:22:53 UTC

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