Public bug reported:

Binary package hint: quagga

[Also submitted to Quagga's bugzilla
(https://bugzilla.quagga.net/show_bug.cgi?id=593) and the Debian bug
tracker (http://bugs.debian.org/580299) - this issue occurs on Debian
(lenny and squeeze), Ubuntu (lucid) and FreeBSD (8.0-STABLE with quagga
built from ports).  I don't think it's the same as the similar-sounding
bug reported in bug#519488; that was applying a prefix-list to an area
definition and this bug occurs when attaching a prefix-list to an
interface.  Additionally, in this bug the daemon is functional with the
new configuration until it's restarted, at which point it aborts.]

If an interface has been configured with the 'ipv6 ospf6 advertise prefix-list'
option, the ospf6 daemon will abort when it tries to start.  The configuration
will, however, work fine until ospf6d is stopped:

ted:/etc/quagga # /usr/lib/quagga/ospf6d --daemon
ted:/etc/quagga # VTYSH_PAGER=cat vtysh -d ospf6d

Hello, this is Quagga (version 0.99.15).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

ted# conf t
ted(config)# router ospf6
ted(config-ospf6)# router-id 1.2.3.4
ted(config-ospf6)# interface eth1 area 1.0.0.0
ted(config-ospf6)# redistribute static
ted(config-ospf6)# exit
ted(config)# ipv6 prefix-list ipv6-to-internal-ospf seq 10 permit ::/0
ted(config)# interface eth1
ted(config-if)# ipv6 ospf6 advertise prefix-list ipv6-to-internal-ospf
ted(config-if)# end
ted# show run
Building configuration...

Current configuration:
!
!
debug ospf6 lsa unknown
!
interface eth1
 ipv6 ospf6 advertise prefix-list ipv6-to-internal-ospf
 ipv6 ospf6 cost 1
 ipv6 ospf6 dead-interval 40
 ipv6 ospf6 hello-interval 10
 ipv6 ospf6 instance-id 0
 ipv6 ospf6 priority 1
 ipv6 ospf6 retransmit-interval 5
 ipv6 ospf6 transmit-delay 1
!
router ospf6
 router-id 1.2.3.4
 redistribute static
 interface eth1 area 1.0.0.0
!
ipv6 prefix-list ipv6-to-internal-ospf seq 10 permit ::/0
!
line vty
!
end
ted# wr mem
Building Configuration...
Configuration saved to /etc/quagga/ospf6d.conf
[OK]
ted# exit
ted:/etc/quagga # pkill ospf6d
ted:/etc/quagga # /usr/lib/quagga/ospf6d 
Aborted
ted:/etc/quagga # 


Probably related - ospf6d will immediately abort if the 'ipv6 ospf6 advertise
prefix-list' option is applied to an interface that hasn't been assigned an
ospf area.  Perhaps the configuration loader tries to apply the advertise
prefix-list before OSPF areas have been set up?

ted:/etc/quagga # :> ospf6d.conf
ted:/etc/quagga # /usr/lib/quagga/ospf6d --daemon
ted:/etc/quagga # VTYSH_PAGER=cat vtysh -d ospf6d

Hello, this is Quagga (version 0.99.15).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

ted# conf t
ted(config)# router ospf6
ted(config-ospf6)# router-id 1.2.3.4
ted(config-ospf6)# exit
ted(config)# ipv6 prefix-list ipv6-to-internal-ospf seq 10 permit ::/0
ted(config)# interface eth1
ted(config-if)# ipv6 ospf6 advertise prefix-list ipv6-to-internal-ospf
Warning: closing connection to ospf6d because of an I/O error!
ted(config-if)# 
ted:/etc/quagga # pgrep -fl ospf6d
ted:/etc/quagga #

** Affects: quagga (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Ospf6d aborts on start if 'ipv6 ospf6 advertise prefix-list' is applied to an 
interface
https://bugs.launchpad.net/bugs/575572
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to quagga in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to