Bug 797773 - circular symlinks created in /lib64 (usrMove issue) for iptables-devel
Summary: circular symlinks created in /lib64 (usrMove issue) for iptables-devel
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: iptables
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 743894
TreeView+ depends on / blocked
 
Reported: 2012-02-27 09:34 UTC by Andrew Elwell
Modified: 2012-03-06 20:44 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2012-03-06 20:44:38 UTC


Attachments (Terms of Use)

Description Andrew Elwell 2012-02-27 09:34:52 UTC
Description of problem:
iptables-devel installs a circular link to libiptc.so, 
libip4tc.so, libip6tc.so

Version-Release number of selected component (if applicable):
iptables-devel-1.4.12.2-3.fc18.x86_64


How reproducible:
always

Steps to Reproduce:
1. yum install iptables-devel
2. readelf -Ws /lib64/libip4tc.so
3.
  
Actual results:
readelf: Error: Could not locate '/lib64/libip4tc.so'.  System error message: Too many levels of symbolic links


Expected results:
Listing of exported symbols

Additional info:
It looks like harald has already prepared a patch for this (and other hard coded path removal) at http://harald.fedorapeople.org/downloads/usrmove/iptables-usrmove.patch

It's related to the rawhide /lib64 -> /usr/lib64 move anyway. 

Main problem is in the .spec file 
-# create symlinks for devel so libs
-install -d -m 755 %{buildroot}%{_libdir}
-for i in %{buildroot}/%{_lib}/*.so; do
-    ln -s ../../%{_lib}/${i##*/} %{buildroot}%{_libdir}/${i##*/}
-done
-
-# move pkgconfig to %{_libdir}
-mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir}/
-

(I've got a similar patch to that of harald to work)

Comment 1 Petr Šabata 2012-02-28 14:10:34 UTC
(In reply to comment #0)
> Description of problem:
> iptables-devel installs a circular link to libiptc.so, 
> libip4tc.so, libip6tc.so

And libxtables.so

Any progress?

Comment 2 Fedora Update System 2012-02-29 16:02:51 UTC
iptables-1.4.12.2-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/iptables-1.4.12.2-4.fc17

Comment 3 Fedora Update System 2012-02-29 18:53:32 UTC
Package iptables-1.4.12.2-4.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing iptables-1.4.12.2-4.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2700/iptables-1.4.12.2-4.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-03-06 20:44:38 UTC
iptables-1.4.12.2-4.fc17 has been pushed to the Fedora 17 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.