Temporary fix to run Chromium in Fedora 12


Filed in BZ: https://bugzilla.redhat.com/show_bug.cgi?id=550651

Just updated Chromium via Spot’s page using yum update for Fedora 12. SELinux permission issues on three libraries. Need to grant permission to SELinux to run the following:

#!/bin/sh
chcon -t textrel_shlib_t '/usr/lib/chromium-browser/libmedia.so' 
chcon -t textrel_shlib_t '/usr/lib/chromium-browser/libnacl.so' 
chcon -t textrel_shlib_t '/usr/lib/chromium-browser/libsandbox.so'
#to make the change permanent 
semanage fcontext -a -t textrel_shlib_t '/usr/lib/chromium-browser/libmedia.so' 
semanage fcontext -a -t textrel_shlib_t '/usr/lib/chromium-browser/libnacl.so' 
semanage fcontext -a -t textrel_shlib_t '/usr/lib/chromium-browser/libsandbox.so'
#

Put those 6 lines above in a script, run it and chromium should work there after.

BTW, Chromium was from:

[chromium]
name=Chromium Test Packages
baseurl=http://spot.fedorapeople.org/chromium/F$releasever/
enabled=1
gpgcheck=0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s