Find the answer to your Linux question:
Results 1 to 5 of 5
I've just installed Fedora 13 (KDE) and I'm already having problems. Anytime I visit a site containing some Flash content, Firefox freezes and I'm forced to kill the process. It ...
  1. #1
    Just Joined! KPolulak's Avatar
    Join Date
    Feb 2009
    Location
    New Jersey, USA
    Posts
    42

    Exclamation SELinux Crashes Firefox 3.6.10

    I've just installed Fedora 13 (KDE) and I'm already having problems. Anytime I visit a site containing some Flash content, Firefox freezes and I'm forced to kill the process. It appears that SELinux is preventing Firefox from accessing /opt/firefox/plugin-container. This started happening after I installed the Flash plugin. When run Firefox from the terminal, I get the following output:

    Code:
    /opt/firefox/plugin-container: error while loading shared libraries: /opt/firefox/libxul.so: cannot restore segment prot after reloc: Permission denied
    I figured this was a problem with the 'xulrunner' package so I reinstalled it. No luck there.

    Soon, SELinux started complaing about an AVC denial caused by Firefox. Here's what is says:

    Code:
    SELinux denied access requested by /opt/firefox/plugin-container.
    /opt/firefox/plugin-container is mislabeled. /opt/firefox/plugin-container
    default SELinux type is usr_t, but its current type is usr_t. Changing this file
    back to the default type, may fix your problem.
    
    If you believe this is a bug, please file a bug report against this package.
    
    Allowing Access:
    
    You can restore the default system context to this file by executing the
    restorecon command. restorecon '/opt/firefox/plugin-container'.
    
    Fix Command:
    
    /sbin/restorecon '/opt/firefox/plugin-container'
    I ran the suggested command with no luck as well. I'll reboot and try 'restorecon' again but I don't think I'll have much luck. What do you guys think of this?

    P.S. I get this 'AVC Denial' complaint from SELinux all the time on my other Fedora 13 machine. What the heck is it?

  2. #2
    Just Joined! root99's Avatar
    Join Date
    Oct 2010
    Posts
    10
    first check if you change Selinux to Permsive mode is all working.(setenforce 0)
    if yes
    try to upgrade/reinstall the firefox.
    if no
    try to run resuce mode /repair

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    6
    in /etc/selinux/config is SELINUXTYPE set to targeted or strict?

  4. #4
    Just Joined! KPolulak's Avatar
    Join Date
    Feb 2009
    Location
    New Jersey, USA
    Posts
    42
    To root99:

    SELinux is currently in enforcing mode. Wouldn't setting it to permissive mode be dangerous since all it would do then is warn me without taking any action?

    To scentos:

    SELINUXTYPE is set to targeted.

  5. #5
    Just Joined! root99's Avatar
    Join Date
    Oct 2010
    Posts
    10
    hey it's just for a few seconds to see if it's still crash when Selinux is in Permesive mode.
    don't leave it too long without Seclinux enable (security )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...