You are not logged in.

#1 2023-12-01 20:41:16

rwd3
Member
Registered: 2023-08-10
Posts: 7

[SOLVED] systemd dhcpcd crashes with coredump

I have a headless server with an Intel Atom 270 (intel D945GSEJT) motherboard with 32 bit pentum4 architecture. I use netctl for network management.

/etc/netctl/myethernet:

Connection=ethernet
Description='A basic dhcp ethernet connection using iproute'
Hostname='arch-server'
Interface=eno1
IP=dhcp
AutoWired=yes

After a recent reboot I noticed that the network interface did not get an ip address. When I configure a static ipadress network works fine. I am not sure if have done an upgrade since the last reboot.

I presume its because dhcpcd is crashing. This is what journalctl says:

     
Nov 30 21:49:20 arch-server systemd-coredump[549]: [?] Process 545 (dhcpcd) of user 0 dumped core.
                                            
Stack trace of thread 545:
#0  0x00000000b7f34549 __kernel_vsyscall (linux-gate.so.1 + 0x549)
 #1  0x00000000b7dbd657 n/a (libc.so.6 + 0x90657)
 #2  0x00000000b7d68597 raise (libc.so.6 + 0x3b597)
 #3  0x00000000b7d4f121 abort (libc.so.6 + 0x22121)
 #4  0x00000000b7d501bd n/a (libc.so.6 + 0x231bd)
 #5  0x00000000b7e58ef3 __fortify_fail (libc.so.6 + 0x12bef3)
 #6  0x00000000b7e588bf __chk_fail (libc.so.6 + 0x12b8bf)
 #7  0x00000000b7e59e85 __strlcpy_chk (libc.so.6 + 0x12ce85)
 #8  0x00000000004cc096 ps_newprocess (dhcpcd + 0x36096)
 #9  0x00000000004d39ce ps_root_start (dhcpcd + 0x3d9ce)
 #10 0x00000000004d40a6 ps_start (dhcpcd + 0x3e0a6)
 #11 0x000000000049e3d9 main (dhcpcd + 0x83d9)
 #12 0x00000000b7d50b09 n/a (libc.so.6 + 0x23b09)
 #13 0x00000000b7d50bcd __libc_start_main (libc.so.6 + 0x23bcd)
 #14 0x000000000049f22b _start (dhcpcd + 0x922b)
 ELF object binary architecture: Intel 80386

What could be causing this?
Should I file a bug for systemd, and if so which info should I provide?

Last edited by rwd3 (2023-12-02 11:16:31)

Offline

#2 2023-12-02 09:26:40

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: [SOLVED] systemd dhcpcd crashes with coredump

Just use 'DHCPClient=dhclient' in your netctl profile instead (and install 'dhclient' of course). dhcpcd is known not to work since some versions.

Offline

#3 2023-12-02 11:15:45

rwd3
Member
Registered: 2023-08-10
Posts: 7

Re: [SOLVED] systemd dhcpcd crashes with coredump

Thanks, that solved it. I also did this to be sure that dhcpcd is disabled.

#systemctl disable dhcpcd

Offline

Board footer

Powered by FluxBB