systemd-networkd hangs my boot (wireless)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Artful |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Since that systemd-networkd is enabled, my laptop doesn't boot (hangs) until I plug in an ethernet cable.
Here is the journal from this boot, note the hang up until I connect my cable at 17:51:35:
août 31 17:50:08 tidus systemd-
août 31 17:50:08 tidus systemd-
août 31 17:50:08 tidus systemd[1]: emergency-
août 31 17:50:08 tidus ntpdate[3836]: Can't find host 0.ubuntu.
août 31 17:50:08 tidus ntpdate[3836]: Can't find host 1.ubuntu.
août 31 17:50:08 tidus ntpdate[3836]: Can't find host 2.ubuntu.
août 31 17:50:08 tidus ntpdate[3836]: Can't find host 3.ubuntu.
août 31 17:50:08 tidus ntpdate[3836]: Can't find host ntp.ubuntu.com: Name or service not known (-2)
août 31 17:50:08 tidus ntpdate[3836]: no servers can be used, exiting
août 31 17:50:08 tidus systemd[1]: systemd-
août 31 17:50:08 tidus systemd[1]: Failed to start systemd-
août 31 17:50:08 tidus systemd[1]: systemd-
août 31 17:50:08 tidus systemd[1]: Reloading OpenBSD Secure Shell server.
août 31 17:50:08 tidus sshd[2573]: Received SIGHUP; restarting.
août 31 17:50:08 tidus systemd[1]: Reloaded OpenBSD Secure Shell server.
août 31 17:50:08 tidus nm-dispatcher[
août 31 17:50:08 tidus nm-dispatcher[
août 31 17:50:08 tidus sshd[2573]: Server listening on 0.0.0.0 port 22.
août 31 17:50:08 tidus sshd[2573]: Server listening on :: port 22.
août 31 17:50:08 tidus nm-dispatcher[
août 31 17:50:08 tidus nm-dispatcher[
août 31 17:50:08 tidus NetworkManager[
août 31 17:50:08 tidus ntpdate[3908]: Can't find host 0.ubuntu.
août 31 17:50:08 tidus ntpdate[3908]: Can't find host 1.ubuntu.
août 31 17:50:08 tidus ntpdate[3908]: Can't find host 2.ubuntu.
août 31 17:50:08 tidus ntpdate[3908]: Can't find host 3.ubuntu.
août 31 17:50:08 tidus ntpdate[3908]: Can't find host ntp.ubuntu.com: Name or service not known (-2)
août 31 17:50:08 tidus ntpdate[3908]: no servers can be used, exiting
août 31 17:50:08 tidus systemd[1]: Reloading OpenBSD Secure Shell server.
août 31 17:50:08 tidus sshd[2573]: Received SIGHUP; restarting.
août 31 17:50:08 tidus systemd[1]: Reloaded OpenBSD Secure Shell server.
août 31 17:50:08 tidus sshd[2573]: Server listening on 0.0.0.0 port 22.
août 31 17:50:08 tidus sshd[2573]: Server listening on :: port 22.
août 31 17:50:08 tidus nm-dispatcher[
août 31 17:50:08 tidus nm-dispatcher[
août 31 17:50:08 tidus nm-dispatcher[
août 31 17:50:08 tidus NetworkManager[
août 31 17:50:08 tidus systemd[1]: Reloaded OpenBSD Secure Shell server.
août 31 17:50:08 tidus sshd[2573]: Server listening on 0.0.0.0 port 22.
août 31 17:50:08 tidus sshd[2573]: Server listening on :: port 22.
août 31 17:50:08 tidus nm-dispatcher[
août 31 17:50:08 tidus nm-dispatcher[
août 31 17:50:08 tidus nm-dispatcher[
août 31 17:50:08 tidus NetworkManager[
août 31 17:50:09 tidus set-cpufreq[2212]: Setting powersave scheduler for all CPUs
août 31 17:50:11 tidus systemd-
août 31 17:50:11 tidus NetworkManager[
août 31 17:50:13 tidus NetworkManager[
août 31 17:50:13 tidus systemd[1]: Started Network Manager Wait Online.
août 31 17:50:14 tidus systemd-
août 31 17:50:15 tidus NetworkManager[
août 31 17:50:15 tidus NetworkManager[
août 31 17:50:23 tidus systemd[1]: Received SIGRTMIN+20 from PID 318 (plymouthd).
août 31 17:50:26 tidus ModemManager[2243]: <info> Creating modem with plugin 'Generic' and '1' ports
août 31 17:50:26 tidus ModemManager[2243]: <warn> Could not grab port (tty/ttyS4): 'Cannot add port 'tty/ttyS4', unhandled serial type'
août 31 17:50:26 tidus ModemManager[2243]: <warn> Couldn't create modem for device at '/sys/devices/
août 31 17:50:26 tidus systemd[1]: Received SIGRTMIN+20 from PID 318 (plymouthd).
août 31 17:50:38 tidus systemd-
août 31 17:51:11 tidus systemd-
août 31 17:51:35 tidus systemd-
août 31 17:51:35 tidus NetworkManager[
août 31 17:51:35 tidus systemd-
août 31 17:51:35 tidus kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
août 31 17:51:35 tidus kernel: IPv6: ADDRCONF(
août 31 17:51:35 tidus systemd-
août 31 17:51:35 tidus NetworkManager[
août 31 17:51:35 tidus systemd[1]: emergency-
août 31 17:51:35 tidus systemd-
août 31 17:51:35 tidus NetworkManager[
août 31 17:51:35 tidus NetworkManager[
août 31 17:51:35 tidus NetworkManager[
Note that disabling both networkd related services "fix" it for me.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: systemd 234-2ubuntu9
ProcVersionSign
Uname: Linux 4.12.0-11-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 31 18:17:56 2017
InstallationDate: Installed on 2012-05-28 (1921 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: LENOVO 4287CTO
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: Upgraded to artful on 2017-07-10 (52 days ago)
dmi.bios.date: 02/14/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET58WW (1.28 )
dmi.board.
dmi.board.name: 4287CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X220
dmi.product.name: 4287CTO
dmi.product.
dmi.sys.vendor: LENOVO
Changed in systemd (Ubuntu Artful): | |
milestone: | none → ubuntu-17.10 |
Changed in systemd (Ubuntu Artful): | |
importance: | High → Critical |
I will remove unconditional enablement of the systemd-networkd.
Existing artful systems will need to manually "apply" the fix I think.