[Buildroot] [PATCH 1/1] package/dhcpcd: create /var/db/dhcpcd

Peter Korsgaard peter at korsgaard.com
Tue Feb 2 17:59:55 UTC 2021


>>>>> "Nicolas" == Nicolas Cavallari <nicolas.cavallari at green-communications.fr> writes:

 >> > +	mkdir -p $(TARGET_DIR)/var/db/dhcpcd
 >> 
 >> What is stored here? Does it need to persist over reboots? How should a
 >> readonly rootfs be handled? Could we perhaps make it a symlink to /run
 >> or similar?
 >> 

 > It stores DHCP DUID and IPv6 stable privacy secrets.  It must persist
 > over reboots, or the features that need them must be disabled or
 > configured not to.

 > Apparently, dhcpcd is smart enough to detect read only systems and
 > plan accordingly, but i did not test it.

OK, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list