Bug 1296348 - SELinux is preventing cups-pk-helper- from 'getattr' accesses on the file /tmp/cupsjXWepA.
Summary: SELinux is preventing cups-pk-helper- from 'getattr' accesses on the file /tm...
Keywords:
Status: CLOSED DUPLICATE of bug 1296349
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:73941ee801a2c702b039a836b02...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-06 23:45 UTC by Joachim Frieben
Modified: 2016-01-07 14:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-07 14:08:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joachim Frieben 2016-01-06 23:45:02 UTC
Description of problem:
SELinux is preventing cups-pk-helper- from 'getattr' accesses on the file /tmp/cupsjXWepA.

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

If you believe that cups-pk-helper- should be allowed getattr access on the cupsjXWepA file 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:
# grep cups-pk-helper- /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:cupsd_config_t:s0-s0:c0.c1023
Target Context                system_u:object_r:tmpfs_t:s0
Target Objects                /tmp/cupsjXWepA [ file ]
Source                        cups-pk-helper-
Source Path                   cups-pk-helper-
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-164.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.4.0-0.rc8.git0.1.fc24.x86_64 #1
                              SMP Mon Jan 4 17:13:26 UTC 2016 x86_64 x86_64
Alert Count                   2
First Seen                    2016-01-06 23:23:26 CET
Last Seen                     2016-01-06 23:23:52 CET
Local ID                      73930afd-7207-4353-8c50-5626bbc7bca4

Raw Audit Messages
type=AVC msg=audit(1452119032.859:594): avc:  denied  { getattr } for  pid=2528 comm="cups-pk-helper-" path="/tmp/cupsjXWepA" dev="tmpfs" ino=60768 scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file permissive=1


Hash: cups-pk-helper-,cupsd_config_t,tmpfs_t,file,getattr

Version-Release number of selected component:
selinux-policy-3.13.1-164.fc24.noarch

Additional info:
reporter:       libreport-2.6.3
hashmarkername: setroubleshoot
kernel:         4.4.0-0.rc8.git0.1.fc24.x86_64
type:           libreport

Comment 1 Daniel Walsh 2016-01-07 14:08:56 UTC

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


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