public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Spurious error messages at boot up from the new dhcpcd
Date: Tue, 22 Aug 2023 12:29:38 +0100	[thread overview]
Message-ID: <3254408.44csPzL39Z@rogueboard> (raw)
In-Reply-To: <ZOSGZDqco6smLrg9@ACM>

[-- Attachment #1: Type: text/plain, Size: 3426 bytes --]

On Tuesday, 22 August 2023 10:56:52 BST Alan Mackenzie wrote:
> Hello, gentoo.
> 
> With the new dhcpcd-10.0.2 (previous version being ?9.5.1) I get spurious
> error messages on boot up.  In particular, I see this:
> 
>  * Starting DHCP Client Daemon ...
>  * [ ok ] * Bringing up interface enp38s0
>  *   Caching network module dependencies
>  *   config_enp38s0 not specified; defaulting to DHCP
>  *   dhcp ...
>  *     The dhcpcd version is too old. Please upgrade.
>  *     [ !! ] * ERROR: net.enp38s0 failed to start
> 
> ..  However, after ~1 hour searching for the problem, I just tried using
> enp38s0 to ssh onto my ISP, and it worked.  In /var/log/messages, I see
> the following:
> 
> Aug 22 09:24:20 ACM dhcpcd[2435]: dhcpcd-10.0.2 starting
> Aug 22 09:24:20 ACM dhcpcd[2437]: dev: loaded udev
> Aug 22 09:24:20 ACM dhcpcd[2437]: DUID
> 00:01:00:01:20:97:45:37:60:45:cb:9c:5b:d6 Aug 22 09:24:20 ACM dhcpcd[2437]:
> enp38s0: waiting for carrier
> Aug 22 09:24:22 ACM kernel: igb 0000:26:00.0 enp38s0: igb: enp38s0 NIC Link
> is Up 1000 Mbps Full Duplex, Flow Control: RX/TX Aug 22 09:24:23 ACM
> dhcpcd[2437]: enp38s0: carrier acquired
> Aug 22 09:24:23 ACM kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp38s0: link
> becomes ready Aug 22 09:24:23 ACM dhcpcd[2437]: enp38s0: IAID cb:9c:5b:d6
> Aug 22 09:24:24 ACM dhcpcd[2437]: enp38s0: rebinding lease of 192.168.178.86
> Aug 22 09:24:24 ACM dhcpcd[2437]: enp38s0: probing address
> 192.168.178.86/24 Aug 22 09:24:28 ACM dhcpcd[2437]: enp38s0: leased
> 192.168.178.86 for 864000 seconds Aug 22 09:24:28 ACM dhcpcd[2437]:
> enp38s0: adding route to 192.168.178.0/24 Aug 22 09:24:28 ACM dhcpcd[2437]:
> enp38s0: adding default route via 192.168.178.1 Aug 22 09:24:29 ACM
> /etc/init.d/net.enp38s0[2686]: config_enp38s0 not specified; defaulting to
> DHCP

I don't know what your network configuration requirements may be, but if you 
have not specified a manual configuration for your enp38s0 interface, then you 
probably do not need the netifrc service enabled.  You can remove net.enp38s0 
service from the default runlevel and reboot, with an eye on the log messages.


> Aug 22 09:24:29 ACM /etc/init.d/net.enp38s0[2695]: The dhcpcd version
> is too old. Please upgrade.

I'm running the same version like you and do not see this message, but this 
does not explain why you get this printed out.

I expect you have the dhcpcd service enabled.  Does your NIC come up and 
obtain an IP address via dhcpcd, if you remove dhcpcd from the default 
runlevel?  Careful you do not lock yourself out, if this is a remote system 
and no network comes up when you reboot.


> Aug 22 09:24:29 ACM
> /etc/init.d/net.enp38s0[2527]: ERROR: net.enp38s0 failed to start
> 
> ..
> 
> So it would appear that everything is working, but I still get error
> messages.  The "dhcpcd version is too old" is particularly galling, given
> that dhcpcd was updated yesterday.

Unless you emerge the latest from trunk, 10.0.2 is shown as the latest stable 
dhcpcd version:

[I] net-misc/dhcpcd
     Available versions:  
            9.4.1	[debug +embedded ipv6 privsep +udev]
            9.5.1	[debug +embedded ipv6 privsep +udev]
       ~    10.0.1	[debug +embedded ipv6 privsep +udev]
            10.0.2	[debug +embedded ipv6 privsep +udev]
       **   9999      *l	[debug +embedded ipv6 privsep +udev]
     Installed versions:  10.0.2(09:27:21 08/21/23)(embedded ipv6 udev -debug 
-privsep)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-08-22 11:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-22  9:56 [gentoo-user] Spurious error messages at boot up from the new dhcpcd Alan Mackenzie
2023-08-22 11:29 ` Michael [this message]
2023-08-22 13:00   ` Alan Mackenzie
2023-08-22 15:03     ` Michael
2023-08-23 10:48       ` Alan Mackenzie
2023-08-22 21:41 ` [gentoo-user] " Nuno Silva
2023-08-23 10:44   ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3254408.44csPzL39Z@rogueboard \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox