FreeBSD uses the year 1936 in qemu

From: Dominique Goncalves <dominique.goncalves_at_gmail.com>
Date: Fri, 13 Jul 2007 22:33:52 +0200
Hi,

I'm trying to run FreeBSD 7.0-CURRENT as a guest in qemu-0.9.0 (using
freesbie), but FreeBSD thinks the current date is Sat 31 oct 1936.
newsyslog and syslogd do not start correctly.

Creating and/or trimming log files:
newsyslog:
malformed 'at' value:
/var/log/all.log                        600  7     *    _at_T00  J

.
Starting syslogd.
Oct 31 17:01:25  syslogd: /var/log/messages: No such file or directory
Oct 31 17:01:25  syslogd: /var/log/security: No such file or directory
Oct 31 17:01:25  syslogd: /var/log/auth.log: No such file or directory
Oct 31 17:01:25  syslogd: /var/log/maillog: No such file or directory
Oct 31 17:01:25  syslogd: /var/log/lpd-errs: No such file or directory
Oct 31 17:01:25  syslogd: /var/log/xferlog: No such file or directory
Oct 31 17:01:25  syslogd: /var/log/cron: No such file or directory
Oct 31 17:01:25  syslogd: /var/log/debug.log: No such file or directory
Oct 31 17:01:25  syslogd: /var/log/slip.log: No such file or directory
Oct 31 17:01:25  syslogd: /var/log/ppp.log: No such file or directory

Of course I can use ntpd or ntpdate but it's too late in the startup order.
I found a similar problem [1] reported which proposes a fix [2].
I applied the patch in PR i386/111117 and the date is now set
correclty inside qemu.

Is this a bug in FreeBSD or qemu ?

Thanks,
Regards.

[1] : http://lists.freebsd.org/pipermail/freebsd-current/2007-April/070394.html
[2] : http://www.freebsd.org/cgi/query-pr.cgi?pr=111117

-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."
Received on Fri Jul 13 2007 - 19:01:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC