F16 upgrade, Gnome fails with Oh no! Something went wrong

Deron Meranda deron.meranda at gmail.com
Wed Nov 16 07:43:17 UTC 2011


Yes, this looks like it was an SELinux issue with regards to old ICC
color profiles left lying around, because F16 has some new SELinux
types and the old files don't get relabeled when you upgrade F15 to
F16.

To fix this, I updated F16 to the latest SELinux policy files (yum
update). However rather than disable SELinux, which should always be a
last resort especially on servers, you can then do any of:

1. Remove all files under $HOME/.local/share/icc/* and
$HOME/.color/icc/* -- in which case the next time you log in the ICC
profiles will be recreated.  If you had customized ICC profiles then
this may not be what you want to do (?)

or

2. Relabel any ICC files (as root and substituting $HOME appropriately):

   /sbin/restorecon -v $HOME/.local/share/icc/* $HOME/.color/icc/*

or

3. Manually change the file contexts (as root):

    chcon -R -t icc_data_home_t $HOME/.local/share/icc $HOME/.color/icc



FYI, the new F16 SELinux targeted policy rules now have these two new rulesets:

/root/\.color/icc(/.*)?                            all files
system_u:object_r:icc_data_home_t:s0
/root/\.local/share/icc(/.*)?                      all files
system_u:object_r:icc_data_home_t:s0



Thanks for the help.
-- 
Deron Meranda
http://deron.meranda.us/


More information about the users mailing list