It seems this is a dependency loop:

 (1) network-online.target waits for ifup@eth0.service as it's in 
/etc/network/interfaces
 (2) ifup@eth0.service starts during boot, triggered by udev; through samba's 
smbd dhclient-enter hook it calls invoke-rc.d smbd reload
 (3) /etc/init.d/smbd has "Requires: $network"
 (4) the SysV generator translates $network to network-online.target

We really want (1), (2) and (3) are justified. According to
http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-
generic/facilname.html, $network should be mapped to network.service,
not network-online.service. If others disagree and $network should have
the "strong" is-online meaning, we need to fix it at (3) instead, e. g.
by adding a proper systemd unit to samba. (We should really teach socket
activation to stuff..)

** Changed in: systemd (Ubuntu)
   Importance: Undecided => High

** Changed in: systemd (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417010

Title:
  systemd init gets stuck reloading smbd.service

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to