Temporary fix to run Chromium in Fedora 12

Posted by

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