← Back to team overview

desktop-packages team mailing list archive

[Bug 1453602] Re: mediatomb starts before network comes online

 

> mediatomb is After=network-manager.online,

It should certainly be After=network-online.target, I assume that was a
typo?

> are you saying that it *also* has to Wants= it?

Yes. After= is purely an ordering of units, it doesn't start one.
network-manager.target needs to be Wants= (or Requires=) by an unit who
wants to wait for it. You didn't  give me the status of network-
online.target, but as NetworkManager-wait-online.service actually *did*
run, and waited for a nontrivial amount of time (5s) I suppose that
network-online.target is also running.

Can you please give me the output of "systemctl status network-
manager.online mediatomb.service" to see whether it really started after
that?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1453602

Title:
  mediatomb starts before network comes online

Status in mediatomb package in Ubuntu:
  Triaged
Status in network-manager package in Ubuntu:
  Incomplete

Bug description:
  mediatomb fails to start at boot because the network is not yet up.
  It's unit file lists After: network-online.target, but this target
  comes up before NetworkManager has brought the network up.  I'm
  guessing it only counts networks configured in /etc/interfaces.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mediatomb/+bug/1453602/+subscriptions


References