dhcpcd update from 8.1.7 to 9.01 breaks Internet connection

dhcpcd 9.0.1-2 disables Internet connection!!! Only connection to Fritz!Box works.

Going back to 8.1.7-1 from the cache enables internet without reboot.
Found after cold start - rebooting after installation of 9.0.1-2: no issue!!!
.........
Output of "journalctl -p err -b
..
dhcpcd[1201]: ps_init: /var/lib/dhcpcd/var/lib/dhcpcd: Operation not permitted
dhcpcd[1207]: if_learnaddrs: if_addrflags6: ::1%lo: No such file or directory
dhcpcd[1207]: if_learnaddrs: if_addrflags6: fe80::5e81:7ac7:d3b3:d3e5%enp4s0: No such file or directory
dhcpcd[1207]: /var/lib/dhcpcd/duid: Permission denied
dhcpcd[1207]: write_lease: /var/lib/dhcpcd/enp4s0.lease: Permission denied

Journal via Systemd-Manager:
( failed connection)
systemd[1]: dhcpcd.service: Failed with result 'exit-code'.
dhcpcd[2720]: dhcpcd not running
systemd[1]: dhcpcd.service: Control process exited, code=exited, status=1/FAILURE
dhcpcd[2720]: dhcpcd not running
dhcpcd[2715]: dhcpcd exited
dhcpcd[2715]: ps_dostop: Connection refused
dhcpcd[2715]: enp4s0: IAID bf:30:5a:c5
dhcpcd[2715]: DUID 00:..................... (censored)
systemd[1]: Started dhcpcd on all interfaces.
dhcpcd[2715]: dev: loaded udev
dhcpcd[2717]: ps_start: Address already in use
dhcpcd[2717]: ps_inet_startcb: dhcp6_open: Address already in use
dhcpcd[2717]: dhcp6_openudp: Address already in use
dhcpcd[2717]: ps_start: Address already in use
dhcpcd[2717]: ps_inet_startcb: dhcp6_open: Address already in use
dhcpcd[2717]: dhcp6_openudp: Address already in use
dhcpcd[2695]: dhcpcd-9.0.1 starting
systemd[1]: Starting dhcpcd on all interfaces...

via Systemd-Manager: (connection o.K. )

dhcpcd[1679]: enp4s0: adding default route via fe80::464e:6dff:fe69:a22
dhcpcd[1679]: dhcp6_start1: Address already in use
dhcpcd[1679]: dhcp6_openudp: Address already in use
dhcpcd[1679]: enp4s0: adding route to 2003:e3:9f1a:b800::/64
dhcpcd[1679]: enp4s0: adding address 2003:e3:9f1a:b800:ed3c:279d:ad74:2b70/64
dhcpcd[1679]: enp4s0: Router Advertisement from fe80::464e:6dff:fe69:a22
dhcpcd[1679]: enp4s0: soliciting an IPv6 router
dhcpcd[1679]: enp4s0: pid 1679 deleted default route via 192.168.178.1
dhcpcd[1679]: enp4s0: pid 1679 deleted route to 192.168.178.0/24
dhcpcd[1679]: enp4s0: adding default route via 192.168.178.1
dhcpcd[1679]: enp4s0: adding route to 192.168.178.0/24
dhcpcd[1679]: enp4s0: leased 192.168.178.69 for 864000 seconds
dhcpcd[1679]: enp4s0: rebinding lease of 192.168.178.69
dhcpcd[1679]: enp4s0: IAID bf:30:5a:c5
dhcpcd[1679]: DUID 00:...................................(censored).
systemd[1]: Started dhcpcd on all interfaces.
dhcpcd[1678]: forked to background, child pid 1679
dhcpcd[1678]: dev: loaded udev
systemd[1]: Starting dhcpcd on all interfaces...

EDIT: I can get Internet with dhcpcd 9.01 - when enabling the dhcpd.service;
but: Network shows "connecting" - and the browser gets Internet, although the connection
symbol shows "working"... (Kernels: 4.19/5.4/5.6)
Removing "dhcpcd" completely: System works "normal"...
BTW: if no Internet-connection is possible - the DNS field in "Netwerk-Einstellungen" is blank.

Found:
... At that point I switched back to NetworkManager because it had same behavior with dhcpcd, ...

in: # DNS issue when using custom DNS servers

May be - may not be - seems one can use dhcpcd or networkmanager?!

Not only one can, but from my readings one SHOULD. https://wiki.manjaro.org/index.php?title=Set_DNS_or_Nameservers#Using_dhcpcd_Instead_of_NetworkManager

1 Like

....one SHOULD....

Thank You - this (Your link) coincides with my attempts.

Fixed on Archlinux. So you'll have to wait for a Manjaro backport:

Bug: https://bugs.archlinux.org/task/66313

Commit: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/dhcpcd&id=8009032326f0791d0ed20df1247fdb3a772ef08d

1 Like

The LAN works without "dhcpcd"
Please: why should I use it?
.....
Tested: (from arch/testing) dhcpcd-9.0.1-4-x86_64.pkg.tar.zst
Does not work. Last working version: dhcpcd-8.1.7-1-x86_64.pkg.tar.zst

EDIT: works now with dhcpcd-9.0.1-4
I installed 8.1.7 - after some reboots this did not work any longer.
But even 9.0.1-4 did not work.
Therefore i uninstalled 9.0.1.4 - to remove "leftovers" and rebooted.
After this no Internet.
Then installed 9.0.1-4 from Arch Testing --> works - after rebooting
with "fallback initramfs" in GRUB-menu...
Attention Network: Spider inside... :smiley:
EDIT:
dhcpcd-9.0.1-4 is in all repos now!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by