[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: vlc x86 libs requires text relocation.
- From: Jan-Frode Myklebust <janfrode tanso net>
- To: fedora-selinux-list redhat com
- Subject: Re: vlc x86 libs requires text relocation.
- Date: Fri, 20 Apr 2007 12:53:39 +0200
On 2007-04-17, kwizart <kwizart gmail com> wrote:
>
> This affect vlc for Fedora release 5, 6 and devel only for x86 (not ppc
> or x86_64)
>
> from https://bugzilla.livna.org/show_bug.cgi?id=1404
> - ----
> SELinux is preventing /usr/bin/vlc from loading
> /usr/lib/vlc/codec/libdmo_plugin.so which requires text relocation.
>
> SELinux is preventing /usr/bin/vlc from loading
> /usr/lib/vlc/codec/librealaudio_plugin.so which requires text relocation.
>
> I'm not sure if this can be fixed in the vlc package or if it would need
> to be
> fixed in the selinux policy package.
It can be fixed in the vlc package's RPM %post section by running:
# Add new labeling rules for libraries requiring text relocation:
/usr/sbin/semanage fcontext -a -t textrel_shlib_t /usr/lib/vlc/codec/libdmo_plugin.so
/usr/sbin/semanage fcontext -a -t textrel_shlib_t /usr/lib/vlc/codec/librealaudio_plugin.so
# Set correct SELinux security contexts:
restorecon /usr/lib/vlc/codec/libdmo_plugin.so /usr/lib/vlc/codec/librealaudio_plugin.so
The semanage-commands will add these rules to
/etc/selinux/targeted/contexts/files/file_contexts.local.
-jf
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]