Here is an updated patch version, which: a) doesn't mount /dev anymore; just recreates the nbd device with mknod b) mounts /sys only for a second at reconnecting, in order to get the PID of the nbd kernel process,then umounts it back, so it will not hold it mounted.
** Patch added: "improvement of the original patch: doesn't keep /dev/ and /sys mounted twice" https://bugs.launchpad.net/ubuntu/+source/nbd/+bug/1645048/+attachment/4783974/+files/nbd-client-patchversion2.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1645048 Title: nbd-client when started from initramfs (for diskless boot) is not persistent To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nbd/+bug/1645048/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs