Bug 1373949

Summary: SELinux is preventing hp from 'wake_alarm' accesses on the capability2 Unknown.
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-224.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-18 15:18:12 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:

Description Joachim Frieben 2016-09-07 13:49:22 UTC
SELinux is preventing hp from using the wake_alarm capability.

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

If you believe that hp 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 'hp' --raw | audit2allow -M my-hp
# semodule -X 300 -i my-hp.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                        hp
Source Path                   hp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-211.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux noname 4.8.0-0.rc4.git0.1.fc25.x86_64 #1 SMP
                              Mon Aug 29 19:28:01 UTC 2016 x86_64 x86_64
Alert Count                   4
First Seen                    2016-09-07 15:40:48 CEST
Last Seen                     2016-09-07 15:40:55 CEST
Local ID                      1d7f0113-9824-4fe8-a7c7-0a7016491584

Raw Audit Messages
type=AVC msg=audit(1473255655.417:247): avc:  denied  { wake_alarm } for pid=2452 comm="gutenprint52+us" 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: hp,cupsd_t,cupsd_t,capability2,wake_alarm

Comment 1 Fedora Admin XMLRPC Client 2016-09-27 15:03:28 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.