Bug 1404037

Summary: SELinux is preventing gutenprint52+us from using the 'wake_alarm' capabilities.
Product: [Fedora] Fedora Reporter: Mostafa El Nazer <mostafa.elnazer>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: alexgnuant, dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:363f689361791ab26103b0c694815c6a3d466965a8f30cd09be55b534ea08513;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 21:45:07 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 Mostafa El Nazer 2016-12-12 22:52:16 UTC
Description of problem:
SELinux is preventing gutenprint52+us from using the 'wake_alarm' capabilities.

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

If you believe that gutenprint52+us should have the wake_alarm capability 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 '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-158.24.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.11-100.fc23.x86_64 #1 SMP Mon
                              Nov 28 17:37:32 UTC 2016 x86_64 x86_64
Alert Count                   8
First Seen                    2016-12-13 00:48:54 EET
Last Seen                     2016-12-13 00:51:17 EET
Local ID                      b3992ba2-15e9-49cc-bbfa-c6d2e7de86e8

Raw Audit Messages
type=AVC msg=audit(1481583077.448:328): avc:  denied  { wake_alarm } for  pid=12883 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-158.24.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.8.11-100.fc23.x86_64
type:           libreport

Potential duplicate: bug 1390006

Comment 1 Fedora End Of Life 2016-12-20 21:45:07 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.