make installworld uses wrong time if system is using wall clock time. In my case all files installed were 11 hours into the future, which is my offset from UTC. This is bad if your makefiles have a dependancy on anything installed by "make installworld". Fix: I suspect running "adjkerntz -i" will fix this and needs to be documented in UPDATING. How-To-Repeat: Be at a offset from utc and use /etc/wall_cmos_clock Reboot to single user fsck -p mount -u / mount -a cd /usr/src make installworld reboot check timestamps in /bin
marka@nominum.com wrote: > >Description: > > make installworld uses wrong time if system is using wall clock > time. > > In my case all files installed were 11 hours into the future, > which is my offset from UTC. > > This is bad if your makefiles have a dependancy on anything > installed by "make installworld". Mark, Did you set your time zone with sysinstall when you installed? Do you have an /etc/localtime file? My home workstation is dual boot and uses wall clock time, and I haven't had that experience. Try using /stand/sysinstall, choosing Configure, then Time Zone. If your problem persists after (re-)setting the TZ, we'll take it from there. Doug
> Did you set your time zone with sysinstall when you installed? Yes. > Do you have an /etc/localtime file? Yes. > My home workstation is dual boot and uses wall > clock time, and I haven't had that experience. Try using /stand/sysinstall, > choosing Configure, then Time Zone. If your problem persists after > (re-)setting the TZ, we'll take it from there. > > Doug -- Mark Andrews, Nominum Inc. 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@nominum.com
> > My home workstation is dual boot and uses wall > > clock time, and I haven't had that experience. Try using /stand/sysinstall, > > choosing Configure, then Time Zone. If your problem persists after > > (re-)setting the TZ, we'll take it from there. > > > > Doug I went through the exercise above. This is really a documentation problem. UPDATING has: make buildworld make buildkernel KERNEL=YOUR_KERNEL_HERE make installkernel KERNEL=YOUR_KERNEL_HERE reboot (in single user) [1] make installworld mergemaster reboot To get from reboot (single user) to make installworld the minimum steps should be assuming only local fs. fsck -p mount -u / mount -a cd /usr/src At this stage the kernel still thinks that the clock is at UTC (default). Running "adjkerntz -i" is not the obvious thing to do before running "make installworld" but it needs to be done and to be documented. Mark -- Mark Andrews, Nominum Inc. 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@nominum.com
State Changed From-To: open->analyzed Mark's suggestion seems reasonable and well researched.
Responsible Changed From-To: freebsd-bugs->imp Warner is Mr. UPDATING
State Changed From-To: analyzed->closed UPDATING updated.