[Pkg-utopia-maintainers] Bug#888285: network-manager: Upgrade fails (new version cannot restart).

Witold Baryluk witold.baryluk at gmail.com
Wed Jan 24 17:08:44 UTC 2018


Package: network-manager
Version: 1.10.2-3
Severity: important

Hi,

on two different systems I tried to upgrade system, and got this during upgrade:
(on my third system, network-manager updated fine to this version tho).

Rozpakowywanie pakietu network-manager (1.10.2-3) nad (1.10.2-2) ...
Unpacking network-manager (1.10.2-3) over (1.10.2-2) ...

...
Setting up network-manager (1.10.2-3) ...
Job for NetworkManager.service failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xe" for details.
invoke-rc.d: initscript network-manager, action "restart" failed.
● NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Wed 2018-01-24 17:55:22 CET; 13ms ago
     Docs: man:NetworkManager(8)
  Process: 23983 ExecStart=/usr/sbin/NetworkManager --no-daemon (code=exited, status=1/FAILURE)
 Main PID: 23983 (code=exited, status=1/FAILURE)
    Tasks: 5 (limit: 4915)
   CGroup: /system.slice/NetworkManager.service
           └─14343 /usr/sbin/NetworkManager --no-daemon

Jan 24 17:55:22 lanegra systemd[1]: Failed to start Network Manager.
dpkg: error processing package network-manager (--configure):
 installed network-manager package post-installation script subprocess returned error exit status 1

...
#

Same after trying to continue with dpkg --configure -a

Trying manually with /etc/init.d/network-manager fails too

In syslog:

Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Found left-over process 2562 (NetworkManager) in control group while starting unit. Ignoring.
Jan 24 18:05:36 wielkiczarny systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Found left-over process 2702 (dhclient) in control group while starting unit. Ignoring.
Jan 24 18:05:36 wielkiczarny systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 24 18:05:36 wielkiczarny systemd[1]: Starting Network Manager...
Jan 24 18:05:36 wielkiczarny NetworkManager[16411]: NetworkManager is already running (pid 2562)
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Main process exited, code=exited, status=1/FAILURE
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Jan 24 18:05:36 wielkiczarny systemd[1]: Failed to start Network Manager.
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Service hold-off time over, scheduling restart.
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Scheduled restart job, restart counter is at 1.
Jan 24 18:05:36 wielkiczarny systemd[1]: Stopped Network Manager.
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Found left-over process 2562 (NetworkManager) in control group while starting unit. Ignoring.
Jan 24 18:05:36 wielkiczarny systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Found left-over process 2702 (dhclient) in control group while starting unit. Ignoring.
Jan 24 18:05:36 wielkiczarny systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 24 18:05:36 wielkiczarny systemd[1]: Starting Network Manager...
Jan 24 18:05:36 wielkiczarny NetworkManager[16430]: NetworkManager is already running (pid 2562)
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Main process exited, code=exited, status=1/FAILURE
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Jan 24 18:05:36 wielkiczarny systemd[1]: Failed to start Network Manager.
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Service hold-off time over, scheduling restart.
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Scheduled restart job, restart counter is at 2.
Jan 24 18:05:36 wielkiczarny systemd[1]: Stopped Network Manager.
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Found left-over process 2562 (NetworkManager) in control group while starting unit. Ignoring.
Jan 24 18:05:36 wielkiczarny systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Found left-over process 2702 (dhclient) in control group while starting unit. Ignoring.
Jan 24 18:05:36 wielkiczarny systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 24 18:05:36 wielkiczarny systemd[1]: Starting Network Manager...
Jan 24 18:05:36 wielkiczarny NetworkManager[16431]: NetworkManager is already running (pid 2562)
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Main process exited, code=exited, status=1/FAILURE
Jan 24 18:05:36 wielkiczarny systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Jan 24 18:05:36 wielkiczarny systemd[1]: Failed to start Network Manager.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Service hold-off time over, scheduling restart.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Scheduled restart job, restart counter is at 3.
Jan 24 18:05:37 wielkiczarny systemd[1]: Stopped Network Manager.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Found left-over process 2562 (NetworkManager) in control group while starting unit. Ignoring.
Jan 24 18:05:37 wielkiczarny systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Found left-over process 2702 (dhclient) in control group while starting unit. Ignoring.
Jan 24 18:05:37 wielkiczarny systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 24 18:05:37 wielkiczarny systemd[1]: Starting Network Manager...
Jan 24 18:05:37 wielkiczarny NetworkManager[16440]: NetworkManager is already running (pid 2562)
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Main process exited, code=exited, status=1/FAILURE
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Jan 24 18:05:37 wielkiczarny systemd[1]: Failed to start Network Manager.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Service hold-off time over, scheduling restart.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Scheduled restart job, restart counter is at 4.
Jan 24 18:05:37 wielkiczarny systemd[1]: Stopped Network Manager.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Found left-over process 2562 (NetworkManager) in control group while starting unit. Ignoring.
Jan 24 18:05:37 wielkiczarny systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Found left-over process 2702 (dhclient) in control group while starting unit. Ignoring.
Jan 24 18:05:37 wielkiczarny systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 24 18:05:37 wielkiczarny systemd[1]: Starting Network Manager...
Jan 24 18:05:37 wielkiczarny NetworkManager[16441]: NetworkManager is already running (pid 2562)
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Main process exited, code=exited, status=1/FAILURE
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Jan 24 18:05:37 wielkiczarny systemd[1]: Failed to start Network Manager.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Service hold-off time over, scheduling restart.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Scheduled restart job, restart counter is at 5.
Jan 24 18:05:37 wielkiczarny systemd[1]: Stopped Network Manager.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Start request repeated too quickly.
Jan 24 18:05:37 wielkiczarny systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Jan 24 18:05:37 wielkiczarny systemd[1]: Failed to start Network Manager.
(END)

