Public bug reported: $ lsb_release -dr Description: Ubuntu 16.10 Release: 16.10
$ apt-cache policy nbd-client nbd-client: Installed: 1:3.14-3 Candidate: 1:3.14-3 Problem: $ sudo systemctl start [email protected] Job for [email protected] failed because the control process exited with error code. See "systemctl status [email protected]" and "journalctl -xe" for details. $ systemctl status -n 100 [email protected] ● [email protected] - NBD client connection for 0 Loaded: loaded (/lib/systemd/system/[email protected]; disabled; vendor preset: enabled) Drop-In: /lib/systemd/system/[email protected] └─local.conf Active: failed (Result: exit-code) since Sa 2016-10-29 23:21:41 CEST; 1min 1s ago Docs: man:nbd-client Process: 10601 ExecStart=//sbin/nbd-client %i (code=exited, status=1/FAILURE) Main PID: 715 (code=killed, signal=TERM) Okt 29 23:21:41 ubuntu systemd[1]: Starting NBD client connection for 0... Okt 29 23:21:41 ubuntu nbd-client[10601]: ERROR: not enough information specified, and argument didn't look like an nbd device Okt 29 23:21:41 ubuntu nbd-client[10601]: Usage: nbd-client -name|-N name host [port] nbd_device Okt 29 23:21:41 ubuntu nbd-client[10601]: [-block-size|-b block size] [-timeout|-t timeout] [-swap|-s] [-sdp|-S] Okt 29 23:21:41 ubuntu nbd-client[10601]: [-persist|-p] [-nofork|-n] [-systemd-mark|-m] Okt 29 23:21:41 ubuntu nbd-client[10601]: Or : nbd-client -u (with same arguments as above) Okt 29 23:21:41 ubuntu nbd-client[10601]: Or : nbd-client nbdX Okt 29 23:21:41 ubuntu nbd-client[10601]: Or : nbd-client -d nbd_device Okt 29 23:21:41 ubuntu nbd-client[10601]: Or : nbd-client -c nbd_device Okt 29 23:21:41 ubuntu nbd-client[10601]: Or : nbd-client -h|--help Okt 29 23:21:41 ubuntu nbd-client[10601]: Or : nbd-client -l|--list host Okt 29 23:21:41 ubuntu nbd-client[10601]: Default value for blocksize is 1024 (recommended for ethernet) Okt 29 23:21:41 ubuntu nbd-client[10601]: Allowed values for blocksize are 512,1024,2048,4096 Okt 29 23:21:41 ubuntu nbd-client[10601]: Note, that kernel 2.4.2 and older ones do not work correctly with Okt 29 23:21:41 ubuntu nbd-client[10601]: blocksizes other than 1024 without patches Okt 29 23:21:41 ubuntu nbd-client[10601]: Default value for port is 10809. Note that port must always be numeric Okt 29 23:21:41 ubuntu systemd[1]: [email protected]: Control process exited, code=exited status=1 Okt 29 23:21:41 ubuntu systemd[1]: Failed to start NBD client connection for 0. Okt 29 23:21:41 ubuntu systemd[1]: [email protected]: Unit entered failed state. Okt 29 23:21:41 ubuntu systemd[1]: [email protected]: Failed with result 'exit-code'. How to fix: In /lib/systemd/system/[email protected] replace: [Unit] Description=NBD client connection for %i ... [Service] Type=forking ExecStart=//sbin/nbd-client %i by: [Unit] Description=NBD client connection for nbd%i ... [Service] Type=forking ExecStart=//sbin/nbd-client nbd%i Note: When given no other parameters, nbd-client expects a device name (e.g. nbd0) as command-line parameter, and searches /etc/nbdtab for that device. ** Affects: nbd (Ubuntu) Importance: Undecided Status: New ** Patch added: "[email protected]" https://bugs.launchpad.net/bugs/1637768/+attachment/4769531/+files/nbd%40.service.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637768 Title: nbd-client cannot be started by systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nbd/+bug/1637768/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
