Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#28795 - [libpcap] linking against libnl3 makes libvirt segfault

Attached to Project: Arch Linux
Opened by Nikos Skalkotos (skalkoto) - Monday, 05 March 2012, 20:35 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 17 May 2012, 14:31 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
After updating libpcap, libvirt segfaults (see bug report 28735). The problem is that libvirt ends up getting linked against 2 different versions of libnl:
1) libnl-3 because of libpcap
2) libnl-1 because of netcf.

In the configuration process (./configure) netcf searches for libnl-1, so linking it against libnl3 without patching it is not an option.
The question is: Do we gain anything from patching libpcap to link against a newer libnl version? If not, since it is causing problems, shouldn't it roll back to previous state?
I recompiled libpcap without the libnl32.patch and libvirt does not segfault any more.

Additional info:
* Affected version: libpcap-1.2.1-2
This task depends upon

Closed by  Eric Belanger (Snowman)
Thursday, 17 May 2012, 14:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  libvirt-0.9.12-3
Comment by Tobias Hunger (hunger) - Thursday, 17 May 2012, 08:01 GMT
netcf-0.1.9-2 links against libnl-3.

Unfortunately libvirt itself also links against libnl-1. The attached file contains a patch, PKGBUILD, etc. to fix this.

Now libvirt works for me again without crashing!
Comment by Sergej Pupykin (sergej) - Thursday, 17 May 2012, 09:50 GMT
please try libvirt-0.9.12-3 and netcf-0.1.9-2

Loading...