I just upgraded from 6.1 to 6.2 (amd64) and I'm noticing a differing
behavior with dhclient.

I use the -L option to write out the offered and effective leases.

With 6.1, when a lease was renewed, the -L lease file was overwritten
with the new information.

With 6.2, when a lease is renewed, it appears that the new information
is appended to the file specified by the -L option.

I had to implement a workaround in the scan of the lease file for the
information I need, and I've got that working again.  But the lease file
seems be increasing in size with each lease renewal (or when a lease is
obtained via a system reboot).  I had an ISP that put a 5 minute length
on their leases, and I have a concern that a short lease length like
that could generate a large -L lease file due to the appends.

Is this new behavior of appending to the file, rather than overwriting
it, expected behavior?

Thanks.

Reply via email to