Fix for “Aw, Snap!” when loading Twitter on Chrome on Fedora 15 with SELinux enforcing enabled

Good thing I found the fix in the Chromium issues list because I was already tempted to disable SELinux altogether.

Daniel Walsh explains:

We are trying to control what the chrome-sandbox is allowed to do, since it is setuid. The bug that you are seeing is caused by a file/directory being created in the homedir with the wrong label on it. In F15 we did not have policycoreutils-restorecond installed by default, which would have fixed the mislabeled directory. We can add this to a comps file to make sure it gets installed in the future. In F16 we have the ability to label these files/directories correctly on creation.

The quick fix is to execute the following command:

restorecon -R ~/.config

The command also solves the problem where the Xmarks Bookmarks Synchronizer and Delicious Bookmarks Extensions keeps on crashing on Chrome on Fedora 15.

23 thoughts on “Fix for “Aw, Snap!” when loading Twitter on Chrome on Fedora 15 with SELinux enforcing enabled

  1. Worked like a charm!

    This problem was driving me insane (I thought it was a flash issue). Imagine my delight when Google returned this post, with all the right keywords represented in the title!

    Thanks Randell.

  2. Thanks very much for this fix, Randell! Nice blog. I added your RSS feed to my Google Reader page.

  3. Fantastic! This was rather annoying as iGoogle was causing Chrome to crash for me, not great when its your homepage 🙂 Thanks for the fix, worked like a charm.

  4. This is what I got:

    Command not found. Failed to search for file: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

  5. As far as I am concerned, for the normal desktop user of Fedora, SELinux is of the Devil. All my Fedora frustrations come down to problems with SELinux. I just turn it down from enforcing to permissive at each install. SELinux is nothing more than a full time job generator for the creators and serves no helpful purpose but to frustrate Fedora users.

Leave a Reply

Your email address will not be published. Required fields are marked *