systemd-networkd hangs my boot (wireless)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| systemd (Ubuntu) |
Critical
|
Unassigned | ||
| Artful |
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
Didier Roche (didrocks) wrote : | #1 |
Dimitri John Ledkov (xnox) wrote : | #2 |
Changed in systemd (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
André (afsverissimo) wrote : | #3 |
what does 'unconditional enablement' mean? just enable the 'systemd-networkd' service?
bug #1697730 could be a duplicate of this (or the other way around)
Changed in systemd (Ubuntu Artful): | |
milestone: | none → ubuntu-17.10 |
Max Bowsher (maxb) wrote : | #4 |
Still a problem in artful upgraded from zesty right now.
Changed in systemd (Ubuntu Artful): | |
importance: | High → Critical |
Launchpad Janitor (janitor) wrote : | #5 |
This bug was fixed in the package systemd - 234-2ubuntu12
---------------
systemd (234-2ubuntu12) artful; urgency=medium
[ Dimitri John Ledkov ]
* debian/rules: do not strip test-copy.
This insures test-copy is large enough for test-copy tests to pass.
(LP: #1721203)
[ Michael Biebl ]
* Drop systemd-
All major NTP implementations ship a native service file nowadays with a
Conflicts=
necessary. (Closes: #873185) (LP: #1721204)
-- Dimitri John Ledkov <email address hidden> Wed, 04 Oct 2017 13:28:34 +0100
Changed in systemd (Ubuntu Artful): | |
status: | Confirmed → Fix Released |
I can confirm this is fixed after installing the latest system updates. Thanks.
Nawaf Al-Subaie (nalsubaie) wrote : | #7 |
I still have this problem despite installing the latest updates:
2min 107ms systemd-
3.916s plymouth-
3.013s iio-sensor-
1.557s snapd.service
1.119s systemd-
991ms apparmor.service
900ms fwupd.service
David Britton (dpb) wrote : | #8 |
Hi nalsubaie --
Please file a new bug report with ubuntu-bug systemd
Metta Crawler (metta-crawler) wrote : | #9 |
This morning I found out that if I boot
linux-image-
I get a hang at
Nov 23 07:12:47 lakshmi NetworkManager[
Nov 23 07:14:30 lakshmi systemd-
But if I boot
linux-image-
there is no two minute delay.
Metta Crawler (metta-crawler) wrote : | #10 |
TomaszChmielewski (mangoo-wpkg) wrote : | #11 |
I still see this issue with Ununtu 17.10 with all updates installed.
I will remove unconditional enablement of the systemd-networkd.
Existing artful systems will need to manually "apply" the fix I think.