[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#857763: udhcpd: Please set FEATURE_UDHCPD_WRITE_LEASES_EARLY in build config



On Tue, 14 Mar 2017 17:25:50 +0000 Sabahattin Gucukoglu <scrapedsebby@me.com> wrote:
Source: busybox
Version: 1:1.22.0-19
Severity: wishlist

The dumpleases utility would be made more useful on a system with an SSD if FEATURE_UDHCPD_WRITE_LEASES_EARLY were set at build time, because then you wouldn't need to set a low auto_time (udhcpd.conf option) to get up-to-date lease information from an unprivileged account, without having to first send a signal to udhcpd from root. Please set this build option.

I guess it's still too much to write leases file on every DHCP ACK, even 6
years after this bug report has been submitted.

What would be useful though, is for dumpleases to send SIGUSR1 to dhcpd
before reading the leases file.  I guess.  Dunno how it would syncronize
though.

/mjt


Reply to: