From owner-freebsd-doc Wed Jan 16 2:10:43 2002 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 37E2237B421 for ; Wed, 16 Jan 2002 02:10:11 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0GAABI44024; Wed, 16 Jan 2002 02:10:11 -0800 (PST) (envelope-from gnats) Received: from mcqueen.wolfsburg.de (pns.wobline.de [212.68.68.5]) by hub.freebsd.org (Postfix) with ESMTP id 571CA37B400 for ; Wed, 16 Jan 2002 02:06:59 -0800 (PST) Received: from colt.ncptiddische.net (ppp-181.wobline.de [212.68.69.189] (may be forged)) by mcqueen.wolfsburg.de (8.11.3/8.11.3/tw-20010821) with ESMTP id g0GA6vc00362 for ; Wed, 16 Jan 2002 11:06:57 +0100 Received: from tisys.org (howie.ncptiddische.net [192.168.0.3]) by colt.ncptiddische.net (8.11.6/8.11.6) with ESMTP id g0GA8PX89233 for ; Wed, 16 Jan 2002 11:08:25 +0100 (CET) (envelope-from nils@tisys.org) Received: (from nils@localhost) by tisys.org (8.11.6/8.11.6) id g0GA7b100931; Wed, 16 Jan 2002 11:07:37 +0100 (CET) (envelope-from nils) Message-Id: <200201161007.g0GA7b100931@tisys.org> Date: Wed, 16 Jan 2002 11:07:37 +0100 (CET) From: Nils Holland Reply-To: Nils Holland To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/33937: Add a timezone related hint to make world section of hb Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33937 >Category: docs >Synopsis: Add a timezone related hint to make world section of hb >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 16 02:10:10 PST 2002 >Closed-Date: >Last-Modified: >Originator: Nils Holland >Release: FreeBSD 4.5-RC i386 >Organization: Ti Systems >Environment: System: FreeBSD howie.ncptiddische.net 4.5-RC FreeBSD 4.5-RC #0: Sat Jan 12 10:37:03 CET 2002 root@poison.ncptiddische.net:/usr/obj/usr/src/sys/HOWIE i386 >Description: If a machine's time is set to local time (for example, CET) and not GMT, there is a potential that (not too dramatic, but still weird) problems may occur during a make installworld process. /usr/src/UDPATING therefore suggests that users running at local time run "adjkerntz -i" after having booted into single user mode and before starting the installworld process. However, in order to read this suggestion in UPDATING, one would have to scroll way down. Therefore, I guess the handbook should probably include the "adjkerntz -i" statement as well, and so I included it in the part that tells users how to boot into single user mode, right after the commands that are supposed to clean / mount the filesystems. >How-To-Repeat: Boot into single user mode using boot -s, install world, reboot and notice that the files you have just installed are dated one hour in the future (IF your machine is set to local time). Try the same, but run adjkerntz -i before installworld and everything will be fine. Browse through /usr/src/UPDATING and see that somewhere, near the part on going from 3.x to 4.x, it also suggests local-time users to run adjkerntz -i, so I guess we should do the same ;-) (NOTE: To actually run into problems with this, you'd have to try to install certain ports, which will fail until the timestamp of the files installed by installworld is past ;-) >Fix: The following patch, applied to handbook/cutting-edge/chapter.sgml fixes it ;-) *** chapter.sgml Wed Jan 16 10:27:30 2002 --- chapter-new Wed Jan 16 10:57:24 2002 *************** *** 754,759 **** --- 754,769 ---- This checks the filesystems, remounts / read/write, mounts all the other UFS filesystems referenced in /etc/fstab and then turns swapping on. + + If your CMOS clock is set to local time and not to GMT, + you should also run the following command: + &prompt.root; adjkerntz -i + + This will make sure that your local timezone settings + get set up correctly - without this, you may later run into some + not dramatic, but still weird problems. + + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message