Re: dhcpcd_form_cb truncated read with IPv6-PD
Lucas Raab
Sat Aug 01 17:47:41 2020On Sat, Aug 1, 2020, at 11:28, Roy Marples wrote: > Hi Lucas > > On 01/08/2020 16:42, Lucas Raab wrote: > > Hello, > > > > I'm receiving this error after upgrading from dhcpcd 9.0.2 to 9.1.4 > > on OpenBSD-current. The result of which is that I no longer receive > > IPv6 addresses on any interfaces. > > > > dhcpcd_fork_cb truncated read 0 (expected 4) > > ps_ctl_listen: read: Undefined error: 0 > > Eek! > Looks like dhcpcd crashed :/ > Is there any clue in dmesg? > D'oh! Should have checked there before emailing!: dhcpcd[74383]: pledge "getpw", syscall 33 > Can you run in through `ktrace -d` and then email me off list the kdump output > please? Attached > > > > > em0 is my external interface and em1 assigned to be the internal > > interface. I am using dhcpcd for IPv6-PD with rad providing a /64 > > to my internal LAN. > > > > /etc/dhcpcd.conf: > > debug > > > > allowinterfaces em0 > > > > # Allow users of this group to interact with dhcpcd via the control socket. > > controlgroup wheel > > > > # Inform the DHCP server of our hostname for DDNS. > > hostname > > > > # Use the hardware address of the interface for the Client ID. > > #clientid > > # or > > # Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361. > > # Some non-RFC compliant DHCP servers do not reply with this set. > > # In this case, comment out duid and enable clientid above. > > duid > > > > # Persist interface configuration when dhcpcd exits. > > persistent > > > > # Rapid commit support. > > # Safe to enable by default because it requires the equivalent option set > > # on the server to actually work. > > option rapid_commit > > > > # A list of options to request from the DHCP server. > > option domain_name_servers, domain_name, domain_search, host_name > > option classless_static_routes > > # Respect the network MTU. This is applied to DHCP routes. > > option interface_mtu > > > > # Most distributions have NTP support. > > #option ntp_servers > > > > # A ServerID is required by RFC2131. > > require dhcp_server_identifier > > > > # Generate SLAAC address using the Hardware Address of the interface > > #slaac hwaddr > > # OR generate Stable Private IPv6 Addresses based from the DUID > > slaac private > > > > ipv6only > > script "" > > > > interface em0 > > ia_na 0 > > ia_pd 1 em0/1 em1/2 > > > > Using the default configuration file does yield an IPv6 address on > > em0. Looking at the differences between mine and the default, > > the PD config is the only obvious one. > > > > Let me know if additional information to properly troubleshoot is > > required > > I'll try this on my OpenBSD-6.2 when I get the chance to see if I can > re-produce it. > > Are you passing any paramters to launch dhcpcd with from rc.conf? > $ rcctl get dhcpcd dhcpcd_class=daemon dhcpcd_flags=-Mq dhcpcd_rtable=0 dhcpcd_timeout=30 dhcpcd_user=root > Roy >
Attachment:
ktrace.out
Description: Binary data
| dhcpcd_form_cb truncated read with IPv6-PD | Lucas Raab |
| Re: dhcpcd_form_cb truncated read with IPv6-PD | Roy Marples |