Bug#387416: wide-dhcpv6-server: Parser Error while parsing config file

2006-09-20 Thread Jérémie Corbier
tags 387416 pending
thanks

In the upstream bug report, SUZUKI Shinsuke wrote:
 The sample configuration (and the man file) was incorrect;
 you must provide a preferred-lifetime for each pool, but the
 sample configuration and dhcp6s.conf.5 forgot to mention it.

It is fixed in their CVS and it will be included in the next package. It is
nearly ready (just need a little polishing and a sponsor).

-- 
Jeremie


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



Bug#387416: wide-dhcpv6-server: Parser Error while parsing config file

2006-09-14 Thread Arne Bernin
Subject: wide-dhcpv6-server: Parser Error while parsing config file
Package: wide-dhcpv6-server
Version: 20060322-4
Severity: important

*** Please type your report below this line ***

wide-dhcpv6-server does not like a config file which has a address-pool
defined in an interface section.
For example:

interface eth1 {
preference 12;
address-pool pool1;
}

fails with an yyerror0. This makes it impossible, to define an address
pool
to use it. The included sample config in this package does not work
because
of this problem. 
I also tested upstream version 20060902. Same result.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages wide-dhcpv6-server depends on:
ii  debconf [debconf-2.0]1.5.3   Debian configuration
management sy
ii  libc62.3.6.ds1-4 GNU C Library: Shared
libraries
ii  sharutils1:4.2.1-15  shar, unshar, uuencode,
uudecode

wide-dhcpv6-server recommends no packages.

*** /tmp/dhcp6s.conf.sample
# The followings are a sample configuration to provide a DNS server
address
# for every client as well as to delegate a permanent IPv6 prefix
# 2001:db8:::/48 to a client whose DUID is 00:01:00:01:aa:bb.

option domain-name-servers 2001:db8::35;

host kame {
duid 00:01:00:01:aa:bb;
prefix 2001:db8:::/48 infinity;
};

# The followings are a sample configuration to provide an IPv6 address
# from an address pool 2001:db8:1:2::1000-2000.
# Note. You have to send an RA with A-bit off to fxp0; otherwise
# a client cannot be sure about the prefix-length and the default
router.

interface fxp0 {
address-pool pool1;
};

pool pool1 {
range 2001:db8:1:2::1000 to 2001:db8:1:2::2000 ;
};


*** /tmp/dhcp6.error
Sep 14 11:25:41 pns-lnx dhcp6s[3999]: yyerror0: /tmp/dhcp6s.conf.sample
18: syntax error
Sep 14 11:25:41 pns-lnx dhcp6s[3999]: yyerror0: /tmp/dhcp6s.conf.sample
18: fatal parse failure: exiting (1 errors)
Sep 14 11:25:41 pns-lnx dhcp6s[3999]: main: failed to parse
configuration file




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



Bug#387416: wide-dhcpv6-server: Parser Error while parsing config file

2006-09-14 Thread Jérémie Corbier
tags 387416 upstream
thanks

On Thu, Sep 14, 2006 at 11:32:01AM +0200, Arne Bernin wrote:
 I also tested upstream version 20060902. Same result.

Forwarded upstream. See:
http://sourceforge.net/tracker/index.php?func=detailaid=1558811group_id=153668atid=788687

-- 
Jeremie


pgp9jXZDGUmRw.pgp
Description: PGP signature