F10beta: SElinux problem with firefox and npviewer.bin

Daniel J Walsh dwalsh at redhat.com
Fri Oct 24 19:12:25 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pavel Lisy wrote:
> On Thu, 2008-10-23 at 10:20 -0400, Daniel J Walsh wrote:
>> Pavel Lisy wrote:
>>> Hello
>>>
>>> I've just installed F10beta and it seams to be step forward. 
>>>
>>> But I have problem with firefox and flash content in some web sites. 
>>>
>>> there are these errors (Summary only):
>>>
>>> 2x 
>>> SELinux is preventing npviewer.bin (nsplugin_t) "read" to ./profiles.ini
>>> (home_root_t). 
>>>
>>> 2x
>>> SELinux is preventing npviewer.bin (nsplugin_t) "write"
>>> to /home/pali/.mozilla/firefox/me1qy2e6.default/.parentlock
>>> (home_root_t).
>>>
>>> 14x
>>> SELinux is preventing npviewer.bin (nsplugin_t) "write"
>>> to ./#SharedObjects (home_root_t). 
>>>
>>> 1x
>>> SELinux is preventing npviewer.bin (nsplugin_t) "read"
>>> to ./43176123e8eb6e4cae1cae54f50effde-x86.cache-2 (home_root_t). 
>>>
>>> 1x
>>> SELinux is preventing npviewer.bin (nsplugin_t) "write" to ./AssetCache
>>> (home_root_t). 
>>>
>>> What does it mean? How can I solve it? Can I only disable this part of
>>> SElinux policy?
>>>
>>> Pavel
>>>
>>>
>>>
>> This looks like you have a big labeling problem.  restorecon -R -v /home
> 
> Yes, this helped. Thank you.
> 
>> Looks like everything in your home directory is labeled home_root_t?
>>
>> Did you just untar your home directory?
> I am not sure where problem started. My account is only in LDAP and home
> directory was created by system. But I had to change rights on /home
> chmod 1777 /home
> 
> after that I copied some directories from old filesystem (mounted
> in /mnt/f9) by MC. I am not sure if I was logged root or normal
> account. 
> 
> Where do you think problem started?
> 
> Pavel
> 
When you copied the home directory, you had to fix the labels.  So just
executing

restorecon -R -v /home will clear it up.

SELinux likes to have the system properly labeled so it can identify a
home directory file versus a apache file versus as samba file ...

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkkCHhkACgkQrlYvE4MpobNUjACeKkAnH88rcxF1JJe20UhYc91n
PpcAoI0x8GFuCexsEQQAecZ8YR3ROXMi
=9k0r
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list