Package: quagga
Version: 0.99.16-1
Severity: important
Tags: upstream squeeze lenny ipv6

[Also submitted to Quagga's bugzilla; 
https://bugzilla.quagga.net/show_bug.cgi?id=593 - 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 #


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages quagga depends on:
ii  adduser                       3.112      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.32     Debian configuration management sy
ii  iproute                       20100224-3 networking and traffic control too
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.17-2   support for getting/setting POSIX.
ii  libpam0g                      1.1.1-2    Pluggable Authentication Modules l
ii  libpcre3                      7.8-3      Perl 5 Compatible Regular Expressi
ii  libreadline6                  6.1-1      GNU readline and history libraries
ii  logrotate                     3.7.8-6    Log rotation utility

quagga recommends no packages.

Versions of packages quagga suggests:
pn  snmpd                         <none>     (no description available)

-- debconf information:
  quagga/really_stop: false



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to