dhcpcd crashes every 5 days. I tried saving a crash report by setting
sysctl.kern.nosuidcoredump=2; however dhcpcd.core was not written to
/var/crash/dhcpcd.

Here is some more information about my problem:
https://marc.info/?l=openbsd-misc&m=167289142025844&w=2

Some other information not included in the above thread. According to
dhcpcd.conf(5), there should be a file /var/db/dhcpcd/duid; however
there is no such file nor has there ever been. It also states that the
DHCPv6 client ID will be DUID+IAID; however they are the same according
to dhcpcd -U em0:

dhcp6_client_id=00041c021b030d04e70508065c0700080009
/var/log/daemon:
dhcpcd[86796]:
DUID 00:04:1c:02:1b:03:0d:04:e7:05:08:06:5c:07:00:08:00:09

The line in /etc/dhcpcd.conf that has always given me pause-since I
haven't found examples on the Internet that use it-is the line:
ia_pd 0/::/60. According to dhcpcd.conf(8), this should mean that a
prefix should be delegated associated with the IAID 0 with prefix ::
and prefix length of 60. Since there are no interfaces that follow,
then dhcpcd should "assign a prefix to every other interface with a
sla_id equivalent to the interface index assigned by the OS." However
I explicitly deny all interfaces except em0-the interface requesting the
prefix delegation-so this should mean that dhcpcd will assign a prefix
to no other interface. I statically assign /64s from this /60 to my
other interfaces. Perhaps dhcpcd requires assigning a prefix to at
least one interface, but temporarily allows for it for like 5 days?

Is there any use in building dhcpcd with debug symbols if dhcpcd.core
is not being generated?

Reply via email to