Bug 1034146 - SELinux is preventing /usr/sbin/prelink from 'relabelfrom' accesses on the file undo.#prelink#.JSIRiV.
Summary: SELinux is preventing /usr/sbin/prelink from 'relabelfrom' accesses on the fi...
Status: CLOSED DUPLICATE of bug 832613
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:4e76f60cfc6b5c636aec94bfd00...
Depends On:
TreeView+ depends on / blocked
Reported: 2013-11-25 10:46 UTC by Christian Kujau
Modified: 2013-11-25 12:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-11-25 12:41:35 UTC
Type: ---

Attachments (Terms of Use)

Description Christian Kujau 2013-11-25 10:46:41 UTC
Description of problem:
Every time I visit a web page with Adobe Flash, this SELinux alert is displayed.
SELinux is preventing /usr/sbin/prelink from 'relabelfrom' accesses on the file undo.#prelink#.JSIRiV.

*****  Plugin mozplugger (99.1 confidence) suggests   ************************

If you want to use the plugin package
Then you must turn off SELinux controls on the Firefox plugins.
# setsebool -P unconfined_mozilla_plugin_transition 0

*****  Plugin catchall (1.81 confidence) suggests   **************************

If you believe that prelink should be allowed relabelfrom access on the undo.#prelink#.JSIRiV file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# grep prelink /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
Target Context                unconfined_u:object_r:mozilla_plugin_tmp_t:s0
Target Objects                undo.#prelink#.JSIRiV [ file ]
Source                        prelink
Source Path                   /usr/sbin/prelink
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           prelink-0.5.0-1.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-90.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.8-300.fc20.x86_64 #1 SMP Wed
                              Nov 13 16:34:27 UTC 2013 x86_64 x86_64
Alert Count                   2
First Seen                    2013-11-25 02:42:35 PST
Last Seen                     2013-11-25 02:42:35 PST
Local ID                      a628294e-6955-44c5-bf18-d9ec7e6cb589

Raw Audit Messages
type=AVC msg=audit(1385376155.480:1138): avc:  denied  { relabelfrom } for  pid=16190 comm="prelink" name="undo.#prelink#.JSIRiV" dev="tmpfs" ino=2527583 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_plugin_tmp_t:s0 tclass=file

type=SYSCALL msg=audit(1385376155.480:1138): arch=x86_64 syscall=setxattr success=no exit=EACCES a0=7fff55a01260 a1=50b169 a2=1d49780 a3=1b items=0 ppid=16179 pid=16190 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=prelink exe=/usr/sbin/prelink subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: prelink,mozilla_plugin_t,mozilla_plugin_tmp_t,file,relabelfrom

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.8-300.fc20.x86_64
type:           libreport

Potential duplicate: bug 832613

Comment 1 Miroslav Grepl 2013-11-25 12:41:35 UTC

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

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