DHCPv6 leases file becoming corrupt after a while

RedShift redshift at pandora.be
Mon May 2 14:11:02 UTC 2011


Hello


I've just started using IPv6 in my home network and configured ISC
dhcpd for IPv6 operation. However, after a while running the daemon, its 
leases file (see below) becomes corrupt. When restarting dhcpd, this 
message endlessly repeats in the syslogs:


May  2 15:54:03 router dhcpd:
May  2 15:54:03 router dhcpd: ^
May  2 15:54:03 router dhcpd: /var/lib/dhcpd/dhcpd6.leases line 64: 
corrupt lease file; expecting ia_na contents, got '#012#012'
May  2 15:54:03 router dhcpd:
May  2 15:54:03 router dhcpd: ^
May  2 15:54:03 router dhcpd: /var/lib/dhcpd/dhcpd6.leases line 64: 
corrupt lease file; expecting ia_na contents, got '#012#012'


Distro is Scientific Linux, version 6.0 and the installed dhcp package 
version is dhcp-4.1.1-12.P1.el6_0.4.i686, which is 4.1.1-P1.

Is this a known problem?


Thanks,

Glenn


/var/lib/dhcpd/dhcpd6.leases looks like this, end of message after this:

# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-4.1.1-P1

server-duid "\000\001\000\001\025Q]\311\000P\302\036x\301";

ia-na ")\014\000\017\000\001\000\001\025PV\274\000\014)\244+\377" {
   cltt 1 2011/05/02 12:19:56;
   iaaddr 2001:6f8:1418::fffe {
     binding state active;
     preferred-life 27000
     max-life 43200
     ends 2 2011/05/03 00:19:56;
   }
}

ia-na ")\014\000\017\000\001\000\001\025PV\274\000\014)\244+\377" {
   cltt 1 2011/05/02 12:19:57;
   iaaddr 2001:6f8:1418::fffe {
     binding state abandoned;
     preferred-life 27000
     max-life 43200
     ends never;
   }
}

ia-na ")\014\000\017\000\001\000\001\025PV\274\000\014)\244+\377" {
   cltt 1 2011/05/02 12:20:08;
   iaaddr 2001:6f8:1418::fffd {
     binding state active;
     preferred-life 27000
     max-life 43200
     ends 2 2011/05/03 00:20:08;
   }
}

ia-na ")\014\000\017\000\001\000\001\025PV\274\000\014)\244+\377" {
   cltt 1 2011/05/02 12:20:08;
   iaaddr 2001:6f8:1418::fffd {
     binding state abandoned;
     preferred-life 27000
     max-life 43200
     ends never;
   }
}

ia-na ")\014\000\017\000\001\000\001\025PV\274\000\014)\244+\377" {
   cltt 1 2011/05/02 12:20:19;
   iaaddr 2001:6f8:1418::fffc {
     binding state active;
     preferred-life 27000
     max-life 43200
     ends 2 2011/05/03 00:20:19;
   }
}

ia-na "\202*\340\026\000\001\000\001\024\367\027\306d1P\017e\253" {
   cltt 1 2011/05/02 13:03:46;
   iaaddr 2001:6f8:1418::fff8 {
     binding state active;
     preferred-life 27000
     max-life 43200
     ends 2 2011/05/03 01:03:46;
   }
}





More information about the dhcp-users mailing list