[Bug 593227] [NEW] feature request: add a root-path parameter
Oliver Grawert
ogra at ubuntu.com
Tue Jun 15 08:12:05 UTC 2010
hi,
Am Dienstag, den 15.06.2010, 06:54 +0000 schrieb Alkis Georgopoulos:
> Στις 14-06-2010, ημέρα Δευ, και ώρα 20:35 +0000, ο/η Wouter Verhelst
> έγραψε:
> > NBD has a "virtual host" feature that allows you to change the served
> > file based on (part of) the IP address of the client that's
> > connecting.
>
> That would indeed work for some use cases, but unfortunately fixed IP
> addresses would be required, which isn't always an option.
just add an info function to the client and query it from the script :)
(ldminfo in reverse ...)
ciao
oli
--
feature request: add a root-path parameter
https://bugs.launchpad.net/bugs/593227
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltsp in ubuntu.
Status in “ltsp” package in Ubuntu: New
Status in “nbd” package in Ubuntu: New
Bug description:
Currently nbd-server and nbd-client communicate using a different port for each image. So if e.g. an LTSP admin wants to use a chroot for nvidia-based clients and a chroot for the rest of his clients, he'd need to use two ports. And he wanted nbd swapping a third port would be needed.
This is inconvenient and makes IANA applications to standarize the nbd port impossible.
It'd be better if nbd-client supported two additional parameters, to be sent and processed by nbd-server at the negotiation stage:
* A -path=/path/to/desired/root option (which of course the server could ignore, if it wasn't in a pool of allowed paths), and
* A -swap=<requested size> option (to replace the current -swap option). If the server configuration allowed it, nbd-server (or some callback scripts) would create an appropriate swap flie of that size for the client.
More information about the edubuntu-devel
mailing list