Bug 1373949 - SELinux is preventing hp from 'wake_alarm' accesses on the capability2 Unknown.
Summary: SELinux is preventing hp from 'wake_alarm' accesses on the capability2 Unknown.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-07 13:49 UTC by Joachim Frieben
Modified: 2016-11-18 15:18 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-224.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-18 15:18:12 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.