Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Dependency failed for Network Manager Wait Online.

  1. #11

    Default Re: Dependency failed for Network Manager Wait Online.

    Thanks for the link. So I checked the other thread and ran this:

    Code:
    # systemctl list-unit-files | grep -E 'wicked|Network'
    dbus-org.opensuse.Network.AUTO4.service    enabled 
    dbus-org.opensuse.Network.DHCP4.service    enabled 
    dbus-org.opensuse.Network.DHCP6.service    enabled 
    dbus-org.opensuse.Network.Nanny.service    enabled 
    NetworkManager-dispatcher.service          enabled 
    NetworkManager-wait-online.service         disabled
    NetworkManager.service                     disabled
    wicked.service                             enabled 
    wickedd-auto4.service                      enabled 
    wickedd-dhcp4.service                      enabled 
    wickedd-dhcp6.service                      enabled 
    wickedd-nanny.service                      enabled 
    wickedd.service                            static  
    # cat /usr/lib/systemd/system/NetworkManager-dispatcher.service 
    [Unit]
    Description=Network Manager Script Dispatcher Service
    
    
    [Service]
    Type=dbus
    BusName=org.freedesktop.nm_dispatcher
    ExecStart=/usr/lib/nm-dispatcher
    
    
    # We want to allow scripts to spawn long-running daemons, so tell
    # systemd to not clean up when nm-dispatcher exits
    KillMode=process
    
    
    [Install]
    Alias=dbus-org.freedesktop.nm-dispatcher.service
    NetworkManager-dispatcher seems unrelated, right?

    How can I investigate further what is triggering the message?

  2. #12
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,540
    Blog Entries
    1

    Default Re: Dependency failed for Network Manager Wait Online.

    Just a guess - do you have any remote mounts defined in /etc/fstab perhaps?

    Since in freedesktop.org/wiki/Software/systemd/NetworkTarget/ it is mentioned
    network-online.target is a target that actively waits until the nework is "up", where the definition of "up" is defined by the network management software. Usually it indicates a configured, routable IP address of some kind. It's primary purpose is to actively delay activation of services until the network is set up. It is an active target, meaning that is may be pulled in by the services requiring the network to be up, but is not pulled in by the network management service itself. By default all remote mounts defined in /etc/fstab pull this service in, in order to make sure the network is up before it is attempted to connect to a network share.
    so I wonder if this might be triggering NwetworkManager-wait-online.service
    Code:
    systemctl list-dependencies network-online.target
    network-online.target
    ● ├─NetworkManager-wait-online.service
    ● └─wicked.service
    I could be on the wrong track here, so please disregard if so.

  3. #13

    Default Re: Dependency failed for Network Manager Wait Online.

    Quote Originally Posted by deano_ferrari View Post
    Just a guess - do you have any remote mounts defined in /etc/fstab perhaps?
    Only local hard drive partitions and tmpfs.


    Since in freedesktop.org/wiki/Software/systemd/NetworkTarget/ it is mentioned

    so I wonder if this might be triggering NwetworkManager-wait-online.service
    Code:
    systemctl list-dependencies network-online.target
    network-online.target
    ● ├─NetworkManager-wait-online.service
    ● └─wicked.service
    I could be on the wrong track here, so please disregard if so.
    I am getting the same output (first dot is red, second one for wicked is green).

    BTW masking NetworkManager* removed the boot log message. Thanks for the suggestion.

    Just to make clear I understand - with having it masked I can no longer use NetworkManager and if I decide to use it I have to unmask those 3 services, right?

  4. #14
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,540
    Blog Entries
    1

    Default Re: Dependency failed for Network Manager Wait Online.

    Just to make clear I understand - with having it masked I can no longer use NetworkManager and if I decide to use it I have to unmask those 3 services, right?
    No need to mask the other NM services. NetworkManager is not dependent on having NetworkManager-wait-online enabled. It's only useful where some network services need to have it to guarantee that the network is up before starting. I don't have it enabled on my laptop using NM. (Besides it's easy to unmask again when/if required.)

  5. #15
    Join Date
    Sep 2012
    Posts
    5,184

    Default Re: Dependency failed for Network Manager Wait Online.

    Quote Originally Posted by deano_ferrari View Post
    I don't have it enabled on my laptop using NM.
    You have (if you mean NetworkManager-wait-online.service and you are running 13.2 or newer). This service is statically enabled which is exact subject of my bug report.

  6. #16
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,540
    Blog Entries
    1

    Default Re: Dependency failed for Network Manager Wait Online.

    Quote Originally Posted by arvidjaar View Post
    You have (if you mean NetworkManager-wait-online.service and you are running 13.2 or newer). This service is statically enabled which is exact subject of my bug report.
    No, it is disabled
    Code:
    NetworkManager-wait-online.service         disabled
    and no reference to it in my boot logs. Like I already said, I can't replicate the OP's situation.

  7. #17
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,540
    Blog Entries
    1

    Default Re: Dependency failed for Network Manager Wait Online.

    I can see how it is a nuisance for those not using NM and having units that use network-online.target for ordering though.

  8. #18
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,540
    Blog Entries
    1

    Default Re: Dependency failed for Network Manager Wait Online.

    FWIW, here's another bug report describing the same

    https://bugzilla.gnome.org/show_bug.cgi?id=746039

  9. #19
    Join Date
    Sep 2012
    Posts
    5,184

    Default Re: Dependency failed for Network Manager Wait Online.

    Quote Originally Posted by deano_ferrari View Post
    No, it is disabled
    Code:
    NetworkManager-wait-online.service         disabled
    It lies.
    and no reference to it in my boot logs.
    It happens when something pulls in network-online.target. It depends on which other services you have.

  10. #20
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,540
    Blog Entries
    1

    Default Re: Dependency failed for Network Manager Wait Online.

    Quote Originally Posted by arvidjaar View Post
    It lies.

    It happens when something pulls in network-online.target. It depends on which other services you have.
    Yes I understand that, and as I already explained I don't have services that use network-online.target. It has already been reported in a number of threads (here and elsewhere) and bug reports, and it's not a big deal apart from the message IMHO. I'm not really convinced (from reading the bug report that I linked to) that anything will necessarily be done about it.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •