[Dapper SRU] Assertion failure in OSPF

Bug #48848 reported by Tore Anderson
10
Affects Status Importance Assigned to Milestone
Dapper Backports
Invalid
Undecided
Unassigned
Quagga
Fix Released
Medium
quagga (Ubuntu)
Fix Released
Medium
Unassigned
Dapper
Fix Released
Medium
Mathias Gug

Bug Description

Binary package hint: quagga

The Dapper package of Quagga contains a critical bug that makes ospfd not start properly, rendering it completely unusable (and depending on the configuration, might ensure the machine never gets online). The Breezy version of Quagga did not suffer from this problem.

More detailed discussion, including a patch that later made it into the upstream sources, is available at <http://bugzilla.quagga.net/show_bug.cgi?id=229>.

I feel an update is warranted.

Tore.

Simon Law (sfllaw)
Changed in quagga:
importance: Untriaged → Medium
status: Unconfirmed → Confirmed
Changed in quagga:
status: Unknown → Fix Released
Revision history for this message
PrasannaL (prasanna79) wrote :

This is a critical bug. Because of the race condition it makes using ospf with static routes unusable. Please consider a release.

The corresponding patch is available at
http://bugzilla.quagga.net/attachment.cgi?id=73&action=view

Thanks,
Prasanna.

Revision history for this message
Brian Murray (brian-murray) wrote :

Did you want to see this backported to Dapper or does it still exist in Feisty?

Revision history for this message
PrasannaL (prasanna79) wrote :

Backported to Dapper. I believe it was fixed in upstream before Edgy/Feisty.

Thanks for the quick response!

Revision history for this message
PrasannaL (prasanna79) wrote :

I can confirm that the patch applies cleanly to the dapper package (requires some --strip), and fixes the problem.

Revision history for this message
John Dong (jdong) wrote :

SRU-candidate patch available, please do bug fixes via SRU and not backports.

Changed in dapper-backports:
status: Unconfirmed → Rejected
Revision history for this message
Emmet Hikory (persia) wrote :

Thank for for the patch, and interest in seeing it applied to Dapper. Please review https://wiki.ubuntu.com/StableReleaseUpdates for the procedure for requesting and deploying a stable release update. I've unsubscribed ubuntu-universe-sponsors, as 1) quagga is in main, and 2) there is no debdiff candidate revision for SRU review. Once a candidate revision including the requested patch is prepared, please subscribe ubuntu-main-sponsors to request upload.

Revision history for this message
Martin Pitt (pitti) wrote :

Patch available from upstream. There needs to be some research in the upstream bug tracker/svn about the history and feedback about this patch, then we should consider it for the dapper point release.

Changed in quagga:
status: Confirmed → Fix Released
assignee: nobody → ubuntu-server
importance: Undecided → Medium
Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 48848] Re: [Dapper SRU] Assertion failure in OSPF

On Mon, Jul 23, 2007 at 01:37:33PM -0000, Martin Pitt wrote:
> Patch available from upstream. There needs to be some research in the
> upstream bug tracker/svn about the history and feedback about this
> patch, then we should consider it for the dapper point release.

I've gone through the patch and the current version of quagga and I can
at least say that no part of the patch has been reverted or even changed
at all. That's a pretty good start :)

--
Soren Hansen
Ubuntu Server Team
http://www.ubuntu.com/

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Setting milestone to 6.06.2.

Changed in quagga:
status: Fix Released → Confirmed
Martin Pitt (pitti)
Changed in quagga:
status: Confirmed → Fix Released
status: New → Confirmed
Mathias Gug (mathiaz)
Changed in quagga:
assignee: ubuntu-server → mathiaz
Revision history for this message
Mathias Gug (mathiaz) wrote :

I've attached a debdiff with the patch mentioned above.

I haven't be able to test that it fixes the bug as I don't have the proper setup to do this.

Mathias Gug (mathiaz)
Changed in quagga:
status: Confirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

