Jim- Okay, makes sense. I'll add that to the ltspinfo wiki page. Evan
On Fri, 4 Mar 2005 13:28:55 -0500 (EST), Jim McQuillan <[EMAIL PROTECTED]> wrote: > Evan and John, > > It's not a bug, it's a feature. > > The idea is that you run ltspinfo like this: > > eval `ltspinfo -h ws001 -c ALL` > > and it will set the values in your environment. > > It prepends 'LTSP_' on the front of all of the variables, so that we > don't step on other variables that might already be in your environment. > > As for variables missing from /tmp/info, only variables that the client > cares about are put in /tmp/info, and will be returned by ltspinfod. > RUNLEVEL is not a recognized variable. (it was in LTSP-3, but not in > LTSP-4 or LTSP-4.1). > > Take a look in the rc.sysinit script in the ltsp etc directory. It has > calls such as: reg_info USE_NFS_SWAP > > That's the command that puts the USE_NFS_SWAP variable in /tmp/info. > > Just randomly adding new variables to lts.conf won't magically make them > appear in /tmp/info. You'd need to add some code in your rc script to > call reg_info to make them appear. > > Jim McQuillan > [EMAIL PROTECTED] > > > On Fri, 4 Mar 2005, Evan Hisey wrote: > > > John- > > This looks to be a bug in the way ltspinfo does the reporting on the > > config.. > > > > Jim- > > I have been getting this also. on every setting. It looks like > > ltspinfo is appending LTSP_ to the start of the variables that it is > > reporting. > > > > > > Evan > > > > On Thu, 03 Mar 2005 16:36:41 +0000, John Horne > > <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > I having been using ltspinfo to check on a client. In the lts.conf file > > > I have set the RUNLEVEL value, but ltspinfo does not return a value for > > > it: > > > > > > ltspinfo --host 141.163.60.56 --cfg RUNLEVEL > > > export LTSP_RUNLEVEL="" > > > > > > It seems that ltspinfod uses the /tmp/info directory on the client, and > > > this too has no RUNLEVEL entry. So how does /tmp/info get initialised > > > with the lts.conf values? > > > And why does ltspinfo return the 'export LTSP_' bit? > > > > > > Thanks, > > > > > > John. > > > > > > -- > > > --------------------------------------------------------------- > > > John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914 > > > E-mail: [EMAIL PROTECTED] Fax: +44 (0)1752 233839 > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real users. > > > Discover which products truly live up to the hype. Start reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > _____________________________________________________________________ > > > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > > > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > > > For additional LTSP help, try #ltsp channel on irc.freenode.net > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _____________________________________________________________________ > > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > > For additional LTSP help, try #ltsp channel on irc.freenode.net > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net