dhcpcd-10.0.2-1 is failing to acquire an address and continuously litters /var/log/66/dhcpcd-custom/current with the following over and over again:

2023-09-25 14:42:25.109708889  dhcpcd-10.0.2 starting
2023-09-25 14:42:25.109740950  *** buffer overflow detected ***: terminated
2023-09-25 14:42:25.114559134  dhcpcd is not running
2023-09-25 14:42:26.111070272  dhcpcd-10.0.2 starting
2023-09-25 14:42:26.111109195  *** buffer overflow detected ***: terminated
2023-09-25 14:42:26.116266029  dhcpcd is not running
2023-09-25 14:42:27.112661647  dhcpcd-10.0.2 starting
2023-09-25 14:42:27.112702053  *** buffer overflow detected ***: terminated
2023-09-25 14:42:27.117996717  dhcpcd is not running

Workaround is to downgrade to 10.0.1-2.

My /etc/66/service/dhcpcd-custom follows:

[main]
@type = classic
@version = 0.2.0
@description = "dhcpcd daemon"
@user = ( root )
@options = ( log env )

[start]
@build = auto
@execute = ( execl-cmdline -s { dhcpcd ${cmd_args} } )

[stop]
@build = auto
@execute = ( execl-cmdline -s { dhcpcd ${cmd_args_stop} } )

[environment]
cmd_args=!--hostname --ipv4only --nobackground eno1
cmd_args_stop=!--exit eno1

I also detected some weirdness in the repositories since a couple of days ago, but that may be unrelated:

:: Starting full system upgrade...
warning: dbus: local (1.14.10-2) is newer than obcore (1.14.10-1)
warning: grub: local (2:2.12rc1-2) is newer than obcore (2:2.12rc1-1)
warning: libcap: local (2.69-2) is newer than obcore (2.69-1)
warning: libldap: local (2.6.6-2) is newer than obcore (2.6.6-1)
warning: libp11-kit: local (0.25.0-3) is newer than obcore (0.25.0-2)
warning: libusb: local (1.0.26-3) is newer than obcore (1.0.26-2)
warning: p11-kit: local (0.25.0-3) is newer than obcore (0.25.0-2)
warning: qt5-base: local (5.15.10+kde+r158-2) is newer than obextra (5.15.10+kde+r158-1)
warning: util-linux: local (2.39.2-2) is newer than obcore (2.39.2-1)
warning: util-linux-libs: local (2.39.2-2) is newer than obcore (2.39.2-1)
resolving dependencies...

Anyone else having similar issues?

Just tested it on fresh install, no problem at all from my side

root@Ob66 oblive # date        
Tue Sep 26 10:41:19 AM +11 2023
root@Ob66 oblive # 66-inservice dhcpcd
Name                  : dhcpcd
Version               : 0.2.0
In tree               : root
Status                : enabled, up (pid 1100) 142 seconds
Type                  : classic
Description           : dhcpcd daemon
Source                : /usr/lib/66/service/dhcpcd
Live                  : /run/66/scandir/0/dhcpcd
Dependencies          : dhcpcd-log
External dependencies : None
Optional dependencies : None
Start script          :  execl-cmdline -s { dhcpcd ${cmd_args} -f ${conf_dir}/${conf_file} } 
Stop script           :  execl-cmdline -s { dhcpcd ${cmd_args_stop} } 
Environment source    : /etc/66/conf/dhcpcd/0.2.0
Environment file      : environment variables from: /etc/66/conf/dhcpcd/0.2.0/.dhcpcd
                        cmd_args=!-B
                        cmd_args_stop=!-x
                        conf_dir=!/etc
                        conf_file=!dhcpcd.conf

Log name              : dhcpcd-log
Log destination       : /var/log/66/dhcpcd
Log file              : 
2023-09-26 10:39:02.400543533  dhcpcd-10.0.2 starting
2023-09-26 10:39:02.402796088  dev: loaded udev
2023-09-26 10:39:02.463149471  DUID 00:01:00:01:2c:a4:d6:96:52:54:00:98:e1:5e
2023-09-26 10:39:02.463154070  eth0: IAID 00:98:e1:5e
2023-09-26 10:39:02.942829568  eth0: soliciting an IPv6 router
2023-09-26 10:39:02.943459586  eth0: Router Advertisement from fe80::2
2023-09-26 10:39:02.944211493  eth0: adding address fec0::6e1a:ab3b:f1c:da85/64
2023-09-26 10:39:02.945042562  eth0: adding route to fec0::/64
2023-09-26 10:39:02.945280831  eth0: adding default route via fe80::2
2023-09-26 10:39:03.869352401  eth0: soliciting a DHCP lease
2023-09-26 10:39:03.885923903  eth0: offered 10.0.2.15 from 10.0.2.2
2023-09-26 10:39:03.886282852  eth0: leased 10.0.2.15 for 86400 seconds
2023-09-26 10:39:03.886676396  eth0: adding route to 10.0.2.0/24
2023-09-26 10:39:03.886869322  eth0: adding default route via 10.0.2.2

I also detected some weirdness in the repositories since a couple of days ago, but that may be unrelated:

This is absolutely normal. The Obarun repositories are undergoing significant changes. A brand new build automation system is in progress, and the repositories have not yet been fully migrated. It reminds me that I haven't made an announcement about this :/

My two obarun installs are anything but fresh. Nevertheless, I have the faulty dhcpcd behavior on both of them. I have them downgraded until I have more time to look deeper into this problem.

To be precise, test was made on VM

9 days later

Upgrading to 10.0.3 fixes the issue. It was released only a few hours ago, so it might take a couple of days to propagate all the way to obcore.

cdop changed the title to [SOLVED] dhcpcd-10.0.2-1 is not working correctly .

Powered by Obarun