Red Hat Bugzilla – Bug 452733
Incorrect file labels for RealPlayer and HelixPlayer
Last modified: 2008-11-17 17:04:47 EST
Description of problem:
RealPlayer and HelixPlayer don't work in selinux enforcing mode because its
binaries and libraries are mislabeled under the current policy.
Also, the labels that are there in the targeted policy appear to have regex bugs
that will prevent them from being applied.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The RPMs available from the RealPlayer and HelixPlayer download sites install by
default into /opt; this should be reflected in the default selinux policy.
AFAIK the correct labels are as follows:
The /opt/helix/HelixPlayer/hxplay.bin may also need a label too, though I
haven't tested this.
The labels that *do* exist in the policy have a regex bug:
/usr/(.*/)?/RealPlayer/.+\.so(\.[^/]*)* -- system_u:object_r:textrel_shlib_t:s0
/usr/(.*/)?/HelixPlayer/.+\.so(\.[^/]*)* -- system_u:object_r:textrel_shlib_t:s0
If you look carefully (and test it with matchpathcon) you can see that this
won't match '/usr/lib/RealPlayer/foo.so' like it should. A corrected regex would be
Fixed in selinux-policy-3.3.1-72.fc9.noarch
Closing all bugs that have been in modified for over a month. Please reopen if the bug is not actually fixed.