Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1385769 - SELinux is preventing gutenprint52+us from using the 'wake_alarm' capabilities.
Summary: SELinux is preventing gutenprint52+us from using the 'wake_alarm' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 1390006
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:363f689361791ab26103b0c6948...
: 1388181 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-17 16:20 UTC by Joachim Frieben
Modified: 2016-10-31 21:37 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-31 21:37:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joachim Frieben 2016-10-17 16:20:46 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-219.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.1-1.fc25.x86_64 #1 SMP Fri Oct
                              7 14:38:22 UTC 2016 x86_64 x86_64
Alert Count                   3
First Seen                    2016-10-17 18:18:23 CEST
Last Seen                     2016-10-17 18:18:23 CEST
Local ID                      284a838f-523d-485b-8f09-76e7b5c70b55

Raw Audit Messages
type=AVC msg=audit(1476721103.751:394): avc:  denied  { wake_alarm } for  pid=8972 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: gutenprint52+us,cupsd_t,cupsd_t,capability2,wake_alarm

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

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.1-1.fc25.x86_64
type:           libreport

Comment 1 hamedmemar 2016-10-24 16:54:14 UTC
*** Bug 1388181 has been marked as a duplicate of this bug. ***

Comment 2 Lukas Vrabec 2016-10-31 21:37:43 UTC

*** This bug has been marked as a duplicate of bug 1390006 ***


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