[arch-general] Fwd: /etc/cron.hourly/ntp isn't working.

Jan de Groot jan at jgc.homeip.net
Wed Nov 26 03:03:04 EST 2008


On Tue, 2008-11-25 at 21:03 -0500, Daenyth Blank wrote:
> I'm using openntpd
> 
> ---------- Forwarded message ----------
> From: root <daenyth at gmail.com>
> Date: Tue, Nov 25, 2008 at 21:01
> Subject: cron: /usr/sbin/run-cron /etc/cron.hourly
> To: root
> 
> 
> /bin/stty: standard input: Inappropriate ioctl for device
> /bin/stty: standard input: Inappropriate ioctl for device
> :: Stopping OpenNTPD    [BUSY]    [DONE]
> /bin/stty: standard input: Inappropriate ioctl for device
> :: Starting OpenNTPD    [BUSY]    [DONE]

this is because the init scripts use some fancy options to set colors.
This seems to be done by stty, which won't work on a fake tty like the
one used by cron.
I don't know why you're restarting openntpd from cron every hour though,
as it's a daemon that keeps running all the time. Restarting it has no
use.




More information about the arch-general mailing list