I sponsored the upload with the diff, I just improved the changelog a bit:

 quagga (0.99.2-1ubuntu3.2) dapper-proposed; urgency=low
 .
   * debian/patches/92_router_id_not_timer_driven.dpatch:
     - Fix OSPF assertion on startup when using static routes. See
       http://bugzilla.quagga.net/show_bug.cgi?id=229 for details.
     - Patch taken from upstream CVS:
       http://bugzilla.quagga.net/attachment.cgi?id=73&action=view
     - LP #48848.

This needs verification now. Can anyone on dapper please install quagga and check that it still works and fixes that bug? Thank you!

Changed in quagga:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

This still needs testing. Can you please give the -proposed packages a whirl, so that we can move them to -updates soon? Thanks!

Revision history for this message
PrasannaL (prasanna79) wrote :

Sorry, I missed this earlier.

The newest Ubuntu release seems to be quagga (0.99.2-1ubuntu3.3) . The patch is still needed, but the changelog needs to be modified.

Revision history for this message
Mathias Gug (mathiaz) wrote :

I've attached a patch against the latest version of quagga in dapper. However it still needs to be tested as I don't have the setup to test it.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Shouldn't this be tested in dapper-proposed then?

Revision history for this message
Daniel Holbach (dholbach) wrote :

Is there something left for ubuntu-main-sponsors to do?

Revision history for this message
Daniel Holbach (dholbach) wrote :

Unsubscribing ubuntu-main-sponsors for now.

Revision history for this message
Martin Pitt (pitti) wrote :

Argh, sorry for the delay, ubuntu-sru was not subscribed. I subscribed it again, and uploaded Mathias' patch. 3.4 is in dapper-proposed now with the patch.

Can anyone please test this and give some instructions how to reproduce this? Thank you!

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Brian writes:
"I gave this one a go also but was unable to setup OSPF in quagga altogether. To be certain this wasn't the bug I also tried it in Feisty
and with the dapper-proposed package but still wasn't able to setup OSPF. Without a test case I am uncertain what more we can do here."

Revision history for this message
Martin Pitt (pitti) wrote :

We need somebody to confirm that the version in dapper-proposed still works, and preferably even to test that this bug is fixed. This blocks the release of Ubuntu 6.06.2.

Revision history for this message
Brian Murray (brian-murray) wrote :

I tried using some config files I found at http://forums.suselinuxsupport.de/index.php?s=2200a0390e15e515869f19eb15b2d9c2&showtopic=40338&pid=179531&st=0&#entry179531
which seem to enable ospf. However, ospfd started up fine (the daemon was running and 'show ip ospf' returned information) for me using that config and package version 0.99.2-1ubuntu3.3.

Revision history for this message
Mathias Gug (mathiaz) wrote :

On Thu, Jan 17, 2008 at 01:25:18AM -0000, Brian Murray wrote:
> I tried using some config files I found at http://forums.suselinuxsupport.de/index.php?s=2200a0390e15e515869f19eb15b2d9c2&showtopic=40338&pid=179531&st=0&#entry179531
> which seem to enable ospf. However, ospfd started up fine (the daemon was running and 'show ip ospf' returned information) for me using that config and package version 0.99.2-1ubuntu3.3.

IIRC the bug could only be triggered under some specific configuration
(involving multiple servers exporting static routes). Reading the
upstream bug is a good starting point to figure out the configuration
that would trigger the bug.

--
Mathias

Revision history for this message
Martin Pitt (pitti) wrote :

Brian, Mathias, thanks for initial testing. I am not too worried about the specific patch, since in comment 4 confirmed that the patch fixes the problem. I'm more worried about toolchain changes and thus breaking the .debs in some way, etc.

Revision history for this message
Martin Pitt (pitti) wrote :

I consider this sufficiently verified.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to -updates

Changed in quagga:
status: Fix Committed → Fix Released
Changed in quagga:
importance: Unknown → Medium
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.