package/dhcpcd: create /var/db/dhcpcd
PATCH 1/1 package/dhcpcd: create /var/db/dhcpcd
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=13506
--- package/dhcpcd/dhcpcd.mk | 1 + 1 file changed, 1 insertion(+)
package/dhcpcd/dhcpcd.mk +1 -0
@@ -46,6 +46,7 @@ endef define DHCPCD_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) + mkdir -p $(TARGET_DIR)/var/db/dhcpcd endef # When network-manager is enabled together with dhcpcd, it will use
Signature · 1 line
2.29.2
PATCH 1/1 package/dhcpcd: create /var/db/dhcpcd
Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=13506Signed-off-by Fabrice Fontaine <[email protected]>--- package/dhcpcd/dhcpcd.mk | 1 + 1 file changed, 1 insertion(+)package/dhcpcd/dhcpcd.mk +0
-0
package/dhcpcd/dhcpcd.mk endef · line 49
Quoted 4 lines
package/dhcpcd/dhcpcd.mk +1
-0@@ -46,6 +46,7 @@ endef define DHCPCD_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) + 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?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/dhcpcd: create /var/db/dhcpcd
Le mar. 2 f?vr. 2021 ? 16:40, Peter Korsgaard <[email protected]> a ?crit :
Quoted 17 lines
Quoted 16 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=13506Signed-off-by Fabrice Fontaine <[email protected]>--- package/dhcpcd/dhcpcd.mk | 1 + 1 file changed, 1 insertion(+)package/dhcpcd/dhcpcd.mk +0
-0@@ -46,6 +46,7 @@ endef
Quoted 7 lines
package/dhcpcd/dhcpcd.mk endef · line 49
Quoted 3 lines
package/dhcpcd/dhcpcd.mk +1
-0define DHCPCD_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) + mkdir -p $(TARGET_DIR)/var/db/dhcpcdWhat 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?
I'll set this patch as "not applicable" as dhcpcd installs back this directory since version 9.2.0 and
https://github.com/rsmarples/dhcpcd/commit/4d695e1ca3b87b45d5e5fa5119ddcb8a086ca9a0
Quoted 3 lines
--
Bye, Peter Korsgaard
Best Regards,
Fabrice
PATCH 1/1 package/dhcpcd: create /var/db/dhcpcd
Quoted 24 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Le mar. 2 f?vr. 2021 ? 16:40, Peter Korsgaard <[email protected]> a ?crit :
Quoted 21 lines
Quoted 20 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=13506Signed-off-by Fabrice Fontaine <[email protected]>--- package/dhcpcd/dhcpcd.mk | 1 + 1 file changed, 1 insertion(+)package/dhcpcd/dhcpcd.mk +1
-0@@ -46,6 +46,7 @@ endef define DHCPCD_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) + mkdir -p $(TARGET_DIR)/var/db/dhcpcd
Quoted 6 lines
Quoted 3 lines
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?
I'll set this patch as "not applicable" as dhcpcd installs back this directory since version 9.2.0 and
https://github.com/rsmarples/dhcpcd/commit/4d695e1ca3b87b45d5e5fa5119ddcb8a086ca9a0
Ok, so we would only need it for 2020.02.x / 2020.11.x then. I'll add it now.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/dhcpcd: create /var/db/dhcpcd
In reply to Peter KorsgaardQuoted 16 lines · Peter Korsgaard
Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=13506Signed-off-by Fabrice Fontaine <[email protected]>--- package/dhcpcd/dhcpcd.mk | 1 + 1 file changed, 1 insertion(+)package/dhcpcd/dhcpcd.mk +0
-0@@ -46,6 +46,7 @@ endef
Quoted 8 lines
package/dhcpcd/dhcpcd.mk endef · line 49
Quoted 3 lines
package/dhcpcd/dhcpcd.mk +1
-0define DHCPCD_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) + mkdir -p $(TARGET_DIR)/var/db/dhcpcdWhat 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.
PATCH 1/1 package/dhcpcd: create /var/db/dhcpcd
Quoted 9 lines
Quoted 8 lines
package/dhcpcd/dhcpcd.mk endef · line 49
Quoted 3 lines
Quoted 1 line
Quoted 1 line
"Nicolas" == Nicolas Cavallari <[email protected]> writes:
package/dhcpcd/dhcpcd.mk +1
-0+ mkdir -p $(TARGET_DIR)/var/db/dhcpcdWhat 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?
Quoted 6 lines
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.
Signature · 1 line
Bye, Peter Korsgaard