Comment 0 for bug 1487679

Revision history for this message
Marc Schmitt (marc-schmitt) wrote : Breaking ordering cycle by deleting job nbd-client.service/start

$ lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04

$ apt-cache policy nbd-client
nbd-client:
  Installed: 1:3.8-4ubuntu0.1
  Candidate: 1:3.8-4ubuntu0.1
  Version table:
 *** 1:3.8-4ubuntu0.1 0
        500 http://ch.archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ vivid-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1:3.8-4 0
        500 http://ch.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages

I'm using the nbd-client to mount some raw disk images over the network but starting the nbd-client automatically during bootup does not happen due to the following:

Aug 22 08:54:20 fractal kernel: [ 11.875885] systemd[1]: Found dependency on nbd-client.service/start
Aug 22 08:54:20 fractal kernel: [ 11.875890] systemd[1]: Breaking ordering cycle by deleting job nbd-client.service/start
Aug 22 08:54:20 fractal kernel: [ 11.875891] systemd[1]: Job nbd-client.service/start deleted to break ordering cycle starting with basic.target/start

Meaning after boot, I have to manually run `sudo ndb-client start` every time I want to access these images. Note that this is no diskless system, the images I mount via NBD do not contain the local system, they are totally unrelated.