Bug 916425 - SELinux is preventing /usr/lib/xulrunner/plugin-container from 'getattr' accesses on the file /home/jaco/C:\nppdf32Log\debuglog.txt.
Summary: SELinux is preventing /usr/lib/xulrunner/plugin-container from 'getattr' acce...
Keywords:
Status: CLOSED DUPLICATE of bug 916423
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:69ee3f1959d0b99f81432d42fff...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-28 03:13 UTC by Jaco
Modified: 2013-02-28 14:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-28 14:38:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2013-02-28 03:13 UTC, Jaco
no flags Details
File: hashmarkername (14 bytes, text/plain)
2013-02-28 03:13 UTC, Jaco
no flags Details

Description Jaco 2013-02-28 03:13:22 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.7.6-102.fc17.i686.PAE

description:
:SELinux is preventing /usr/lib/xulrunner/plugin-container from 'getattr' accesses on the file /home/jaco/C:\nppdf32Log\debuglog.txt.
:
:*****  Plugin restorecon (99.5 confidence) suggests  *************************
:
:If you want to fix the label. 
:/home/jaco/C:\nppdf32Log\debuglog.txt default label should be user_home_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /home/jaco/C:\nppdf32Log\debuglog.txt
:
:*****  Plugin catchall (1.49 confidence) suggests  ***************************
:
:If you believe that plugin-container should be allowed getattr access on the C:\nppdf32Log\debuglog.txt 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:user_home_dir_t:s0
:Target Objects                /home/jaco/C:\nppdf32Log\debuglog.txt [ file ]
:Source                        plugin-containe
:Source Path                   /usr/lib/xulrunner/plugin-container
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           xulrunner-18.0.2-1.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-167.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.7.6-102.fc17.i686.PAE #1 SMP Mon
:                              Feb 4 17:46:36 UTC 2013 i686 i686
:Alert Count                   2
:First Seen                    2013-02-28 12:23:11 EST
:Last Seen                     2013-02-28 12:29:45 EST
:Local ID                      f8bf5860-48a2-45b9-b863-d7e9b477e15f
:
:Raw Audit Messages
:type=AVC msg=audit(1362018585.314:104): avc:  denied  { getattr } for  pid=7352 comm="plugin-containe" path="/home/jaco/C:\nppdf32Log\debuglog.txt" dev="dm-2" ino=404226 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1362018585.314:104): arch=i386 syscall=fstat64 success=yes exit=0 a0=11 a1=bff6455c a2=4d65dff4 a3=b75f11a0 items=0 ppid=2759 pid=7352 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=plugin-containe exe=/usr/lib/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: plugin-containe,mozilla_plugin_t,user_home_dir_t,file,getattr
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t user_home_dir_t:file getattr;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t user_home_dir_t:file getattr;
:

Comment 1 Jaco 2013-02-28 03:13:25 UTC
Created attachment 703761 [details]
File: type

Comment 2 Jaco 2013-02-28 03:13:27 UTC
Created attachment 703762 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2013-02-28 14:38:00 UTC

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


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