Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCPCD crashed after boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
smokyrun
n00b
n00b


Joined: 26 Dec 2023
Posts: 56
Location: Reunion Island

PostPosted: Sat Feb 22, 2025 9:16 am    Post subject: DHCPCD crashed after boot Reply with quote

Hi All,

Each time I start my system the service dhcpcd is crashed, I got this error message in log :

Code:
Feb 22 13:00:52 himalaya kernel: dhcpcd[2660]: segfault at 20 ip 00005599ab9e2c6c sp 00007ffc45442000 error 4 in dhcpcd[5599ab9bf000+38000] likely on CPU 3 (core 1, socket 0)


Below my configuration files :

/etc/conf.d/net
Code:
# Replace eth0 with the interface to be monitored
ifplugd_enp1s0="enp1s0"

# To monitor a wireless interface
ifplugd_wlp2s0="--api-mode=wlan"



/etc/dhcpcd.conf
Code:
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel

# Inform the DHCP server of our hostname for DDNS.
#hostname

# Use the hardware address of the interface for the Client ID.
#clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
duid

# Persist interface configuration when dhcpcd exits.
persistent

# vendorclassid is set to blank to avoid sending the default of
# dhcpcd-<version>:<os>:<machine>:<platform>
vendorclassid

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu

# Request a hostname from the network
option host_name

# Most distributions have NTP support.
#option ntp_servers

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private

# dhcpcd to not run the resolv.conf 'hook'
nohook resolv.conf

# Disable IPV6
noipv6


If restart the service everything work fine :

Code:
root@himalaya /etc # rc-service dhcpcd status
 * status: crashed
root@himalaya /etc # rc-service dhcpcd stop
 * Unmounting network filesystems ...                                     [ ok ]
 * Stopping libvirtd ...                                                  [ ok ]
 * Stopping DHCP Client Daemon ...
 * start-stop-daemon: no matching processes found                         [ ok ]
root@himalaya /etc # rc-service dhcpcd start
 * Starting DHCP Client Daemon ...
main: control_open: Connection refused                                    [ ok ]
root@himalaya /etc # rc-service dhcpcd status
 * status: started


On this system I use nordvpn.

Thank you for your help.

Kind regards,

Willy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum