Bug 537826
Summary: | SELinux is preventing /usr/lib64/chromium-browser/chromium-browser "read" access on /usr/share/X11/fonts/TTF/luxisr.ttf. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nils Philippsen <nphilipp> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 12 | CC: | darkshram, dwalsh, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:877f765bc2b9eeb4ce16fe4aabdcaf3473bbd465265b9504daa53b129ed7ea79 | ||
Fixed In Version: | 3.6.32-46.fc12 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-11-24 07:49:57 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
Nils Philippsen
2009-11-16 13:54:33 UTC
This is a labeling problem chcon -t fonts_t -R /usr/share/X11/fonts Will fix it. Fixed in selinux-policy-3.6.32-46.fc12.noarch selinux-policy-3.6.32-46.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-46.fc12 selinux-policy-3.6.32-46.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-11672 I updated to selinux-policy-3.6.32-46.fc12, but SELinux still shows warnings about Chromium trying to access /proc and dictionaries: SELinux has denied chromium-browse access to potentially mislabeled file(s) (/home/xxxxxx/.config/chromium/Dictionaries/es-ES-1-1.bdic). This means that SELinux will not allow chromium-browse to use these files. It is common for users to edit files in their home directory or tmp directories and then move (mv) them to system directories. The problem is that the files end up with the wrong file context which confined applications are not allowed to access. node=xxxxxxxxxxx type=AVC msg=audit(1259005528.146:1202): avc: denied { read } for pid=15209 comm="chromium-browse" path="/home/xxxxxx/.config/chromium/Dictionaries/es-ES-1-1.bdic" dev=dm-0 ino=7405727 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0 tcontext=unconfined_u:object_r:gnome_home_t:s0 tclass=file node=xxxxxxxxx type=SYSCALL msg=audit(1259005528.146:1202): arch=40000003 syscall=102 per=400000 success=yes exit=1 a0=11 a1=1c41d60 a2=0 a3=0 items=0 ppid=1 pid=15209 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=59 comm="chromium-browse" exe="/usr/lib/chromium-browser/chromium-browser" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0 key=(null) ############################# SELinux denied access requested by chrome-sandbox. It is not expected that this access is required by chrome-sandbox 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. node=joel-netbook.alcancelibre.org type=AVC msg=audit(1258989855.966:1131): avc: denied { getattr } for pid=13395 comm="chrome-sandbox" path="/proc/13098" dev=proc ino=858367 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0 tcontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tclass=dir node=xxxxxxxxxx type=SYSCALL msg=audit(1258989855.966:1131): arch=40000003 syscall=195 success=yes exit=0 a0=bfcec15c a1=bfcec0f4 a2=2b4ff4 a3=8049b52 items=0 ppid=12995 pid=13395 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) ses=59 comm="chrome-sandbox" exe="/usr/lib/chromium-browser/chrome-sandbox" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0 key=(null) Yes those are new and are fixed in -48 which I hope to release to updates-testing today. selinux-policy-3.6.32-46.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. Updated to selinux-policy-3.6.32-46.fc12.noarch. It still shows warnings about dictionaries. Seems to be the only issue left. node=xxxxxxxxxxx type=AVC msg=audit(1259079468.217:1352): avc: denied { read } for pid=19927 comm="chromium-browse" path="/home/xxxxxxx/.config/chromium/Dictionaries/es-ES-1-1.bdic" dev=dm-0 ino=7405727 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0 tcontext=unconfined_u:object_r:gnome_home_t:s0 tclass=file node=xxxxxxxxxxx type=SYSCALL msg=audit(1259079468.217:1352): arch=40000003 syscall=102 per=400000 success=yes exit=1 a0=11 a1=5aecd60 a2=0 a3=0 items=0 ppid=1 pid=19927 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=59 comm="chromium-browse" exe="/usr/lib/chromium-browser/chromium-browser" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0 key=(null) *********************************** The SELinux contexts for /home/xxxxxxx/.config/chromium/Dictionaries/es-ES-1-1.bdic are: unconfined_u:object_r:gnome_home_t:s0 Fixed in selinux-policy-3.6.32-49.fc12.noarch yum update selinux-policy-targeted --enablerepo=updatest-testing |