I am trying to setup a Debian 12.1 (Bookworm) LXC CT. The container starts but it takes about 5 mins to get to a login prompt.
Once the login did appear I ran apt update / upgrade and rebooted to the same issue.
Upon inspection, systemctl shows networking.service has timed out. The network is working however. The systemctl log shows a dhcp request was successful via dhclient yet ifup seems to also be trying to solicit for addresses before the 5 min timeout occurs.
If I disable the service the LXC reboots to a login prompt immediately without a network.
Setting a static address in Proxmox doesn't help, systemctl shows it attempting to use DHCP.
If I ran dhclient eth0 from the command, I get an IP address immediately.
I tried a Debian 11 template and it exhibits the same issue. Ubuntu LXC templates work fine. I have firewall disabled on this LXC and it is running on the same network as numerous other LXC and VMs. No VLAN tags, etc.
Once the login did appear I ran apt update / upgrade and rebooted to the same issue.
Upon inspection, systemctl shows networking.service has timed out. The network is working however. The systemctl log shows a dhcp request was successful via dhclient yet ifup seems to also be trying to solicit for addresses before the 5 min timeout occurs.
Code:
Oct 28 18:33:30 50m-hashcat-001 systemd[1]: Starting networking.service - Raise network interfaces...
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]: Internet Systems Consortium DHCP Client 4.4.3-P1
Oct 28 18:33:30 50m-hashcat-001 ifup[251]: Internet Systems Consortium DHCP Client 4.4.3-P1
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]: Copyright 2004-2022 Internet Systems Consortium.
Oct 28 18:33:30 50m-hashcat-001 ifup[251]: Copyright 2004-2022 Internet Systems Consortium.
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]: All rights reserved.
Oct 28 18:33:30 50m-hashcat-001 ifup[251]: All rights reserved.
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]: For info, please visit https://www.isc.org/software/dhcp/
Oct 28 18:33:30 50m-hashcat-001 ifup[251]: For info, please visit https://www.isc.org/software/dhcp/
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]:
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]: Listening on LPF/eth0/72:94:46:f8:2a:db
Oct 28 18:33:30 50m-hashcat-001 ifup[251]: Listening on LPF/eth0/72:94:46:f8:2a:db
Oct 28 18:33:30 50m-hashcat-001 ifup[251]: Sending on LPF/eth0/72:94:46:f8:2a:db
Oct 28 18:33:30 50m-hashcat-001 ifup[251]: Sending on Socket/fallback
Oct 28 18:33:30 50m-hashcat-001 ifup[251]: DHCPREQUEST for 192.168.2.58 on eth0 to 255.255.255.255 port 67
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]: Sending on LPF/eth0/72:94:46:f8:2a:db
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]: Sending on Socket/fallback
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]: DHCPREQUEST for 192.168.2.58 on eth0 to 255.255.255.255 port 67
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]: DHCPACK of 192.168.2.58 from 192.168.2.1
Oct 28 18:33:30 50m-hashcat-001 ifup[251]: DHCPACK of 192.168.2.58 from 192.168.2.1
Oct 28 18:33:30 50m-hashcat-001 dhclient[251]: bound to 192.168.2.58 -- renewal in 260043 seconds.
Oct 28 18:33:30 50m-hashcat-001 ifup[251]: bound to 192.168.2.58 -- renewal in 260043 seconds.
Oct 28 18:33:32 50m-hashcat-001 dhclient[342]: Internet Systems Consortium DHCP Client 4.4.3-P1
Oct 28 18:33:32 50m-hashcat-001 ifup[342]: Internet Systems Consortium DHCP Client 4.4.3-P1
Oct 28 18:33:32 50m-hashcat-001 dhclient[342]: Copyright 2004-2022 Internet Systems Consortium.
Oct 28 18:33:32 50m-hashcat-001 ifup[342]: Copyright 2004-2022 Internet Systems Consortium.
Oct 28 18:33:32 50m-hashcat-001 dhclient[342]: All rights reserved.
Oct 28 18:33:32 50m-hashcat-001 ifup[342]: All rights reserved.
Oct 28 18:33:32 50m-hashcat-001 dhclient[342]: For info, please visit https://www.isc.org/software/dhcp/
Oct 28 18:33:32 50m-hashcat-001 ifup[342]: For info, please visit https://www.isc.org/software/dhcp/
Oct 28 18:33:32 50m-hashcat-001 dhclient[342]:
Oct 28 18:33:32 50m-hashcat-001 dhclient[342]: Listening on Socket/eth0
Oct 28 18:33:32 50m-hashcat-001 ifup[342]: Listening on Socket/eth0
Oct 28 18:33:32 50m-hashcat-001 ifup[342]: Sending on Socket/eth0
Oct 28 18:33:32 50m-hashcat-001 ifup[342]: PRC: Soliciting for leases (INIT).
Oct 28 18:33:32 50m-hashcat-001 dhclient[342]: Sending on Socket/eth0
Oct 28 18:33:33 50m-hashcat-001 ifup[342]: XMT: Forming Solicit, 0 ms elapsed.
Oct 28 18:33:33 50m-hashcat-001 ifup[342]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:33:33 50m-hashcat-001 ifup[342]: XMT: | X-- Request renew in +3600
Oct 28 18:33:33 50m-hashcat-001 ifup[342]: XMT: | X-- Request rebind in +5400
Oct 28 18:33:33 50m-hashcat-001 ifup[342]: XMT: Solicit on eth0, interval 1010ms.
Oct 28 18:33:33 50m-hashcat-001 dhclient[342]: XMT: Solicit on eth0, interval 1010ms.
Oct 28 18:33:34 50m-hashcat-001 ifup[342]: XMT: Forming Solicit, 1010 ms elapsed.
Oct 28 18:33:34 50m-hashcat-001 ifup[342]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:33:34 50m-hashcat-001 ifup[342]: XMT: | X-- Request renew in +3600
Oct 28 18:33:34 50m-hashcat-001 ifup[342]: XMT: | X-- Request rebind in +5400
Oct 28 18:33:34 50m-hashcat-001 ifup[342]: XMT: Solicit on eth0, interval 1960ms.
Oct 28 18:33:34 50m-hashcat-001 dhclient[342]: XMT: Solicit on eth0, interval 1960ms.
Oct 28 18:33:36 50m-hashcat-001 ifup[342]: XMT: Forming Solicit, 2970 ms elapsed.
Oct 28 18:33:36 50m-hashcat-001 ifup[342]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:33:36 50m-hashcat-001 ifup[342]: XMT: | X-- Request renew in +3600
Oct 28 18:33:36 50m-hashcat-001 ifup[342]: XMT: | X-- Request rebind in +5400
Oct 28 18:33:36 50m-hashcat-001 ifup[342]: XMT: Solicit on eth0, interval 3810ms.
Oct 28 18:33:36 50m-hashcat-001 dhclient[342]: XMT: Solicit on eth0, interval 3810ms.
Oct 28 18:33:39 50m-hashcat-001 ifup[342]: XMT: Forming Solicit, 6780 ms elapsed.
Oct 28 18:33:39 50m-hashcat-001 ifup[342]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:33:39 50m-hashcat-001 ifup[342]: XMT: | X-- Request renew in +3600
Oct 28 18:33:39 50m-hashcat-001 ifup[342]: XMT: | X-- Request rebind in +5400
Oct 28 18:33:39 50m-hashcat-001 ifup[342]: XMT: Solicit on eth0, interval 7430ms.
Oct 28 18:33:39 50m-hashcat-001 dhclient[342]: XMT: Solicit on eth0, interval 7430ms.
Oct 28 18:33:47 50m-hashcat-001 ifup[342]: XMT: Forming Solicit, 14220 ms elapsed.
Oct 28 18:33:47 50m-hashcat-001 ifup[342]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:33:47 50m-hashcat-001 ifup[342]: XMT: | X-- Request renew in +3600
Oct 28 18:33:47 50m-hashcat-001 ifup[342]: XMT: | X-- Request rebind in +5400
Oct 28 18:33:47 50m-hashcat-001 ifup[342]: XMT: Solicit on eth0, interval 14270ms.
Oct 28 18:33:47 50m-hashcat-001 dhclient[342]: XMT: Solicit on eth0, interval 14270ms.
Oct 28 18:34:01 50m-hashcat-001 ifup[342]: XMT: Forming Solicit, 28500 ms elapsed.
Oct 28 18:34:01 50m-hashcat-001 ifup[342]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:34:01 50m-hashcat-001 ifup[342]: XMT: | X-- Request renew in +3600
Oct 28 18:34:01 50m-hashcat-001 ifup[342]: XMT: | X-- Request rebind in +5400
Oct 28 18:34:01 50m-hashcat-001 ifup[342]: XMT: Solicit on eth0, interval 28340ms.
Oct 28 18:34:01 50m-hashcat-001 dhclient[342]: XMT: Solicit on eth0, interval 28340ms.
Oct 28 18:34:29 50m-hashcat-001 ifup[342]: XMT: Forming Solicit, 56870 ms elapsed.
Oct 28 18:34:29 50m-hashcat-001 ifup[342]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:34:29 50m-hashcat-001 ifup[342]: XMT: | X-- Request renew in +3600
Oct 28 18:34:29 50m-hashcat-001 ifup[342]: XMT: | X-- Request rebind in +5400
Oct 28 18:34:29 50m-hashcat-001 ifup[342]: XMT: Solicit on eth0, interval 58790ms.
Oct 28 18:34:29 50m-hashcat-001 dhclient[342]: XMT: Solicit on eth0, interval 58790ms.
Oct 28 18:35:28 50m-hashcat-001 ifup[342]: XMT: Forming Solicit, 115710 ms elapsed.
Oct 28 18:35:28 50m-hashcat-001 ifup[342]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:35:28 50m-hashcat-001 ifup[342]: XMT: | X-- Request renew in +3600
Oct 28 18:35:28 50m-hashcat-001 ifup[342]: XMT: | X-- Request rebind in +5400
Oct 28 18:35:28 50m-hashcat-001 ifup[342]: XMT: Solicit on eth0, interval 114460ms.
Oct 28 18:35:28 50m-hashcat-001 dhclient[342]: XMT: Solicit on eth0, interval 114460ms.
Oct 28 18:37:23 50m-hashcat-001 ifup[342]: XMT: Forming Solicit, 230210 ms elapsed.
Oct 28 18:37:23 50m-hashcat-001 ifup[342]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:37:23 50m-hashcat-001 ifup[342]: XMT: | X-- Request renew in +3600
Oct 28 18:37:23 50m-hashcat-001 ifup[342]: XMT: | X-- Request rebind in +5400
Oct 28 18:37:23 50m-hashcat-001 ifup[342]: XMT: Solicit on eth0, interval 116710ms.
Oct 28 18:37:23 50m-hashcat-001 dhclient[342]: XMT: Solicit on eth0, interval 116710ms.
Oct 28 18:38:30 50m-hashcat-001 systemd[1]: networking.service: start operation timed out. Terminating.
Oct 28 18:38:30 50m-hashcat-001 systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Oct 28 18:38:30 50m-hashcat-001 ifup[232]: Got signal Terminated, terminating...
Oct 28 18:38:30 50m-hashcat-001 ifup[232]: ifup: failed to bring up eth0
Oct 28 18:38:30 50m-hashcat-001 systemd[1]: networking.service: Failed with result 'timeout'.
Oct 28 18:38:30 50m-hashcat-001 systemd[1]: Failed to start networking.service - Raise network interfaces.
If I disable the service the LXC reboots to a login prompt immediately without a network.
Setting a static address in Proxmox doesn't help, systemctl shows it attempting to use DHCP.
Code:
Oct 28 18:43:28 50m-hashcat-001 systemd[1]: Starting networking.service - Raise network interfaces...
Oct 28 18:43:29 50m-hashcat-001 dhclient[154]: Internet Systems Consortium DHCP Client 4.4.3-P1
Oct 28 18:43:29 50m-hashcat-001 ifup[154]: Internet Systems Consortium DHCP Client 4.4.3-P1
Oct 28 18:43:29 50m-hashcat-001 dhclient[154]: Copyright 2004-2022 Internet Systems Consortium.
Oct 28 18:43:29 50m-hashcat-001 ifup[154]: Copyright 2004-2022 Internet Systems Consortium.
Oct 28 18:43:29 50m-hashcat-001 dhclient[154]: All rights reserved.
Oct 28 18:43:29 50m-hashcat-001 ifup[154]: All rights reserved.
Oct 28 18:43:29 50m-hashcat-001 dhclient[154]: For info, please visit https://www.isc.org/software/dhcp/
Oct 28 18:43:29 50m-hashcat-001 ifup[154]: For info, please visit https://www.isc.org/software/dhcp/
Oct 28 18:43:29 50m-hashcat-001 dhclient[154]:
Oct 28 18:43:29 50m-hashcat-001 dhclient[154]: Listening on Socket/eth0
Oct 28 18:43:29 50m-hashcat-001 ifup[154]: Listening on Socket/eth0
Oct 28 18:43:29 50m-hashcat-001 ifup[154]: Sending on Socket/eth0
Oct 28 18:43:29 50m-hashcat-001 ifup[154]: PRC: Soliciting for leases (INIT).
Oct 28 18:43:29 50m-hashcat-001 dhclient[154]: Sending on Socket/eth0
Oct 28 18:43:30 50m-hashcat-001 ifup[154]: XMT: Forming Solicit, 0 ms elapsed.
Oct 28 18:43:30 50m-hashcat-001 ifup[154]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:43:30 50m-hashcat-001 ifup[154]: XMT: | X-- Request renew in +3600
Oct 28 18:43:30 50m-hashcat-001 ifup[154]: XMT: | X-- Request rebind in +5400
Oct 28 18:43:30 50m-hashcat-001 ifup[154]: XMT: Solicit on eth0, interval 1090ms.
Oct 28 18:43:30 50m-hashcat-001 dhclient[154]: XMT: Solicit on eth0, interval 1090ms.
Oct 28 18:43:31 50m-hashcat-001 ifup[154]: XMT: Forming Solicit, 1090 ms elapsed.
Oct 28 18:43:31 50m-hashcat-001 ifup[154]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:43:31 50m-hashcat-001 ifup[154]: XMT: | X-- Request renew in +3600
Oct 28 18:43:31 50m-hashcat-001 ifup[154]: XMT: | X-- Request rebind in +5400
Oct 28 18:43:31 50m-hashcat-001 ifup[154]: XMT: Solicit on eth0, interval 2270ms.
Oct 28 18:43:31 50m-hashcat-001 dhclient[154]: XMT: Solicit on eth0, interval 2270ms.
Oct 28 18:43:33 50m-hashcat-001 ifup[154]: XMT: Forming Solicit, 3360 ms elapsed.
Oct 28 18:43:33 50m-hashcat-001 ifup[154]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:43:33 50m-hashcat-001 ifup[154]: XMT: | X-- Request renew in +3600
Oct 28 18:43:33 50m-hashcat-001 ifup[154]: XMT: | X-- Request rebind in +5400
Oct 28 18:43:33 50m-hashcat-001 ifup[154]: XMT: Solicit on eth0, interval 4320ms.
Oct 28 18:43:33 50m-hashcat-001 dhclient[154]: XMT: Solicit on eth0, interval 4320ms.
Oct 28 18:43:37 50m-hashcat-001 ifup[154]: XMT: Forming Solicit, 7680 ms elapsed.
Oct 28 18:43:37 50m-hashcat-001 ifup[154]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:43:37 50m-hashcat-001 ifup[154]: XMT: | X-- Request renew in +3600
Oct 28 18:43:37 50m-hashcat-001 ifup[154]: XMT: | X-- Request rebind in +5400
Oct 28 18:43:37 50m-hashcat-001 ifup[154]: XMT: Solicit on eth0, interval 8330ms.
Oct 28 18:43:37 50m-hashcat-001 dhclient[154]: XMT: Solicit on eth0, interval 8330ms.
Oct 28 18:43:46 50m-hashcat-001 ifup[154]: XMT: Forming Solicit, 16020 ms elapsed.
Oct 28 18:43:46 50m-hashcat-001 ifup[154]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:43:46 50m-hashcat-001 ifup[154]: XMT: | X-- Request renew in +3600
Oct 28 18:43:46 50m-hashcat-001 ifup[154]: XMT: | X-- Request rebind in +5400
Oct 28 18:43:46 50m-hashcat-001 ifup[154]: XMT: Solicit on eth0, interval 15880ms.
Oct 28 18:43:46 50m-hashcat-001 dhclient[154]: XMT: Solicit on eth0, interval 15880ms.
Oct 28 18:44:02 50m-hashcat-001 ifup[154]: XMT: Forming Solicit, 31910 ms elapsed.
Oct 28 18:44:02 50m-hashcat-001 ifup[154]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:44:02 50m-hashcat-001 ifup[154]: XMT: | X-- Request renew in +3600
Oct 28 18:44:02 50m-hashcat-001 ifup[154]: XMT: | X-- Request rebind in +5400
Oct 28 18:44:02 50m-hashcat-001 ifup[154]: XMT: Solicit on eth0, interval 33050ms.
Oct 28 18:44:02 50m-hashcat-001 dhclient[154]: XMT: Solicit on eth0, interval 33050ms.
Oct 28 18:44:35 50m-hashcat-001 ifup[154]: XMT: Forming Solicit, 64990 ms elapsed.
Oct 28 18:44:35 50m-hashcat-001 ifup[154]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:44:35 50m-hashcat-001 ifup[154]: XMT: | X-- Request renew in +3600
Oct 28 18:44:35 50m-hashcat-001 ifup[154]: XMT: | X-- Request rebind in +5400
Oct 28 18:44:35 50m-hashcat-001 ifup[154]: XMT: Solicit on eth0, interval 65510ms.
Oct 28 18:44:35 50m-hashcat-001 dhclient[154]: XMT: Solicit on eth0, interval 65510ms.
Oct 28 18:45:40 50m-hashcat-001 ifup[154]: XMT: Forming Solicit, 130570 ms elapsed.
Oct 28 18:45:40 50m-hashcat-001 ifup[154]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:45:40 50m-hashcat-001 ifup[154]: XMT: | X-- Request renew in +3600
Oct 28 18:45:40 50m-hashcat-001 ifup[154]: XMT: | X-- Request rebind in +5400
Oct 28 18:45:40 50m-hashcat-001 ifup[154]: XMT: Solicit on eth0, interval 127620ms.
Oct 28 18:45:40 50m-hashcat-001 dhclient[154]: XMT: Solicit on eth0, interval 127620ms.
Oct 28 18:47:48 50m-hashcat-001 ifup[154]: XMT: Forming Solicit, 258290 ms elapsed.
Oct 28 18:47:48 50m-hashcat-001 ifup[154]: XMT: X-- IA_NA 46:f8:2a:db
Oct 28 18:47:48 50m-hashcat-001 ifup[154]: XMT: | X-- Request renew in +3600
Oct 28 18:47:48 50m-hashcat-001 ifup[154]: XMT: | X-- Request rebind in +5400
Oct 28 18:47:48 50m-hashcat-001 ifup[154]: XMT: Solicit on eth0, interval 127350ms.
Oct 28 18:47:48 50m-hashcat-001 dhclient[154]: XMT: Solicit on eth0, interval 127350ms.
Oct 28 18:48:28 50m-hashcat-001 systemd[1]: networking.service: start operation timed out. Terminating.
Oct 28 18:48:28 50m-hashcat-001 systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Oct 28 18:48:28 50m-hashcat-001 ifup[70]: Got signal Terminated, terminating...
Oct 28 18:48:28 50m-hashcat-001 ifup[70]: ifup: failed to bring up eth0
Oct 28 18:48:28 50m-hashcat-001 systemd[1]: networking.service: Failed with result 'timeout'.
Oct 28 18:48:28 50m-hashcat-001 systemd[1]: Failed to start networking.service - Raise network interfaces.
If I ran dhclient eth0 from the command, I get an IP address immediately.
I tried a Debian 11 template and it exhibits the same issue. Ubuntu LXC templates work fine. I have firewall disabled on this LXC and it is running on the same network as numerous other LXC and VMs. No VLAN tags, etc.
Last edited: