Bug 559691 - SELinux is preventing /usr/bin/pdftops "setattr" access on /var/cache/fontconfig.
Summary: SELinux is preventing /usr/bin/pdftops "setattr" access on /var/cache/fontcon...
Keywords:
Status: CLOSED DUPLICATE of bug 557913
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:24a0ea5617e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-28 18:39 UTC by Nikolas Moraitis
Modified: 2010-01-28 18:51 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-01-28 18:51:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nikolas Moraitis 2010-01-28 18:39:35 UTC
Summary:

SELinux is preventing /usr/bin/pdftops "setattr" access on
/var/cache/fontconfig.

Detailed Description:

SELinux denied access requested by pdftops. It is not expected that this access
is required by pdftops and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:fonts_cache_t:s0
Target Objects                /var/cache/fontconfig [ dir ]
Source                        pdftops
Source Path                   /usr/bin/pdftops
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           poppler-utils-0.12.2-1.fc12
Target RPM Packages           fontconfig-2.8.0-1.fc12
Policy RPM                    selinux-policy-3.6.32-66.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.9-174.fc12.x86_64 #1 SMP Mon Dec 21
                              05:33:33 UTC 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Sun 10 Jan 2010 06:53:36 PM EET
Last Seen                     Sun 10 Jan 2010 06:53:36 PM EET
Local ID                      bf943d47-2b1d-4469-afed-e7856cc7e525
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1263142416.894:32056): avc:  denied  { setattr } for  pid=16285 comm="pdftops" name="fontconfig" dev=dm-0 ino=40964 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:fonts_cache_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1263142416.894:32056): arch=c000003e syscall=90 success=no exit=-13 a0=cd23f0 a1=1ed a2=d a3=10 items=0 ppid=16281 pid=16285 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="pdftops" exe="/usr/bin/pdftops" subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-66.fc12,catchall,pdftops,cupsd_t,fonts_cache_t,dir,setattr
audit2allow suggests:

#============= cupsd_t ==============
allow cupsd_t fonts_cache_t:dir setattr;

Comment 1 Daniel Walsh 2010-01-28 18:51:10 UTC

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


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