[SOLVED] dhcpcd 9.2.0 to 9.3.1-1 update : no ip address

This forum is for discussion about general software issues.

[SOLVED] dhcpcd 9.2.0 to 9.3.1-1 update : no ip address

Postby m040601 » Wed Oct 28, 2020 5:18 pm

EDIT1:
downgrading dhcpcd to the old version 9.2.0 solved this problem temporarly. If you dont have the old package in cache, get it from the archive. Once again, the old packages archive, http://tardis.tiny-vps.com/aarm/packages/d/dhcpcd/ powered by the ArchlinuxARM Rollback Machine and provided by the kind soul user @impatt saved my day.

EDIT2:
dhcpcd-9.3.2 has been releaased by Roy Marples containg the fix, is already available in the official ARM package that I tested and confirmed.

------------------------------------------------------------------------------

Anyone else experiencing network connectivity problems caused by dhcpcd after the 9.2.0 to 9.3.1-1 update in the last days ?

I just noticed this now, after restarting my Raspberry Pi 1.2 armv7h after the update.
Can't connect to the Pi, neither wireless nor by ethernet, because I get no IP address from the router.

I'm using dhcpcd with netctl auto and netctl ifplugd. Not systemd-networkd or systemd-resolved.

Sorry I dont' have time until tomorrow to further post the log errors, try reinstalling the previous version or further debugging this now.

Just quickly glanced at the journald logs, saw core dumps and error messages with dhcpcd, and confirmed that I got not IP address from the router.


Since it's not the first time dhcpcd updates have caused me and others (both ARM and x86) very similar issues this year,

[Arch Linux ARM • View topic - dhcpcd failing since last upgrade]
(viewtopic.php?f=57&t=14412&p=63486&hilit=dhcpcd#p63486)

[Arch Linux ARM • View topic - dhcpcd 8.1.7, possible bug, fails with checksum failure]
(viewtopic.php?f=15&t=14418&p=63458&hilit=dhcpcd#p63458)



I strongly suspect it might have been this update in the PKGBUILD in October 26th (due to upstream changes),


[09016b8af34671d3ad313cc9417f19705477b7e6
dhcpcd (armv7h) | Package Files | Arch Linux ARM]
(https://archlinuxarm.org/packages/armv7 ... 705477b7e6)

As I said, I dont have time, today, to dig further into this , but I noticed new files added and new stuff being modified in this package like:

$this->bbcode_second_pass_code('', '+install='dhcpcd.install'')


$this->bbcode_second_pass_code('', '-u dhcpcd - "dhcpcd privilege separation" /var/lib/dhcpcd
+u dhcpcd - "dhcpcd privilege separation" -')


$this->bbcode_second_pass_code('', '-d /var/lib/dhcpcd 0700 dhcpcd dhcpcd -
-d /run/dhcpcd 0755 dhcpcd dhcpcd -
+d /run/dhcpcd 0755 root root -')


So I strongly suspect something related to permissions.




PKGBUILD changes:
https://archlinuxarm.org/packages/armv7h/dhcpcd/log

UPSTREAM changes:
https://roy.marples.name/archives/dhcpcd-discuss/
https://github.com/rsmarples/dhcpcd
https://roy.marples.name/cgit/dhcpcd.git/
Last edited by m040601 on Fri Nov 06, 2020 2:39 am, edited 3 times in total.
m040601
 
Posts: 29
Joined: Tue Jan 28, 2020 6:36 pm

Re: dhcpcd 9.2.0 to 9.3.1-1 update: no ip address (with net

Postby foobar » Thu Oct 29, 2020 8:50 am

Ugraded today and have the same problem on several Pi's (0, 3 and 4). I use fixed IP addresses on all of them but after upgrade I cannot even ssh in on them. They is no IP address on the network adapter. Downgrading dhcpcd solved the problem. So there is definitely a big problem with the latest dhcpcd version!
foobar
 
Posts: 37
Joined: Wed Oct 21, 2020 12:33 pm


Return to General

Who is online

Users browsing this forum: No registered users and 28 guests