Bug 303421 - applications can't read ~/.fonts.conf
applications can't read ~/.fonts.conf
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-09-24 11:54 EDT by Nalin Dahyabhai
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-24 16:44:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nalin Dahyabhai 2007-09-24 11:54:57 EDT
Description of problem:
Some of my unconfined applications can't read my font configuration.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Run mugshot.
2. Wait for it to try to pop up a window.
Actual results:
time->Mon Sep 24 11:47:47 2007
type=SYSCALL msg=audit(1190648867.000:129): arch=c000003e syscall=21 success=no
exit=-13 a0=88a8d0 a1=4 a2=ff656d6e622d7273 a3=881caf items=0 ppid=1 pid=6523
auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500
tty=(none) comm="mugshot" exe="/usr/bin/mugshot"
subj=system_u:system_r:unconfined_t:s0 key=(null)
type=AVC msg=audit(1190648867.000:129): avc:  denied  { read } for  pid=6523
comm="mugshot" name=".fonts.conf" dev=dm-0 ino=8382332
tcontext=system_u:object_r:user_fonts_config_t:s0 tclass=file

Additional information:
It seems to pop up the window and render text regardless of this, so maybe we
don't need to allow it.
This message is from mugshot, but I got similar denials logged for gajim and
Comment 1 Daniel Walsh 2007-09-24 16:44:05 EDT
Fixed in selinux-policy-3.0.8-11

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