[Pkg-sysvinit-devel] bootclean, /sbin/ifup, and dhclient leases file

Henrique de Moraes Holschuh hmh at debian.org
Tue Aug 22 16:12:02 UTC 2006


On Tue, 22 Aug 2006, Sean Shapira wrote:
> to preserve the dhclient leases file.  (It seems /sbin/ifup puts this in 
> /var/run.)  Yet if it is deleted, dhclient will send a DHCPDISCOVER 

This is a big bug on whatever is placing data that needs persitence across
reboots inside /var/run.

That data belongs under /var/tmp, /var/lib, /var/spool, /var/cache or any
other number of places depeding on what the data IS (for leases, I'd say
/var/lib/dhcp or /var/cache/dhcp).  But it does NOT belong on /var/run.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



More information about the Pkg-sysvinit-devel mailing list