Bug 904319 - SELinux is preventing /usr/lib/xulrunner/plugin-container from 'unlink' accesses on the sock_file socket-2267-1804289383.
Summary: SELinux is preventing /usr/lib/xulrunner/plugin-container from 'unlink' acces...
Keywords:
Status: CLOSED WONTFIX
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:31d14be2bb1e7e8a622665148ff...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-26 07:00 UTC by tyrysae
Modified: 2013-07-20 19:56 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-10 09:10:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2013-01-26 07:00 UTC, tyrysae
no flags Details
File: hashmarkername (14 bytes, text/plain)
2013-01-26 07:00 UTC, tyrysae
no flags Details

Description tyrysae 2013-01-26 07:00:29 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.11-5.fc17.i686

description:
:SELinux is preventing /usr/lib/xulrunner/plugin-container from 'unlink' accesses on the sock_file socket-2267-1804289383.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that plugin-container should be allowed unlink access on the socket-2267-1804289383 sock_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:xdm_tmp_t:s0
:Target Objects                socket-2267-1804289383 [ sock_file ]
:Source                        plugin-containe
:Source Path                   /usr/lib/xulrunner/plugin-container
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           xulrunner-18.0-6.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-166.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.11-5.fc17.i686 #1 SMP Tue Jan
:                              8 21:55:16 UTC 2013 i686 i686
:Alert Count                   1
:First Seen                    2013-01-25 22:47:18 PST
:Last Seen                     2013-01-25 22:47:18 PST
:Local ID                      95aa4cc5-e84e-42a8-a8f3-bc2fcafac63b
:
:Raw Audit Messages
:type=AVC msg=audit(1359182838.912:86): avc:  denied  { unlink } for  pid=2267 comm="plugin-containe" name="socket-2267-1804289383" dev="dm-1" ino=269277 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:xdm_tmp_t:s0 tclass=sock_file
:
:
:type=SYSCALL msg=audit(1359182838.912:86): arch=i386 syscall=unlink success=no exit=EACCES a0=b75dc140 a1=bfa363e4 a2=4d1f5ff4 a3=bfa3643e items=0 ppid=2154 pid=2267 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 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,xdm_tmp_t,sock_file,unlink
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t xdm_tmp_t:sock_file unlink;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t xdm_tmp_t:sock_file unlink;
:

Comment 1 tyrysae 2013-01-26 07:00:33 UTC
Created attachment 687867 [details]
File: type

Comment 2 tyrysae 2013-01-26 07:00:35 UTC
Created attachment 687868 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2013-01-28 10:43:20 UTC
Are you able to get this again?

Comment 4 mukesh kumar shukla 2013-03-07 09:08:29 UTC
this happens when i use micromax modem for internet 

Package: (null)
Architecture: x86_64
OS Release: Fedora release 17 (Beefy Miracle)

Comment 5 Daniel Walsh 2013-03-07 16:25:51 UTC
What plugin are you using?  Could you attach your actual avc's

Comment 6 Cielito 2013-05-09 09:34:32 UTC
Description of problem:
Surfin the web

Additional info:
hashmarkername: setroubleshoot
kernel:         3.8.11-100.fc17.x86_64
type:           libreport

Comment 7 Daniel Walsh 2013-05-09 13:41:10 UTC
What are you using for login program gdm?

Comment 8 Cielito 2013-05-09 14:04:54 UTC
Yes.

Comment 9 Daniel Walsh 2013-05-09 14:13:28 UTC
Do you see anything break because of this or just the alert showing up?

Comment 10 Cielito 2013-05-09 14:28:39 UTC
No break. Only the alert.

Comment 11 Daniel Walsh 2013-05-09 15:02:52 UTC
Is this happening often or just one time?  You could ignore it or add a dontaudit rule.

Comment 12 Cielito 2013-05-09 15:27:10 UTC
No it only happens sometimes. Ok I'll put a rule

Comment 13 Miroslav Grepl 2013-05-10 09:10:39 UTC
Ok.


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