Hi Folks, I've replicated the dhcpcd not getting a new lease on reboot/ifup, problem. This time on a desktop. I captured the dialogs below where we can see dhcpcd timing out after being run as a result of an if-up. But after the timeout, it checks to see if /var/lib/dhcpcd/ contains a valid lease. If it does, it uses that possibly invalid lease. If an old lease doesn't exist it broadcasts for a new one and all is then well. End result is the previous, and now possibly stale, dhcp lease being used. It even survives a complete reboot. This results in a dead network if subnets are changed. Removing /var/lib/dhcpcd/*, then rebooting or issuing /etc/init.d/network restart-all-dhcp-clients, will trigger a new lease broadcast and all is now well. This smells like a feature, intended to quicken the boot process, run amok. Regards, Lew Here's the spoor. IP address have been munged to protect the innocent. Unplugged Ethernet cable from a 192.168.1.0/24 subnet, then plugging into a full-up IPv4/IPv6 enabled network. Jan 5 13:13:09 ironhead kernel: [ 2652.274937] r8169 0000:03:00.0: eth0: link down Jan 5 13:13:14 ironhead kernel: [ 2657.525632] r8169 0000:03:00.0: eth0: link up ifconfig now showed the old 192.168.1.2 address, but did pick up the new IPv6 address. /var/lib/dhcpcd shows: -rw-r--r-- 1 root root 357 Jan 5 12:29 dhcpcd-eth0.info -rw-r--r-- 1 root root 0 Jan 5 13:31 dhcpcd-eth0.timestamp with dhcpcd-eth0.info containing: IPADDR='192.168.1.2' NETMASK='255.255.255.0' NETWORK='192.168.1.0' BROADCAST='192.168.1.255' ROUTES='' GATEWAYS='192.168.1.1' DNSSERVERS='192.168.1.1' DHCPSID='192.168.1.1' LEASEDFROM='1325795365' LEASETIME='86400' RENEWALTIME='43200' REBINDTIME='73440' INTERFACE='eth0' CLASSID='dhcpcd 3.2.3' CLIENTID='01:00:24:e8:08:00:43' DHCPCHADDR='00:24:e8:08:00:43' I then issued: /etc/init.d/network restart messages: Jan 5 13:44:51 ironhead network[4962]: Hint: you may set mandatory devices in /etc/sysconfig/network/config Jan 5 13:44:51 ironhead network[4962]: Setting up network interfaces: Jan 5 13:44:51 ironhead network[4962]: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B Jan 5 13:44:51 ironhead ifup: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B Jan 5 13:44:51 ironhead network[4962]: eth0 DHCP4 client is already running Jan 5 13:44:51 ironhead ifup-dhcp: eth0 DHCP4 client is already running Jan 5 13:44:51 ironhead network[4962]: eth0 IP address: 192.168.1.2/24 Jan 5 13:44:51 ironhead ifup-dhcp: eth0 IP address: 192.168.1.2/24 Jan 5 13:44:51 ironhead network[4962]: ..doneSetting up service network . . . . . . . . . .. done Jan 5 13:44:51 ironhead SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ... Jan 5 13:44:51 ironhead SuSEfirewall2: Firewall rules successfully set I tried: /etc/init.d/network restart-all-dhcp-clients in messages: Jan 5 13:47:09 ironhead ifdown: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B Jan 5 13:47:09 ironhead dhcpcd[5763]: eth0: sending signal 15 to pid 4325 Jan 5 13:47:09 ironhead dhcpcd[5763]: eth0: exiting Jan 5 13:47:09 ironhead dhcpcd[4325]: eth0: received SIGTERM, stopping Jan 5 13:47:09 ironhead dhcpcd[4325]: eth0: removing default route via 192.168.1.1 metric 0 Jan 5 13:47:09 ironhead dhcpcd[4325]: eth0: removing IP address 192.168.1.2/24 Jan 5 13:47:09 ironhead avahi-daemon[917]: Withdrawing address record for 192.168.1.2 on eth0. Jan 5 13:47:09 ironhead avahi-daemon[917]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.2. Jan 5 13:47:09 ironhead avahi-daemon[917]: Interface eth0.IPv4 no longer relevant for mDNS. Jan 5 13:47:09 ironhead dhcpcd[4325]: eth0: exiting Jan 5 13:47:10 ironhead network[5857]: Shutting down network interfaces: Jan 5 13:47:10 ironhead network[5857]: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B Jan 5 13:47:10 ironhead ifdown: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B Jan 5 13:47:10 ironhead dhcpcd[6127]: eth0: dhcpcd not running Jan 5 13:47:10 ironhead dhcpcd[6127]: eth0: exiting Jan 5 13:47:10 ironhead avahi-daemon[917]: Withdrawing address record for XXXX:XXX:XX:44:f92a:9373:e88a:923b on eth0. Jan 5 13:47:10 ironhead avahi-daemon[917]: Withdrawing address record for XXXX:XXX:XX:44:224:e8ff:fe08:43 on eth0. Jan 5 13:47:10 ironhead avahi-daemon[917]: Registering new address record for fe80::224:e8ff:fe08:43 on eth0.*. Jan 5 13:47:10 ironhead avahi-daemon[917]: Withdrawing address record for fe80::224:e8ff:fe08:43 on eth0. Jan 5 13:47:10 ironhead ifup: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B Jan 5 13:47:11 ironhead kernel: [ 938.173492] r8169 0000:03:00.0: eth0: link down Jan 5 13:47:11 ironhead kernel: [ 938.173498] r8169 0000:03:00.0: eth0: link down Jan 5 13:47:11 ironhead kernel: [ 938.173808] ADDRCONF(NETDEV_UP): eth0: link is not ready Jan 5 13:47:11 ironhead ifup-dhcp: eth0 Starting DHCP4 client Jan 5 13:47:11 ironhead dhcpcd[6530]: eth0: dhcpcd 3.2.3 starting Jan 5 13:47:11 ironhead dhcpcd[6530]: eth0: hardware address = 00:24:e8:08:00:43 Jan 5 13:47:11 ironhead dhcpcd[6530]: eth0: broadcasting for a lease Jan 5 13:47:11 ironhead ifup-dhcp: . Jan 5 13:47:11 ironhead network[5857]: ..doneShutting down service network . . . . . . . . ...done Jan 5 13:47:12 ironhead kernel: [ 940.037464] show_signal_msg: 48 callbacks suppressed Jan 5 13:47:12 ironhead kernel: [ 940.037468] ntpd[4200]: segfault at 8 ip 00007f4822a31dee sp 00007fffeac10130 error 4 in ntpd[7f4822a15000+a1000] Jan 5 13:47:13 ironhead ifup-dhcp: . Jan 5 13:47:13 ironhead kernel: [ 940.669389] r8169 0000:03:00.0: eth0: link up Jan 5 13:47:13 ironhead kernel: [ 940.669827] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Jan 5 13:47:14 ironhead avahi-daemon[917]: Registering new address record for fe80::224:e8ff:fe08:43 on eth0.*. Jan 5 13:47:15 ironhead ifup-dhcp: . Jan 5 13:47:17 ironhead ifup-dhcp: . Jan 5 13:47:20 ironhead ifup-dhcp: . Jan 5 13:47:22 ironhead ifup-dhcp: . Jan 5 13:47:24 ironhead avahi-daemon[917]: Registering new address record for XXXX:XXX:XX:44:f89a:27d4:eb7d:b86 on eth0.*. Jan 5 13:47:24 ironhead avahi-daemon[917]: Withdrawing address record for fe80::224:e8ff:fe08:43 on eth0. Jan 5 13:47:24 ironhead ifup-dhcp: . Jan 5 13:47:24 ironhead avahi-daemon[917]: Registering new address record for XXXX:XXX:XX:44:224:e8ff:fe08:43 on eth0.*. Jan 5 13:47:26 ironhead ifup-dhcp: . Jan 5 13:47:27 ironhead ifup-dhcp: Jan 5 13:47:27 ironhead ifup-dhcp: eth0 DHCP4 continues in background Jan 5 13:47:31 ironhead dhcpcd[6530]: eth0: timed out Jan 5 13:47:31 ironhead dhcpcd[6530]: eth0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth0.info' Jan 5 13:47:31 ironhead dhcpcd[6530]: eth0: adding IP address 192.168.1.2/24 Jan 5 13:47:31 ironhead dhcpcd[6530]: eth0: adding default route via 192.168.1.1 metric 0 Jan 5 13:47:31 ironhead avahi-daemon[917]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.2. Jan 5 13:47:31 ironhead avahi-daemon[917]: New relevant interface eth0.IPv4 for mDNS. Jan 5 13:47:31 ironhead avahi-daemon[917]: Registering new address record for 192.168.1.2 on eth0.IPv4. Jan 5 13:47:31 ironhead ifdown: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) Jan 5 13:47:31 ironhead rsyslogd: [origin software="rsyslogd" swVersion="5.8.5" x-pid="901" x-info="http://www.rsyslog.com"] rsyslogd was HUPed Jan 5 13:47:31 ironhead ifup: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) Jan 5 13:47:31 ironhead SuSEfirewall2: /var/lock/SuSEfirewall2.booting exists which means system boot in progress, exit. Jan 5 13:47:31 ironhead dhcpcd[6530]: eth0: exiting Jan 5 13:47:40 ironhead ntp[7833]: Shutting down network time protocol daemon (NTPD)..done Jan 5 13:47:40 ironhead dbus-daemon[958]: **** /proc/self/mountinfo changed Removing /var/lib/dhcpcd/*, then doing another /etc/init.d/network restart-all-dhcp-clients gives us this: Jan 5 13:58:32 ironhead ifdown: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B Jan 5 13:58:32 ironhead dhcpcd[8161]: eth0: sending signal 15 to pid 7831 Jan 5 13:58:32 ironhead dhcpcd[8161]: eth0: exiting Jan 5 13:58:32 ironhead dhcpcd[7831]: eth0: received SIGTERM, stopping Jan 5 13:58:32 ironhead dhcpcd[7831]: eth0: removing default route via 192.168.1.1 metric 0 Jan 5 13:58:32 ironhead dhcpcd[7831]: eth0: removing IP address 192.168.1.2/24 Jan 5 13:58:32 ironhead avahi-daemon[917]: Withdrawing address record for 192.168.1.2 on eth0. Jan 5 13:58:32 ironhead avahi-daemon[917]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.2. Jan 5 13:58:32 ironhead avahi-daemon[917]: Interface eth0.IPv4 no longer relevant for mDNS. Jan 5 13:58:32 ironhead dhcpcd-hook: /var/lib/dhcpcd/dhcpcd-eth0.info does not exist. Skipping 'ifdown -o dhcp' call Jan 5 13:58:32 ironhead dhcpcd[7831]: eth0: exiting Jan 5 13:58:33 ironhead avahi-daemon[917]: Withdrawing address record for XXXX:XXX:XX:44:f89a:27d4:eb7d:b86 on eth0. Jan 5 13:58:33 ironhead avahi-daemon[917]: Withdrawing address record for XXXX:XXX:XX:44:224:e8ff:fe08:43 on eth0. Jan 5 13:58:33 ironhead avahi-daemon[917]: Registering new address record for fe80::224:e8ff:fe08:43 on eth0.*. Jan 5 13:58:33 ironhead avahi-daemon[917]: Withdrawing address record for fe80::224:e8ff:fe08:43 on eth0. Jan 5 13:58:33 ironhead ifup: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B Jan 5 13:58:33 ironhead kernel: [ 1620.688618] r8169 0000:03:00.0: eth0: link down Jan 5 13:58:33 ironhead kernel: [ 1620.688624] r8169 0000:03:00.0: eth0: link down Jan 5 13:58:33 ironhead kernel: [ 1620.688921] ADDRCONF(NETDEV_UP): eth0: link is not ready Jan 5 13:58:33 ironhead ifup-dhcp: eth0 Starting DHCP4 client Jan 5 13:58:33 ironhead dhcpcd[8502]: eth0: dhcpcd 3.2.3 starting Jan 5 13:58:33 ironhead dhcpcd[8502]: eth0: hardware address = 00:24:e8:08:00:43 Jan 5 13:58:33 ironhead dhcpcd[8502]: eth0: broadcasting for a lease Jan 5 13:58:33 ironhead ifup-dhcp: . Jan 5 13:58:35 ironhead ifup-dhcp: . Jan 5 13:58:36 ironhead kernel: [ 1623.129461] r8169 0000:03:00.0: eth0: link up Jan 5 13:58:36 ironhead kernel: [ 1623.129795] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Jan 5 13:58:37 ironhead avahi-daemon[917]: Registering new address record for fe80::224:e8ff:fe08:43 on eth0.*. Jan 5 13:58:38 ironhead ifup-dhcp: . Jan 5 13:58:40 ironhead ifup-dhcp: . Jan 5 13:58:42 ironhead ifup-dhcp: . Jan 5 13:58:44 ironhead ifup-dhcp: . Jan 5 13:58:46 ironhead kernel: [ 1633.698012] eth0: no IPv6 routers present Jan 5 13:58:46 ironhead ifup-dhcp: . Jan 5 13:58:48 ironhead kernel: [ 1635.308581] martian source 255.255.255.255 from XXX.XXX.44.11, on dev eth0 Jan 5 13:58:48 ironhead kernel: [ 1635.308584] ll header: ff:ff:ff:ff:ff:ff:00:24:e8:0d:ee:63:08:00 Jan 5 13:58:49 ironhead ifup-dhcp: . Jan 5 13:58:50 ironhead ifup-dhcp: Jan 5 13:58:50 ironhead ifup-dhcp: eth0 DHCP4 continues in background Jan 5 13:58:50 ironhead SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ... Jan 5 13:58:50 ironhead SuSEfirewall2: Firewall rules successfully set Jan 5 13:58:53 ironhead dhcpcd[8502]: eth0: timed out Jan 5 13:58:53 ironhead dhcpcd[8502]: eth0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth0.info' Jan 5 13:58:53 ironhead dhcpcd[8502]: eth0: lease information file `/var/lib/dhcpcd/dhcpcd-eth0.info' does not exist Jan 5 13:58:53 ironhead dhcpcd[8502]: eth0: broadcasting for a lease Jan 5 13:58:53 ironhead dhcpcd[8502]: eth0: offered XXX.XXX.44.20 from XXX.XXX.4.2 Jan 5 13:58:53 ironhead dhcpcd[8502]: eth0: checking XXX.XXX.44.20 is available on attached networks Jan 5 13:58:54 ironhead dhcpcd[8502]: eth0: leased XXX.XXX.44.20 for 3600 seconds Jan 5 13:58:54 ironhead dhcpcd[8502]: eth0: adding IP address XXX.XXX.44.20/24 Jan 5 13:58:54 ironhead dhcpcd[8502]: eth0: adding default route via XXX.XXX.44.1 metric 0 Jan 5 13:58:54 ironhead avahi-daemon[917]: Joining mDNS multicast group on interface eth0.IPv4 with address XXX.XXX.44.20. Jan 5 13:58:54 ironhead avahi-daemon[917]: New relevant interface eth0.IPv4 for mDNS. Jan 5 13:58:54 ironhead avahi-daemon[917]: Registering new address record for XXX.XXX.44.20 on eth0.IPv4. Jan 5 13:58:54 ironhead ifdown: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) Jan 5 13:58:54 ironhead ifup: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) Jan 5 13:58:55 ironhead SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ... Jan 5 13:58:55 ironhead SuSEfirewall2: Firewall rules successfully set Jan 5 13:58:55 ironhead dhcpcd[8502]: eth0: exiting Now we can see dhcpcd broadcasting for a new lease and all is well. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org