Bug 615650 - /usr/lib/libzita-convolver.so.2.0.0 requires text relocation (selinux warning)
/usr/lib/libzita-convolver.so.2.0.0 requires text relocation (selinux warning)
Product: Fedora
Classification: Fedora
Component: zita-convolver (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Orcan Ogetbil
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-07-17 14:55 EDT by Fernando Lopez-Lezcano
Modified: 2010-08-05 19:55 EDT (History)
2 users (show)

See Also:
Fixed In Version: zita-convolver-2.0.0-2.fc13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-05 19:29:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Fernando Lopez-Lezcano 2010-07-17 14:55:37 EDT
Description of problem:
SELinux is preventing /usr/bin/jconvolver from loading
/usr/lib/libzita-convolver.so.2.0.0 which requires text relocation.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. start jconvolver
Actual results:
selinux warning

Expected results:
no warnings

Additional info:
In the Makefile for zita-convolver CPPFLAGS is defined but not used in the g++ command, so this line in the spec file:

sed -i 's|-O3|%{optflags}|' libs/Makefile

has no effect (it would have added -fPIC). 
Doing this instead:

sed -i 's|LDFLAGS +=|LDFLAGS += %{optflags}|' libs/Makefile

builds a package with no selinux problems.
Comment 1 Orcan Ogetbil 2010-07-17 18:00:04 EDT
Hi. Here is the build log for F-12 x86_64:

The %{optflags} are actually there for x86_64. But on i686 build log:

the %[optflags] are missing. That's probably why I missed this. I'll fix it tonight.
Comment 2 Fedora Update System 2010-07-17 23:24:04 EDT
zita-convolver-2.0.0-2.fc13 has been submitted as an update for Fedora 13.
Comment 3 Fedora Update System 2010-07-17 23:24:55 EDT
zita-convolver-2.0.0-2.fc12 has been submitted as an update for Fedora 12.
Comment 4 Fedora Update System 2010-08-05 19:29:51 EDT
zita-convolver-2.0.0-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Fedora Update System 2010-08-05 19:55:19 EDT
zita-convolver-2.0.0-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.