libvirt segfaults on networkIsActive or networkIsPersistent

Bug #748834 reported by pdf
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Debian)
Fix Released
Unknown
libvirt (Fedora)
Fix Released
Medium
libvirt (Ubuntu)
Fix Released
Undecided
Serge Hallyn
Lucid
Won't Fix
Undecided
Serge Hallyn
Maverick
Won't Fix
Undecided
Unassigned

Bug Description

Known bug, fixed upstream but still evident in Lucid.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libvirt-bin 0.7.5-5ubuntu27.9
ProcVersionSignature: Ubuntu 2.6.35-22.34~lucid1-server 2.6.35.4
Uname: Linux 2.6.35-22-server x86_64
NonfreeKernelModules: zfs zcommon znvpair zavl zunicode
Architecture: amd64
Date: Sun Apr 3 15:15:26 2011
ExecutablePath: /usr/sbin/libvirtd
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcAttrCurrent: /usr/sbin/libvirtd (enforce)
ProcEnviron: PATH=(custom, no user)
SourcePackage: libvirt

Revision history for this message
pdf (pdffs) wrote :
Revision history for this message
pdf (pdffs) wrote :
tags: added: patch-accepted-upstream
Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 748834] Re: libvirt segfaults on networkIsActive or networkIsPersistent

Quoting pdf (<email address hidden>):
> Upstream fix is here:
>
> http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=6d4bd59cf82d96531abe1527bc80caa2ba86249e;hp=bf6789d913a5edb029af8fe959c0d54ede2a2719#patch1

Thanks very much for the bug posting and pointing to the fix. I'll
reproduce, test, and SRU the fix.

Revision history for this message
pdf (pdffs) wrote : Re: [Bug 748834] Re: libvirt segfaults on networkIsActive or networkIsPersistent

On 04/04/11 02:31, Serge Hallyn wrote:
> Thanks very much for the bug posting and pointing to the fix. I'll
> reproduce, test, and SRU the fix.

Great, thanks for the quick response Serge.

Changed in libvirt (Ubuntu):
status: New → Confirmed
assignee: nobody → Serge Hallyn (serge-hallyn)
Changed in libvirt (Debian):
status: Unknown → Fix Released
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

I've built packages with the proposed patch, but the testcase still fails for me. I'm testing by doing:

cat > /root/s3.xml << EOF
<network>
  <name>s3</name>
  <forward mode='nat'/>
  <bridge name='s3' stp='on' delay='0' />
  <ip address='192.168.133.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.133.2' end='192.168.133.254' />
      <host mac='52:54:00:ef:88:9d' name='s3-host2' />
    </dhcp>
  </ip>
</network>
EOF
virsh net-create /root/s3.xml

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Success.

@pdf, could you please try the version of libvirt-bin at ppa:serge-hallyn/virt? If that works for you, I'll go ahead and request an SRU.

Changed in libvirt (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
pdf (pdffs) wrote :

Sorry, I should have provided a test-case - I'm not sure those upstream bugs are related. To reproduce, simply call either either networkIsActive or networkIsPersistent from the libvirt library...

Revision history for this message
pdf (pdffs) wrote :

On 05/04/11 09:41, Serge Hallyn wrote:
> Success.
>
> @pdf, could you please try the version of libvirt-bin at ppa:serge-
> hallyn/virt? If that works for you, I'll go ahead and request an SRU.
>
> ** Changed in: libvirt (Ubuntu)
> Status: Confirmed => In Progress

Will test later today and report back.

Revision history for this message
pdf (pdffs) wrote :

Working fine with 0.7.5-5ubuntu27.9~ppa2 from your PPA.

Changed in libvirt (Ubuntu):
status: In Progress → Fix Released
Changed in libvirt (Ubuntu Lucid):
assignee: nobody → Serge Hallyn (serge-hallyn)
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted libvirt into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in libvirt (Ubuntu Lucid):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted libvirt into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in libvirt (Ubuntu Maverick):
status: New → Fix Committed
Revision history for this message
pdf (pdffs) wrote :

I have verified that the lucid-proposed package resolves the problem reported here, do not currently have access to a maverick install, however will build and test if required.

Martin Pitt (pitti)
tags: added: verification-done-lucid
Revision history for this message
Rolf Leggewie (r0lf) wrote :

maverick has seen the end of its life and is no longer receiving any updates. Marking the maverick task for this ticket as "Won't Fix".

Changed in libvirt (Ubuntu Maverick):
status: Fix Committed → Won't Fix
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in libvirt (Ubuntu Lucid):
status: Fix Committed → Won't Fix
Changed in libvirt (Fedora):
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.