Bug 845486 - SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'getattr' accesses on the file /home/roddy/.fonts.conf.
Summary: SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'getattr' ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5a6e0a40b2f9d8c9c7bd17466f9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-03 08:30 UTC by roddy
Modified: 2012-08-03 09:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-03 09:20:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description roddy 2012-08-03 08:30:47 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.5.0-2.fc17.x86_64
time:           ven. 03 août 2012 12:29:48 RET

description:
:SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'getattr' accesses on the file /home/roddy/.fonts.conf.
:
:*****  Plugin restorecon (99.5 confidence) suggests  *************************
:
:If you want to fix the label. 
:/home/roddy/.fonts.conf default label should be user_fonts_config_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /home/roddy/.fonts.conf
:
:*****  Plugin catchall (1.49 confidence) suggests  ***************************
:
:If you believe that plugin-container should be allowed getattr access on the .fonts.conf file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep plugin-containe /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Context                unconfined_u:object_r:samba_share_t:s0
:Target Objects                /home/roddy/.fonts.conf [ file ]
:Source                        plugin-containe
:Source Path                   /usr/lib64/xulrunner-2/plugin-container
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           xulrunner-14.0.1-3.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-142.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.0-2.fc17.x86_64 #1
:                              SMP Mon Jul 30 14:48:59 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    ven. 03 août 2012 12:28:52 RET
:Last Seen                     ven. 03 août 2012 12:28:52 RET
:Local ID                      1367c085-f5e0-446c-8e79-b11010a2d110
:
:Raw Audit Messages
:type=AVC msg=audit(1343982532.664:82): avc:  denied  { getattr } for  pid=1817 comm="plugin-containe" path="/home/roddy/.fonts.conf" dev="dm-2" ino=131169 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:samba_share_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1343982532.664:82): arch=x86_64 syscall=stat success=yes exit=0 a0=7f7977f3fe40 a1=7fff15c5f260 a2=7fff15c5f260 a3=7f79857ef880 items=0 ppid=1745 pid=1817 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=plugin-containe exe=/usr/lib64/xulrunner-2/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: plugin-containe,mozilla_plugin_t,samba_share_t,file,getattr
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t samba_share_t:file getattr;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t samba_share_t:file getattr;
:

Comment 1 Miroslav Grepl 2012-08-03 09:20:31 UTC
The alert tells you what do to.

# /sbin/restorecon -v /home/roddy/.fonts.conf


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