Bug 883328

Summary: SELinux is preventing /usr/libexec/cups-pk-helper-mechanism from 'setattr' accesses on the file tmpvCkFsj.
Product: [Fedora] Fedora Reporter: mruminski
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:51b9a9028a8a7f92d37867fb5f5307fa8260052f27583cf149ad0e8447028669
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-07 07:17:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

Description mruminski 2012-12-04 10:24:37 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.8-2.fc17.i686

description:
:SELinux is preventing /usr/libexec/cups-pk-helper-mechanism from 'setattr' accesses on the file tmpvCkFsj.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If aby cups-pk-helper-mechanism powinno mieć domyślnie setattr dostęp do tmpvCkFsj file.
:Then proszę to zgłosić jako błąd.
:Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp.
:Do
:można tymczasowo zezwolić na ten dostęp wykonując polecenia:
:# grep cups-pk-helper- /var/log/audit/audit.log | audit2allow -M mojapolityka
:# semodule -i mojapolityka.pp
:
:Additional Information:
:Source Context                system_u:system_r:cupsd_config_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:user_tmp_t:s0
:Target Objects                tmpvCkFsj [ file ]
:Source                        cups-pk-helper-
:Source Path                   /usr/libexec/cups-pk-helper-mechanism
:Port                          <Nieznane>
:Host                          (removed)
:Source RPM Packages           cups-pk-helper-0.2.2-1.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-161.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.8-2.fc17.i686 #1 SMP Tue Nov
:                              27 20:14:11 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    2012-12-04 11:23:26 CET
:Last Seen                     2012-12-04 11:23:26 CET
:Local ID                      c5891754-3782-43a3-956f-ee7401fd5560
:
:Raw Audit Messages
:type=AVC msg=audit(1354616606.783:146): avc:  denied  { setattr } for  pid=2436 comm="cups-pk-helper-" name="tmpvCkFsj" dev="dm-1" ino=6538 scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1354616606.783:146): arch=i386 syscall=chown32 success=no exit=EACCES a0=99164c8 a1=3e8 a2=3e8 a3=0 items=0 ppid=1 pid=2436 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=cups-pk-helper- exe=/usr/libexec/cups-pk-helper-mechanism subj=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 key=(null)
:
:Hash: cups-pk-helper-,cupsd_config_t,user_tmp_t,file,setattr
:
:audit2allow
:
:#============= cupsd_config_t ==============
:allow cupsd_config_t user_tmp_t:file setattr;
:
:audit2allow -R
:
:#============= cupsd_config_t ==============
:allow cupsd_config_t user_tmp_t:file setattr;
:

Comment 1 mruminski 2012-12-04 10:24:41 UTC
Created attachment 657415 [details]
File: type

Comment 2 mruminski 2012-12-04 10:24:43 UTC
Created attachment 657416 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-12-04 14:11:17 UTC
Does everything work?

Comment 4 Fedora End Of Life 2013-07-04 00:54:00 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.