[Pkg-ltsp-devel] Bug#689668: ltsp-client-core: SERVER in lts.conf ignored, wrong order in ltsp_config.d

Vagrant Cascadian vagrant at debian.org
Mon Nov 19 20:07:46 UTC 2012


Control: version 689668 5.4.2-2
Control: severity 689668 important
Control: tags 689668 pending

On Sat, Oct 13, 2012 at 09:35:33PM +0200, Tim Dijkstra wrote:
> On vr, 2012-10-05 at 11:18 -0700, Vagrant Cascadian wrote:
> > On Thu, Oct 04, 2012 at 11:09:50PM +0200, Tim Dijkstra (tdykstra) wrote:

> > > In my setup the server that is logged into is different from the NFS
> > > server serving the rootfs. By default ltsp assumes those are the same,
> > > to override one can set the SERVER variable in lts.conf.
> > 
> > You probably should use LDM_SERVER (or XDM_SERVER) to select the login server,
> > not the SERVER variable.
> 
> Well, with server you said all *_SERVER vars.

SERVER is also used to define other variables; when I was testing your proposed 
change, it also changed the NBD_SWAP_SERVER variable and caused that to fail.

But it's the documented behavior, and is still useful in some cases, as long as 
you're aware of the consequences, so...


> > > However this doesn't work. This is because in ltsp_config.d the script
> > > 01-getltscfg comes before 01-ltspconfig-cache, which means the later
> > > will override the SERVER variable from lts.conf with a guess based on
> > > the NFS server IP.
> > > 
> > > The solution is simple, just rename 01-ltspconfig-cache to
> > > 00-ltspconfig-cache
> > 
> > This may have other other unintended side-effects- I'll look into it.

Will include your suggested change shortly. Thanks!


live well,
  vagrant



More information about the Pkg-ltsp-devel mailing list