dhcpcd: Buffer overflow after update from 9.4.1-1.0 to 10.0.2-1.0
Hi, `dhcpcd-9.4.1-1.0` is running fine on my Arch Linux 32 box. However, when updating to `dhcpcd-10.0.2-1.0`, I am encountering errors captured by `systemd`. `dhcpcd` exits with the error message `*** buffer overflow detected ***: terminated`. I am attaching the output of `systemctl status --state failed`. I did some googling but couldn't find a way to remedy this problem. Any ideas? Seems to me to be possibly system specific; please let me know what details to provide would be helpful. Best, Friedrich
On Thu, Sep 28, 2023 at 07:17:32PM +0200, Friedrich Romstedt wrote:
Hi,
`dhcpcd-9.4.1-1.0` is running fine on my Arch Linux 32 box.
However, when updating to `dhcpcd-10.0.2-1.0`, I am encountering errors captured by `systemd`.
`dhcpcd` exits with the error message `*** buffer overflow detected ***: terminated`. I am attaching the output of `systemctl status --state failed`.
I did some googling but couldn't find a way to remedy this problem.
Any ideas? Seems to me to be possibly system specific; please let me know what details to provide would be helpful.
Best, Friedrich
Yes, this is a known problem with some versions of dhcp. Easiest is to simply use dhclient instead of dhcpd. Cheers Andreas
× dhcpcd@enp1s1.service - DHCP/ IPv4LL/ IPv6RA/ DHCPv6 client on enp1s1 Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled; preset: disabled) Active: failed (Result: protocol) since Thu 2023-09-28 17:51:48 CEST; 2min 29s ago Process: 279 ExecStart=/usr/bin/dhcpcd -q -w enp1s1 (code=exited, status=0/SUCCESS) CPU: 15ms
Sep 28 17:51:47 wserver systemd[1]: Starting DHCP/ IPv4LL/ IPv6RA/ DHCPv6 client on enp1s1... Sep 28 17:51:47 wserver dhcpcd[279]: dhcpcd-10.0.2 starting Sep 28 17:51:47 wserver dhcpcd[279]: *** buffer overflow detected ***: terminated Sep 28 17:51:48 wserver systemd[1]: dhcpcd@enp1s1.service: New main PID 282 does not exist or is a zombie. Sep 28 17:51:48 wserver systemd[1]: dhcpcd@enp1s1.service: Failed with result 'protocol'. Sep 28 17:51:48 wserver systemd[1]: Failed to start DHCP/ IPv4LL/ IPv6RA/ DHCPv6 client on enp1s1.
-- Andreas Baumann Trottenstrasse 20 CH-8037 Zuerich Telefon: +41(0)76/373 01 29 E-mail: mail@andreasbaumann.cc Homepage: www.andreasbaumann.cc
participants (2)
-
Andreas Baumann
-
Friedrich Romstedt