Comment 2 for bug 374752

Revision history for this message
wesleybruce (wesleybruce) wrote : Re: [Bug 374752] Re: ember does not launch, may not have been built properly

ok that did not work. I now have to ember tabs in games and neither
work. The ember seemed to end up in the downloads folder. It did not ask
for a location is it supposed to? I'm a windows refugee so this is a
little daunting.
Also got this:

Summary:

SELinux is preventing ember.bin from
loading /usr/lib/ember/libOgreMain-1.6.2.so
which requires text relocation.

Detailed Description:

The ember.bin application attempted to
load /usr/lib/ember/libOgreMain-1.6.2.so
which requires text relocation. This is a potential security problem.
Most
libraries do not need this permission. Libraries are sometimes coded
incorrectly
and request this permission. The SELinux Memory Protection Tests
(http://people.redhat.com/drepper/selinux-mem.html) web page explains
how to
remove this requirement. You can configure SELinux temporarily to allow
/usr/lib/ember/libOgreMain-1.6.2.so to use relocation as a workaround,
until the
library is fixed. Please file a bug report
(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this
package.

Allowing Access:

If you trust /usr/lib/ember/libOgreMain-1.6.2.so to run correctly, you
can
change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t
'/usr/lib/ember/libOgreMain-1.6.2.so'" You must also change the default
file
context files on the system in order to preserve them even on a full
relabel.
"semanage fcontext -a -t textrel_shlib_t
'/usr/lib/ember/libOgreMain-1.6.2.so'"

Fix Command:

chcon -t textrel_shlib_t '/usr/lib/ember/libOgreMain-1.6.2.so'

Additional Information:

Source Context unconfined_u:unconfined_r:unconfined_t:s0
Target Context unconfined_u:object_r:lib_t:s0
Target Objects /usr/lib/ember/libOgreMain-1.6.2.so
[ file ]
Source ember.bin
Source Path /usr/bin/ember.bin
Port <Unknown>
Host wezhost.wezdomain
Source RPM Packages ember-0.5.4-4.fc10
Target RPM Packages
Policy RPM selinux-policy-3.5.13-58.fc10
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name allow_execmod
Host Name wezhost.wezdomain
Platform Linux wezhost.wezdomain
                              2.6.27.21-170.2.56.fc10.i686 #1 SMP Mon
Mar 23
                              23:37:54 EDT 2009 i686 athlon
Alert Count 6
First Seen Tue 12 May 2009 05:43:27 PM EST
Last Seen Tue 12 May 2009 06:17:27 PM EST
Local ID d47a6c9b-9d24-4404-9390-f6d5b9fedc74
Line Numbers

Raw Audit Messages

node=wezhost.wezdomain type=AVC msg=audit(1242116247.37:65): avc:
denied { execmod } for pid=6999 comm="ember.bin"
path="/usr/lib/ember/libOgreMain-1.6.2.so" dev=dm-0 ino=385775
scontext=unconfined_u:unconfined_r:unconfined_t:s0
tcontext=unconfined_u:object_r:lib_t:s0 tclass=file

node=wezhost.wezdomain type=SYSCALL msg=audit(1242116247.37:65):
arch=40000003 syscall=125 success=no exit=-13 a0=b80000 a1=438000 a2=5
a3=bfce79a0 items=0 ppid=6993 pid=6999 auid=500 uid=500 gid=500 euid=500
suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1
comm="ember.bin" exe="/usr/bin/ember.bin"
subj=unconfined_u:unconfined_r:unconfined_t:s0 key=(null)

On Mon, 2009-05-11 at 09:42 +0000, Erik Hjortsberg wrote:
> Hi, the "~" sign represents your home directory, so in you case the log
> file should be in /home/wesley_bruce/.ember/ember.log
>
> Version 0.5.4 is however quite an old version. If your version of Fedora doesn't have version 0.5.6 available I would recommend that you instead install the Autopackage version, to be found at http://downloads.sourceforge.net/worldforge/ember-0.5.6.x86.package
> Instructions on how to install it can be found at http://www.autopackage.org
>