看板 FB_stable 關於我們 聯絡資訊
it says its for 32bit boxes, so odd on hes 64 bit so most likely not. Run a date on the host just before you run the date in the jail and compare if you havent already On 11 June 2014 11:53, Ronald Klop <ronald-lists@klop.ws> wrote: > On Wed, 11 Jun 2014 11:31:02 +0200, Spil Oss <spil.oss@gmail.com> wrote: > > Hi, >> >> I have a FreeBSD 10 running in VMWare ESXi 5.5. ntp is properly >> configured and the time on the server is fine. >> >> What I've found is that cron jobs start early. I call newsyslog -v in >> jails from the system crontab >> in /etc/crontab >> 0 0 * * * root jx all newsyslog -v >> >> jx is a simple wrapper to call that program in a named jail or 'all' >> jails from jls >> results in >> Date: Tue, 10 Jun 2014 23:59:08 +0200 >> Subject: Cron <root@gw> jx all newsyslog -v >> X-Cron-Env: <SHELL=/bin/sh> >> X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin> >> X-Cron-Env: <HOME=/root> >> X-Cron-Env: <LOGNAME=root> >> X-Cron-Env: <USER=root> >> >> Jail: build >> Processing /etc/newsyslog.conf >> /var/log/daily.log <7>: --> will trim at Wed Jun 11 00:00:00 2014 >> >> So this will never cycle daily.log >> >> What can cause cron to start all jobs early? I tested this with a >> simple `date' in cron as well and that's early too >> >> Kind regards, >> >> Spil >> > > http://svnweb.freebsd.org/base?view=revision&revision=261231 > > This was committed to stable/10 after 10.0-RELEASE. Maybe it has something > to do with it. > > NB: I'm am not the author of the patch so I might be totally wrong. > > Ronald. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"