Control: tags 846998 patch On 2017-03-19, Vagrant Cascadian wrote: > I'll try to find the time to work on a patch to fix this in the > nbd-client initramfs scripts, but I'm not sure when that will be, so > please, someone beat me to it.
Untested patch below, please let me know if it works... Presuming you're using LTSP, you'd need to apply this to the client's /usr/share/initramfs-tools/scripts/local-top/nbd-client (I think), regenerate the initramfs, run the chroot's update-kernels script, and then ltsp-update-kernels... double-check that you're actually booting the initramfs with the patch applied... Make sure your nbd-server doesn't have the workaround applied, too. diff --git a/debian/nbd-client.initrd b/debian/nbd-client.initrd index 680e4ee..b0ba60b 100644 --- a/debian/nbd-client.initrd +++ b/debian/nbd-client.initrd @@ -70,6 +70,13 @@ case "$nbdroot" in nbdport=${nbdportpath%%/*} nbdpath=${nbdportpath#$nbdport} ;; + ^/*|*:/*) + # ipv4:server/path + nbdsrv=${nbdroot%%[:/]*} + nbdportpath=${nbdroot#$nbdsrv} + nbdportpath=${nbdportpath#:} + nbdpath=${nbdportpath} + ;; *) # ipv4:port/path nbdsrv=${nbdroot%%[:/]*} live well, vagrant
signature.asc
Description: PGP signature