Re: timeout behavior different with dhcpcd 6.6.1
Amit Uttamchandani
Fri Nov 14 22:47:43 2014
On Fri, Nov 14, 2014 at 06:51:51AM -0800, Amit Uttamchandani wrote:
[snip]
> > > > This looks like a bug and I'll try and look into it when I get the chance.
> > > > For the time being, you can disable IPv4LL by adding noipv4ll to the top
> > > > of dhcpcd.conf to hopefully get the behaviour you desire.
> > > >
> > > > Roy
> > >
> > > Thanks Roy. Unfortunately, we use the IPv4LL functionality. But it's ok,
> > > I will wait for your fix.
> >
> > http://roy.marples.name/projects/dhcpcd/fdiff?v1=46689cd7c5435f37d36da3203c2fe6d198384e28&v2=7a5b470e6abb6d02c39bc819b711c37481555f70&sbs=0
> >
> > Hopefully that fixes it.
> >
>
> Thanks Roy. Will test the latest 6.6.2, saw that you had additional
> fixes for a possible race condition.
Hi Roy,
Tried v6.6.2 and I can still reproduce that issue. Attached are the
debug logs and dhcpcd.conf. Note that this time I am testing without
*timeout 0*. I am just trying the default configuration, which leads me
to believe the issue probably has nothing to do with timeout 0.
Also, note the only change I did to dhcpcd.conf was to add *debug*.
Thanks,
Amit
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: version 6.6.2 starting
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: if_disable_autolinklocal: Operation not supported
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: disabling kernel IPv6 RA support
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: adding address fe80::ba2a:8253:babc:7a54
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: vltime infinity, pltime infinity
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' NOCARRIER
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: waiting for carrier
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: carrier acquired
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: if_disable_autolinklocal: Operation not supported
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' CARRIER
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: error writing DUID: /etc/dhcpcd.duid: Read-only file system
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: DUID 00:03:00:01:00:1f:f2:08:a7:b0
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: IAID f2:08:a7:b0
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: delaying IPv6 router solicitation for 0.4 seconds
Nov 14 14:31:23 falcon-UNKNOWN dhcpcd[581]: eth0: delaying IPv4 for 0.1 seconds
Nov 14 14:31:24 falcon-UNKNOWN dhcpcd[581]: eth0: soliciting a DHCP lease
Nov 14 14:31:24 falcon-UNKNOWN dhcpcd[581]: eth0: sending DISCOVER (xid 0x7c3ead1d), next in 3.1 seconds
Nov 14 14:31:24 falcon-UNKNOWN dhcpcd[581]: eth0: soliciting an IPv6 router
Nov 14 14:31:24 falcon-UNKNOWN dhcpcd[581]: eth0: delaying Router Solicitation for LL address
Nov 14 14:31:25 falcon-UNKNOWN dhcpcd[581]: eth0: sending Router Solicitation
Nov 14 14:31:27 falcon-UNKNOWN dhcpcd[581]: eth0: sending DISCOVER (xid 0x7c3ead1d), next in 8.4 seconds
Nov 14 14:31:29 falcon-UNKNOWN dhcpcd[581]: eth0: probing for an IPv4LL address
Nov 14 14:31:29 falcon-UNKNOWN dhcpcd[581]: eth0: probing for 169.254.53.85
Nov 14 14:31:29 falcon-UNKNOWN dhcpcd[581]: eth0: sending ARP probe (1 of 3), next in 1.9 seconds
Nov 14 14:31:29 falcon-UNKNOWN dhcpcd[581]: eth0: sending Router Solicitation
Nov 14 14:31:29 falcon-UNKNOWN dhcpcd[581]: eth0: offered 192.168.1.180 from 192.168.1.83
Nov 14 14:31:29 falcon-UNKNOWN dhcpcd[581]: eth0: sending REQUEST (xid 0x7c3ead1d), next in 4.1 seconds
Nov 14 14:31:29 falcon-UNKNOWN dhcpcd[581]: eth0: acknowledged 192.168.1.180 from 192.168.1.83
Nov 14 14:31:29 falcon-UNKNOWN dhcpcd[581]: eth0: probing for 192.168.1.180
Nov 14 14:31:29 falcon-UNKNOWN dhcpcd[581]: eth0: sending ARP probe (1 of 3), next in 1.5 seconds
Nov 14 14:31:30 falcon-UNKNOWN dhcpcd[581]: eth0: sending ARP probe (2 of 3), next in 1.9 seconds
Nov 14 14:31:31 falcon-UNKNOWN dhcpcd[581]: eth0: sending ARP probe (2 of 3), next in 1.7 seconds
Nov 14 14:31:32 falcon-UNKNOWN dhcpcd[581]: eth0: sending ARP probe (3 of 3), next in 2.0 seconds
Nov 14 14:31:32 falcon-UNKNOWN dhcpcd[581]: eth0: sending ARP probe (3 of 3), next in 2.0 seconds
Nov 14 14:31:33 falcon-UNKNOWN dhcpcd[581]: eth0: sending Router Solicitation
Nov 14 14:31:34 falcon-UNKNOWN dhcpcd[581]: eth0: using IPv4LL address 169.254.53.85
Nov 14 14:31:34 falcon-UNKNOWN dhcpcd[581]: eth0: writing lease `/var/lib/dhcpcd5/dhcpcd-eth0.lease'
Nov 14 14:31:34 falcon-UNKNOWN dhcpcd[581]: eth0: adding IP address 169.254.53.85/16
Nov 14 14:31:34 falcon-UNKNOWN dhcpcd[581]: eth0: adding route to 169.254.0.0/16
Nov 14 14:31:34 falcon-UNKNOWN dhcpcd[581]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' IPV4LL
Nov 14 14:31:34 falcon-UNKNOWN dhcpcd[581]: forking to background
Nov 14 14:31:34 falcon-UNKNOWN dhcpcd[952]: eth0: sending ARP announce (1 of 2), next in 2.0 seconds
Nov 14 14:31:34 falcon-UNKNOWN dhcpcd[581]: forked to background, child pid 952
Nov 14 14:31:36 falcon-UNKNOWN dhcpcd[952]: eth0: sending ARP announce (2 of 2)
Nov 14 14:31:37 falcon-UNKNOWN dhcpcd[952]: eth0: sending Router Solicitation
Nov 14 14:31:37 falcon-UNKNOWN dhcpcd[952]: eth0: no IPv6 Routers available
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
# 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.
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
# Most distributions have NTP support.
option ntp_servers
# Respect the network MTU.
# Some interface drivers reset when changing the MTU so disabled by default.
#option interface_mtu
# A ServerID is required by RFC2131.
require dhcp_server_identifier
# Generate Stable Private IPv6 Addresses instead of hardware based ones
slaac private
# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
nohook lookup-hostname
debug
Archive administrator: postmaster@marples.name