On Sat, Mar 18, 2017 at 08:03:44AM -0700, Vagrant Cascadian wrote: > On 2017-03-18, Wolfgang Schweer wrote: > > just a reminder for this issue. As you know, Debian Edu needs it fixed > > as well. > > The workaround for LTSP would be to add an additional stanza in the > nbd-server configuration so that both behave the same. > > [opt/ltsp/i386] > > [/opt/ltsp/i386]
We have already documented a workaround on the Stretch status page: https://wiki.debian.org/DebianEdu/Status/Stretch#Known_installation_related_issues > The better solution would be to fix in nbd's initramfs hooks: > > case nbdroot in > ^/*|*:/*) nbdpath= ... > nbdsrv= ... ;; > esac While trying to fix it there w/o success, I'm wondering if something like this would be ok (might be smarter, though): diff --git a/server/ltsp-config b/server/ltsp-config index c7fa7c4f..fb6f51a0 100755 --- a/server/ltsp-config +++ b/server/ltsp-config @@ -211,9 +211,12 @@ EOF echo "Removing old configuration file $conf in order to upgrade it" rm -f "$conf" fi + echo "Adjusting old configuration file $conf to be compatible with NBD" + sed -i "s#/opt/ltsp#opt/ltsp#" /etc/nbd-server/conf.d/ltsp_$name.conf fi if check_overwrite $conf; then + BASE=$(echo $BASE | sed -e "s#/##") cat >"$conf" <<EOF [$BASE/$name] exportname = $image CCing Tomasz; we discussed this bug yesterday at BSP Mönchengladbach (credativ) and he pointed me to ltsp-config. Wolfgang
signature.asc
Description: PGP signature