flash-plugin not working within SELinux sandbox (f14)
Daniel J Walsh
dwalsh at redhat.com
Tue Oct 11 21:11:08 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/11/2011 05:04 PM, Christoph A. wrote:
> Hi, since a recent flash-plugin it is no longer working within a
> sandbox.
>
>
> rpm -qa flash-plugin flash-plugin-11.0.1.152-release.i386
>
> rpm -qa *selinux* selinux-policy-targeted-3.9.7-44.fc14.noarch
> libselinux-utils-2.0.96-6.fc14.1.x86_64
> libselinux-2.0.96-6.fc14.1.i686
> selinux-policy-3.9.7-44.fc14.noarch
> libselinux-python-2.0.96-6.fc14.1.x86_64
> libselinux-2.0.96-6.fc14.1.x86_64
>
> I tried restorecon but it didn't fix the problem.
>
> I turned off the dontaudit rules as described by Dan Walsh at a
> previous similar thread:
> https://lists.fedoraproject.org/pipermail/users/2010-August/380366.html
>
> I see the following AVCs:
>
> type=AVC msg=audit(1318366350.121:782): avc: denied { execmod }
> for pid=11212 comm="npviewer.bin"
> path="/usr/lib/flash-plugin/libflashplayer.so" dev=dm-1
> ino=4980766
> scontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c140,c1007
>
>
tcontext=system_u:object_r:lib_t:s0 tclass=file
>
> type=AVC msg=audit(1318366350.122:783): avc: denied { read } for
> pid=11120 comm="firefox" name="nswrapper_64_64.libflashplayer.so"
> dev=dm-1 ino=4720059
> scontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c140,c1007
>
>
tcontext=unconfined_u:object_r:nsplugin_rw_t:s0:c185,c254 tclass=file
>
> type=AVC msg=audit(1318366350.122:784): avc: denied { read } for
> pid=11120 comm="firefox" name="nswrapper_64_64.libflashplayer.so"
> dev=dm-1 ino=4720059
> scontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c140,c1007
>
>
tcontext=unconfined_u:object_r:nsplugin_rw_t:s0:c185,c254 tclass=file
>
>
>
chcon -t textrel_shlib_t /usr/lib/flash-plugin/libflashplayer.so
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6UsOwACgkQrlYvE4MpobPlFACdGT6yf7FOgKdbOOZF7uGzksTj
Gw0AoLyoisPYhVqZLH5kzFcnUzTGPTKF
=QcC5
-----END PGP SIGNATURE-----
More information about the users
mailing list