April 20, 2017

a stop job is running for ifup | NetworkManager

refuse

Problem:
a stop job is running for ifup
a stop job is running for NetworkManager

Why:
Debian Jessie and jessie-backports systemd versions 2.15 and 2.30 respectively have a small bug that stalls shutdown.

Tentative Solution: (i.e. unofficial; your mileage may vary)
edit /etc/systemd/system/network-online.target.wants/networking.service, replacing

ExecStop=/sbin/ifdown -a --read-environment

with

ExecStop=/sbin/ifdown -a --read-environment --force --ignore-errors

and also

TimeoutStopSec=5min

with

TimeoutStopSec=5s

~~~

  

2 comments:

  1. delete "no-auto-down eth0" in /etc/network/interfaces
    then try again :)
    It works well on my device

    ReplyDelete

Comments, Suggestions or "Thank you's" Invited! If you have used this info in any way, please comment below and link/link-back to your project (if applicable). Please Share.
I accept Bitcoin tips of ANY amount to: 1GS3XWJCTWU7fnM4vfzerrVAxmnMFnhysL
I accept Litecoin tips of ANY amount to: LTBvVxRdv2Lz9T41UzqNrAVVNw4wz3kKYk