[launchd-dev] Is there anything that can prevent launchd from working
Scott Haneda
talklists at newgeo.com
Mon Jun 1 14:54:43 PDT 2009
On Jun 1, 2009, at 2:19 PM, Damien Sorresso wrote:
>> Ok, understood. The trouble is, ntpdate is failing then, and I
>> have no way to get the date set to 1969. Any attempts to do so via
>> GUI, drop it back to current date. I can shove it to some other
>> date, but ntpdate does not error when run.
>>
>> How can I mimic from an interactive shell exactly what launchd is
>> doing, so I know I am on the same page? Any idea how to get the
>> system clock into 1969? I really do not want to pull a pram
>> battery in this laptop :)
>
> I'm not sure I understand what you're asking. If you want to see why
> ntpdate is returning an exit code of 1, you should read their
> documentation or their source. Also, logging the output of the
> invocation of ntpdate would probably be useful for you.
Its getting a little OT, so I really appreciate this. Either a crash
or a panic cause the machine to freeze, I have to manually reboot.
When I do, there is a dialogue on screen telling me there is a date
time issue. I wish I could find a screen shot but I do not remember
the exact terminology.
When that type of messages comes up, ntpdate returns exit 1. I need a
test case, in order to reproduce it on another machine. The previous
suggestions to inspire panic to happen, do not mess with the date and
time on my macbook, and I can not really fiddle on a live server.
As to reading the docs and source, I looked at the man page, where is
the source for the BSD version, I can not find it, not that I would be
very good at reading it anyway.
Actually, I believe a PMU reset inspires that message, so maybe I can
try that as well.
Thanks all.
--
Scott * If you contact me off list replace talklists@ with scott@ *
More information about the launchd-dev
mailing list