Bug 1374990 - SELinux is preventing hpfax from using the 'wake_alarm' capabilities.
Summary: SELinux is preventing hpfax from using the 'wake_alarm' capabilities.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9f6099d76f9604329b8e60af99b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-11 13:16 UTC by Joachim Frieben
Modified: 2016-11-18 15:19 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:19:24 UTC
Type: ---


Attachments (Terms of Use)

Description Joachim Frieben 2016-09-11 13:16:22 UTC
Description of problem:
SELinux is preventing hpfax from using the 'wake_alarm' capabilities.

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

If you believe that hpfax 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 'hpfax' --raw | audit2allow -M my-hpfax
# semodule -X 300 -i my-hpfax.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                        hpfax
Source Path                   hpfax
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 (removed) 4.8.0-0.rc5.git1.1.fc25.x86_64 #1
                              SMP Tue Sep 6 15:52:10 UTC 2016 x86_64 x86_64
Alert Count                   3
First Seen                    2016-09-11 14:57:55 CEST
Last Seen                     2016-09-11 14:57:55 CEST
Local ID                      79830c1a-d446-47d0-850f-38edb7d967ca

Raw Audit Messages
type=AVC msg=audit(1473598675.854:313): avc:  denied  { wake_alarm } for  pid=23712 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: hpfax,cupsd_t,cupsd_t,capability2,wake_alarm

Version-Release number of selected component:
selinux-policy-3.13.1-211.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.0-0.rc5.git1.1.fc25.x86_64
type:           libreport

Comment 1 Fedora Admin XMLRPC Client 2016-09-27 15:02:40 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.