← Back to team overview

touch-packages team mailing list archive

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

 

● NetworkManager-wait-online.service - Network Manager Wait Online
   Loaded: loaded (/lib/systemd/system/NetworkManager-wait-online.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Sun 2015-05-10 22:21:06 EDT; 19h ago
  Process: 1089 ExecStart=/usr/bin/nm-online -s -q --timeout=30 (code=exited, status=0/SUCCESS)
 Main PID: 1089 (code=exited, status=0/SUCCESS)

May 10 22:21:01 faldara systemd[1]: Starting Network Manager Wait Online...
May 10 22:21:06 faldara systemd[1]: Started Network Manager Wait Online.

● network.target - Network
   Loaded: loaded (/lib/systemd/system/network.target; static; vendor preset: enabled)
   Active: active since Sun 2015-05-10 22:21:01 EDT; 19h ago
     Docs: man:systemd.special(7)
           http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget

May 10 22:21:01 faldara systemd[1]: Reached target Network.
May 10 22:21:01 faldara systemd[1]: Starting Network.

mediatomb is After=network-manager.online, are you saying that it *also*
has to Wants= it?

The odd thing is that it certainly looks like mediatomb waited for
network-manager.online to start.. it tried to start at 22:21:06, which
is the same time that nmwo became started.  Perhaps there is a race
condition and nmwo is actually transitioning to started a fraction of a
second before the network is really up?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded 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