Bug 1404037 - 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 EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:363f689361791ab26103b0c6948...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-12 22:52 UTC by Mostafa El Nazer
Modified: 2016-12-20 21:45 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-20 21:45:07 UTC
Type: ---


Attachments (Terms of Use)

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.


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