trying to do /etc/init.d/network-manager stop, and then start, also do not help.


Killing NetworkManager process manually (root      2562  0.0  0.0 527500 12420 ?        Ssl  sty22   1:24 /usr/sbin/NetworkManager),
and then doing start works and upgrade (dpkg --configure -a) resumes with issues.




-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/12 CPU cores)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8), LANGUAGE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages network-manager depends on:
ii  adduser                3.116
ii  dbus                   1.12.2-1
ii  libaudit1              1:2.8.2-1
ii  libbluetooth3          5.47-1+b1
ii  libc6                  2.26-5
ii  libcurl3-gnutls        7.57.0-1
ii  libglib2.0-0           2.54.3-2
ii  libgnutls30            3.5.17-1
ii  libjansson4            2.10-1
ii  libmm-glib0            1.6.8-2
ii  libndp0                1.6-1+b1
ii  libnewt0.52            0.52.20-1+b1
ii  libnl-3-200            3.2.27-2
ii  libnm0                 1.10.2-3
ii  libpam-systemd         236-3+b1
ii  libpolkit-agent-1-0    0.105-18
ii  libpolkit-gobject-1-0  0.105-18
ii  libpsl5                0.19.1-4
ii  libreadline7           7.0-3
ii  libselinux1            2.7-2
ii  libsystemd0            236-3+b1
ii  libteamdctl0           1.26-1+b1
ii  libudev1               236-3+b1
ii  libuuid1               2.30.2-0.3
ii  lsb-base               9.20170808
ii  policykit-1            0.105-18
ii  udev                   236-3+b1
ii  wpasupplicant          2:2.6-15

Versions of packages network-manager recommends:
ii  crda             3.18-1
ii  dnsmasq-base     2.78-1
ii  iptables         1.6.1-2+b1
ii  iputils-arping   3:20161105-1
ii  isc-dhcp-client  4.3.5-3+b2
ii  modemmanager     1.6.8-2
ii  ppp              2.4.7-1+4

Versions of packages network-manager suggests:
pn  libteam-utils  <none>

-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[connection]
ipv6.ip6-privacy=2


-- no debconf information


More information about the Pkg-utopia-maintainers mailing list