Bug 1392162

Summary: SELinux is preventing gutenprint52+us from using the 'wake_alarm' capabilities.
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:363f689361791ab26103b0c694815c6a3d466965a8f30cd09be55b534ea08513;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.13.1-251.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-09 21:21:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nicolas Mailhot 2016-11-05 12:42:53 UTC
Description of problem:
SELinux is preventing gutenprint52+us from using the 'wake_alarm' capabilities.

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

If vous pensez que gutenprint52+us devrait avoir des capacités wake_alarm par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
Do
allow this access for now by executing:
# ausearch -c 'gutenprint52+us' --raw | audit2allow -M my-gutenprint52us
# semodule -X 300 -i my-gutenprint52us.pp

Additional Information:
Source Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Objects                Unknown [ capability2 ]
Source                        gutenprint52+us
Source Path                   gutenprint52+us
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-221.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.0-1.fc26.x86_64 #1 SMP Mon Oct
                              3 14:09:56 UTC 2016 x86_64 x86_64
Alert Count                   4
First Seen                    2016-10-29 10:47:22 CEST
Last Seen                     2016-10-29 10:47:23 CEST
Local ID                      2136f409-817d-49ff-b724-f0909574c070

Raw Audit Messages
type=AVC msg=audit(1477730843.68:960): avc:  denied  { wake_alarm } for  pid=12645 comm="hpfax" capability=35  scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tclass=capability2 permissive=0


Hash: gutenprint52+us,cupsd_t,cupsd_t,capability2,wake_alarm

Version-Release number of selected component:
selinux-policy-3.13.1-221.fc26.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.0-1.fc26.x86_64
type:           libreport

Potential duplicate: bug 1390006

Comment 1 Fedora End Of Life 2017-02-28 10:33:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Fedora Update System 2017-04-19 20:39:01 UTC
selinux-policy-3.13.1-251.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f36794dd98

Comment 3 Fedora Update System 2017-04-20 20:23:38 UTC
selinux-policy-3.13.1-251.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f36794dd98

Comment 4 Fedora Update System 2017-05-09 21:21:32 UTC
selinux-policy-3.13.1-251.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.