From marka@drugs.dv.isc.org  Sun Feb 11 23:11:26 2001
Return-Path: <marka@drugs.dv.isc.org>
Received: from drugs.dv.isc.org (drugs.dv.isc.org [130.155.191.236])
	by hub.freebsd.org (Postfix) with ESMTP id E283637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Feb 2001 23:11:24 -0800 (PST)
Received: (from marka@localhost)
	by drugs.dv.isc.org (8.11.2/8.11.2) id f1C7Cj062726;
	Mon, 12 Feb 2001 18:12:45 +1100 (EST)
	(envelope-from marka)
Message-Id: <200102120712.f1C7Cj062726@drugs.dv.isc.org>
Date: Mon, 12 Feb 2001 18:12:45 +1100 (EST)
From: marka@nominum.com
Reply-To: marka@nominum.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: make installworld uses wrong time
X-Send-Pr-Version: 3.2

>Number:         25028
>Category:       bin
>Synopsis:       make installworld uses wrong time
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 11 23:20:00 PST 2001
>Closed-Date:    Mon Jun 4 10:20:52 MDT 2001
>Last-Modified:  Mon Jun 04 10:21:07 MDT 2001
>Originator:     Mark Andrews
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Nominum
>Environment:

FreeBSD drugs.dv.isc.org 4.2-STABLE FreeBSD 4.2-STABLE #2: Mon Feb 12 09:38:45 EST 2001     marka@drugs.dv.isc.org:/usr/obj/usr/src/sys/DRUGS  i386

>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".

>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

>Fix:

	I suspect running "adjkerntz -i" will fix this and needs
	to be documented in UPDATING.


>Release-Note:
>Audit-Trail:

From: Doug Barton <DougB@gorean.org>
To: marka@nominum.com
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/25028: make installworld uses wrong time
Date: Mon, 12 Feb 2001 00:39:52 -0800

 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
 

From: Mark.Andrews@nominum.com
To: Doug Barton <DougB@gorean.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/25028: make installworld uses wrong time 
Date: Mon, 12 Feb 2001 23:20:15 +1100

 > 	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
 

From: Mark.Andrews@nominum.com
To: Mark.Andrews@nominum.com
Cc: Doug Barton <DougB@gorean.org>, FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/25028: make installworld uses wrong time 
Date: Tue, 13 Feb 2001 00:07:26 +1100

 > > 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 
State-Changed-By: dougb 
State-Changed-When: Thu Feb 15 11:51:54 PST 2001 
State-Changed-Why:  

Mark's suggestion seems reasonable and well researched. 


Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Thu Feb 15 11:51:54 PST 2001 
Responsible-Changed-Why:  

Warner is Mr. UPDATING 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25028 
State-Changed-From-To: analyzed->closed 
State-Changed-By: imp 
State-Changed-When: Mon Jun 4 10:20:52 MDT 2001 
State-Changed-Why:  
UPDATING updated. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25028 
>Unformatted:
