Our timesetting code may suffer from a race condition on faster clients. We run ntpdate in the background on boot, and I fear that on fast clients, the controlling shell might be terminated before it executes. I think we were running it in the background so as not to add delay to the boot while it tries to contact (or fail to contact) the ntp server. We should probably change the code to run in the foreground with the "-t" option and make the timeout configurable.
In any event, you will find the time setting function in: /opt/ltsp/i386/usr/share/ltsp/ltsp-init-common The function is set_time() and you can try to change the line that reads: (ntpdate $TIMESERVER; hwclock --systohc --utc --noadjfile) & to ntpdate $TIMESERVER; hwclock --systohc --utc --noadjfile As for SHUTDOWN_TIME, if /etc/cron.d exists, it will create an /etc/cron.d/ltsp file. Check in your local xterm that it created it. If not, perhaps cron is not installed in the 10.10 chroot? -Gadi On Fri, Mar 25, 2011 at 1:35 PM, David Burgess <[email protected]> wrote: > On Fri, Mar 25, 2011 at 11:22 AM, David Burgess <[email protected]> wrote: > >> Two pieces of test hardware: 1: HP t5720, 2: HP nx9420 laptop. When >> booting both of these from 10.10, neither honours the SHUTDOWN_TIME >> variable. Running tcpdump -n -i eth0 port 123 on the LTSP/ntp server, >> I see the t5710 querying on bootup. I do not see the nx9420 querying. > > Odd. When I boot the nx9420 into 10.04, it still does not query the > ntp server, but it does shut down according to the SHUTDOWN_TIME > variable (to the extent that the sytem time is correct). So it appears > the failure to query the ntp server is client hardware specific, but > the failure to honour the SHUTDOWN_TIME variable is a bug in > LTSP5/Ubuntu 10.10. > > db > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _____________________________________________________________________ > 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 > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _____________________________________________________________________ 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
