[Bug 925165] Re: in ltsp, initramfs-tools/scripts/ltsp_nbd does not respect the parameter "nbdserver"
Alkis Georgopoulos
925165 at bugs.launchpad.net
Fri Feb 17 07:01:26 UTC 2012
Fixed in LTSP 5.3. ltsp_nbd was removed in favor of local-top/nbd.
** Changed in: ltsp (Ubuntu)
Importance: Undecided => Low
** Changed in: ltsp (Ubuntu)
Status: Fix Committed => Fix Released
** Changed in: ltsp (Ubuntu)
Assignee: (unassigned) => Alkis Georgopoulos (alkisg)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/925165
Title:
in ltsp, initramfs-tools/scripts/ltsp_nbd does not respect the
parameter "nbdserver"
Status in Linux Terminal Server Project:
Fix Released
Status in “ltsp” package in Ubuntu:
Fix Released
Bug description:
Package: ltsp-server
Version: 5.2.16-0ubuntu7
Maintainer: Stephane Graber <stgraber at ubuntu.com>
Release: 11.10 (oneiric)
AFAIU, (/opt/ltsp/.../usr/share/) initramfs-tools/scripts/ltsp_nbd
should respect the "nbdserver" parameter -
the relevant part of the function mountroot() should be amended to
something like
if [ -n "${nbdroot}" ]; then
# <host>:<port>
NBD_ROOT_SERVER=$( echo "${nbdroot}" | sed 's/:.*//')
NBD_ROOT_PORT=$( echo "${nbdroot}" | sed 's/.*://')
else
if [ -n "${nbdserver}" ]; then
NBD_ROOT_SERVER="${nbdserver}"
else
NBD_ROOT_SERVER="${ROOTSERVER}"
fi
if [ -n "$nbdname" ]; then
NBD_ROOT_NAME=${nbdname}
else
NBD_ROOT_PORT=${nbdport:-"2000"}
fi
fi
The logic behind mountroot() and scripts/ltsp_nbd probably needs
more thorough review and fixing.
best regards,
To manage notifications about this bug go to:
https://bugs.launchpad.net/ltsp/+bug/925165/+subscriptions
More information about the foundations-bugs
mailing list