Bug 170444

Summary: "avc: denied" messages in audit.log for comm="printconf-tui", name="printconf.pickle"
Product: [Fedora] Fedora Reporter: Ozgur M. Homurlu <ozgurmurath>
Component: selinux-policy-targetedAssignee: Russell Coker <rcoker>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: 1.27.1-2.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-22 03:23:22 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:

Description Ozgur M. Homurlu 2005-10-11 19:37:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922

Description of problem:
I keep getting on this avc: denied messages like this one in my audit.log (possibly just after reboot):
----
type=AVC msg=audit(1129034152.848:120): avc:  denied  { read } for  pid=3951 comm="printconf-tui" name="printconf.pickle" dev=dm-0 ino=1738270 scontext=system_u:system_r:cupsd_config_t tcontext=root:object_r:var_t tclass=file
----

Selinux is set to enforcing and targeted policy mode.
I have configured my printer with http://localhost:631 interface.

"find /var -inum 1738270" returned:
/var/cache/foomatic/printconf.pickle


Version-Release number of selected component (if applicable):
selinux-policy-targeted-1.27.1-2.3

How reproducible:
Didn't try

Steps to Reproduce:


Additional info:

Applying "restorecon -R -v /var/cache/foomatic" returned:
restorecon reset /var/cache/foomatic/printconf.pickle context root:object_r:var_t->system_u:object_r:cupsd_rw_etc_t

Comment 1 Daniel Walsh 2005-10-17 18:14:45 UTC
Fixed in selinux-policy-*-1.27.1-2.6