tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dhcpd.leases and rough edges in a fresh install
On 4/2/09, Steven M. Bellovin <smb%cs.columbia.edu@localhost> wrote:
> On Thu, 2 Apr 2009 18:57:03 +0200 (CEST)
> Hubert Feyrer <hubert%feyrer.de@localhost> wrote:
>
> > On Fri, 3 Apr 2009, Tyler Retzlaff wrote:
> > > comments?
> >
> > Add something like
> >
> > dhcpcd_precmd*(
> > {
> > if [ ! -f /var/run/dhcpd.leases ]; then
> > install -c -m 644 /dev/null /var/db/dhcpd.leases
> > fi
> > }
> >
> > (untested, but considered worthwhile!)
> >
>
> My question is this: clearly, dhcpd could have been done the equivalent
> itself, with little effort. It doesn't -- why not? Is there something
> we lose by doing it ourselves?
>
It is ridiculous that dhcpd doesn't do this, actually, especially when
you use the -lf flag to change the leases file location.
Home |
Main Index |
Thread Index |
Old Index