systemd[1]: Failed to start Raise network interfaces.

Bug #1736880 reported by dino99
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned
systemd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I usually do installation via a netboot mini.iso, and was wondering why i was not finding the 'wired' settings into Settings -> Network, only the 'vpn' settings are displayed.

A forum thread have told me that 'netplan (package name is nplan) by default doesn't use NetworkManager when installed from netboot'
https://ubuntuforums.org/showthread.php?t=2379460

Hope to get the next netboot doing a full installation when the bionic iso will be proposed.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nplan 0.32
ProcVersionSignature: Ubuntu 4.14.0-11.13-generic 4.14.3
Uname: Linux 4.14.0-11-generic x86_64
ApportVersion: 2.20.8-0ubuntu3
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Dec 7 08:06:48 2017
EcryptfsInUse: Yes
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nplan
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dino99 (9d9) wrote :
dino99 (9d9)
summary: - Incomplete Settings -> Network interface
+ Netboot install: Incomplete Settings -> Network interface
Revision history for this message
dino99 (9d9) wrote : Re: Netboot install: Incomplete Settings -> Network interface

What this should be ?

cat /run/NetworkManager/conf.d/netplan.conf
[keyfile]
# devices managed by networkd
unmanaged-devices+=interface-name:enp2s0

oem@ubuntu:~$ networkctl | cat
IDX LINK TYPE OPERATIONAL SETUP
  1 lo loopback carrier unmanaged
  2 enp2s0 ether routable configuring

Revision history for this message
dino99 (9d9) wrote :

Feedback:

oem@ubuntu:~$ systemctl status networking.service
● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2017-12-19 11:33:57 CET; 2min 2s ago
     Docs: man:interfaces(5)
  Process: 723 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
  Process: 721 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=1/FAILURE)
 Main PID: 723 (code=exited, status=1/FAILURE)

ubuntu ifup[723]: /etc/network/interfaces:6: unknown or no address type and no inherits keyword specified
ubuntu ifup[723]: /sbin/ifup: couldn't read interfaces file "/etc/network/interfaces"
ubuntu sh[721]: /etc/network/interfaces:6: unknown or no address type and no inherits keyword specified
ubuntu sh[721]: ifquery: couldn't read interfaces file "/etc/network/interfaces"
ubuntu systemd[1]: Starting Raise network interfaces...
ubuntu systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
ubuntu systemd[1]: networking.service: Failed with result 'exit-code'.
ubuntu systemd[1]: Failed to start Raise network interfaces.

Revision history for this message
dino99 (9d9) wrote :

oem@ubuntu:~$ cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# Generated by debian-installer.

# The loopback interface
auto lo
iface lo inet loopback

Some similar issues are pointing to udev rules:
https://askubuntu.com/questions/824376/failed-to-start-raise-network-interfaces-after-upgrading-to-16-04
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

oem@ubuntu:~$ ls -l /etc/udev/rules.d/
total 0

summary: - Netboot install: Incomplete Settings -> Network interface
+ systemd[1]: Failed to start Raise network interfaces.
affects: network-manager (Ubuntu) → systemd (Ubuntu)
Revision history for this message
dino99 (9d9) wrote :

Looks like we need waiting for systemd v236 to get the required patch
https://github.com/systemd/systemd/commit/a39f92d391ac1ce06b3618874ff4211ecb11f549

tags: added: patch
Revision history for this message
dino99 (9d9) wrote :

journalctl does not log that error now

affects: nplan (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Invalid
Changed in systemd (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.