On 2007-04-17, kwizart <kwizart@xxxxxxxxx> 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 -- fedora-selinux-list mailing list fedora-selinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-selinux-list