On Sun, Mar 19, 2017 at 01:11:49PM -0700, Vagrant Cascadian wrote: > Untested patch below, please let me know if it works...
Sorry to inform you that it doesn't work for me, but maybe I've done something wrong or missed a step. > 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), It's /usr/share/initramfs-tools/scripts/local-top/nbd. In the chroot I ran 'lsinitramfs -l boot/initrd.img-4.9.0-2-686 | grep nbd' to be able to compare the date later. > 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... Made sure that both system and LTSP chroot are up-to-date. In the chroot: (1) patch /usr/share/initramfs-tools/scripts/local-top/nbd (2) run 'update-initramfs -u -k all' (3) run 'lsinitramfs -l boot/initrd.img-4.9.0-2-686 | grep nbd' to check the date of the nbd file (ok: seems to match the patch date). On the system: (1) run 'ltsp-update-kernels' (2) run 'ltsp-update-image -n' (as the chroot had been updated) (3) run 'lsinitramfs -l /var/lib/tftpboot/ltsp/i386/initrd.img|grep nbd' > Make sure your nbd-server doesn't have the workaround applied, too. (4) check /etc/nbd-server/conf.d/ltsp_i386.conf (ok, no workaround). (5) run 'service nbd-server restart' (6) run 'systemctl status nbd-server -l' The clients (both thin and diskless ws) are failing, error message like before patching. Just to exclude possible other errors: After doubling the content of /etc/nbd-server/conf.d/ltsp_i386.conf, removing one leading '/' and restarting the nbd-server, the clients work like expected. Wolfgang
signature.asc
Description: PGP signature