Thanks for the ntpdate fix.

On Fri, Mar 25, 2011 at 11:39 AM, Gideon Romm
<[email protected]> wrote:

> 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?

Now we're getting somewhere. cron is in the chroot, and here is the file:

root@tc-laptop-HP:~# cat /etc/cron.d/ltsp
17 11 * * * root test ! -S "$(ls -1 /var/run/ldm_socket_* | head -1)"
&& PATH=\$PATH:/sbin/ poweroff -fp
0 22 * * MON-THU /sbin/halt
0 20 * * FRI /sbin/halt
0 17 * * SAT /sbin/halt
0 19 * * SUN /sbin/halt
0 4 * * SUN /sbin/reboot

This is interesting, because it has grabbed those lines from a section
in lts.conf where it clearly shouldn't. Here are the relevant excerpts
from that file:


# group library
[library]
CRONTAB_01="0 22 * * MON-THU /sbin/halt"
CRONTAB_02="0 20 * * FRI /sbin/halt"
CRONTAB_03="0 17 * * SAT /sbin/halt"
CRONTAB_04="0 19 * * SUN /sbin/halt"
XINITRC_PROMPT_ON_EXIT=False

# group test
[test]
SHUTDOWN_TIME=16:00:00

[00:1b:38:2d:d2:95]
LIKE=test
HOSTNAME=tc-laptop-HP
RDP_SERVER=172.21.34.1
SHUTDOWN_TIME=11:17:00

This last section matches the NIC of the laptop, confirmed with
ifconfig. I have confirmed with grep that that particular MAC address
doesn't exist anywhere else in the lts.conf file, so it's not clear
why the laptop is pulling cron information from the library section,
and not pulling it from its own section. The hostname is set
correctly, so it's not ignoring its own section entirely.

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

Reply via email to