Comment 0 for bug 1569204

Revision history for this message
Martin Pitt (pitti) wrote :

The latest xenial upload (https://launchpad.net/ubuntu/+source/network-manager/1.1.93-0ubuntu1) does not start any more under upstart. I noticed because systemd has an autopkgtest that things still work under upstart (adt-run --testname cmdline-upstart-boot systemd), and that now fails. The package diff clearly shows that the upstart jobs got removed.

This is also trivial to reproduce in a xenial VM: install NM, and either install upstart-sysv or boot with "init=/sbin/upstart".

Note that this does not happen on upgrade, as this does not remove obsolete conffiles on upgrade:

$ dpkg -s network-manager
[...]
 /etc/dbus-1/system.d/nm-ofono.conf f59b8838ed17cfc66de16a977e87a66f obsolete
 /etc/init/network-manager.conf 080b2a860317698f65f960687f5363cc obsolete

The package also ships an init script, but does not actually enable it (dh_installinit), so it does not get run.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: network-manager 1.1.93-0ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: i3
Date: Tue Apr 12 09:16:32 2016
EcryptfsInUse: Yes
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback

 source-directory interfaces.d
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-con: Error: command ['nmcli', '-f', 'all', 'con'] failed with exit code 9: Error: nmcli (1.1.93) and NetworkManager (1.0.4) versions don't match. Force execution using --nocheck, but the results are unpredictable.
nmcli-dev: Error: command ['nmcli', '-f', 'all', 'dev'] failed with exit code 9: Error: nmcli (1.1.93) and NetworkManager (1.0.4) versions don't match. Force execution using --nocheck, but the results are unpredictable.
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.