Debian bug report logs - #945 clock (-u) question Package: (base) ; Reported by: jwl@atlanta.cray.com (James W. Lynch); 148 days old . ----------------------------------------------------------------------- Bug reassigned from package `base' to `(base)'. Request was from imurdock@debian.org (Ian Murdock) to debian-bugs-request@pixar.com . Full text available. ----------------------------------------------------------------------- Bug assigned to package `base'. Request was from iwj10@thor.cam.ac.uk (Ian Jackson) to debian-bugs-request@pixar.com . Full text available. ----------------------------------------------------------------------- Message received at debian-bugs: From atlanta.cray.com!jwl Mon Jun 5 08:47:01 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0sIeMn-0007iLC; Mon, 5 Jun 95 08:47 PDT Received: from timbuk.cray.com by pixar.com with SMTP id AA00819 (5.67b/IDA-1.5 for debian-user-pipe@mongo.pixar.com); Mon, 5 Jun 1995 08:45:35 -0700 Received: from dogwood.cray.com (dogwood.cray.com [128.162.46.3]) by timbuk.cray.com (8.6.11/CRI-gw-8-1.4) with SMTP id KAA11555; Mon, 5 Jun 1995 10:46:53 -0500 Received: by dogwood.cray.com (5.0/CRI-5.13) id AA00402; Mon, 5 Jun 1995 11:46:41 +0500 Date: Mon, 5 Jun 1995 11:46:41 +0500 From: jwl@atlanta.cray.com (James W. Lynch) Message-Id: <9506051546.AA00402@dogwood.cray.com> To: jimr@simons-rock.edu, jwl@atlanta.cray.com (James W. Lynch) Subject: Re: clock (-u) question Cc: Debian Bugs , Debian User X-Mailer: [XMailTool v3.1.0] Content-Length: 1966 --------- Received message begins Here --------- > From debian-user-request@Pixar.com Mon Jun 5 11:34:25 1995 > Resent-Date: Mon, 5 Jun 1995 10:34:24 -0500 > Old-Return-Path: > To: jwl (James W. Lynch) > Cc: Debian User , Debian Bugs > Subject: Re: clock (-u) question > Date: Mon, 05 Jun 1995 11:32:00 -0400 > From: "James A. Robinson" > Resent-Message-Id: <"TsreEC.A.NUH.aOy0v"@mongo> > Resent-From: debian-user@Pixar.com > X-Mailing-List: archive/latest/752 > X-Loop: debian-user@Pixar.com > Resent-Sender: debian-user-request@Pixar.com > X-Display-Position: 0 > > > Package: sysvinit > Version: 2.56 > > > How is clock supposed to work? It seems like it might read the > > CMOS clock and set the Unix time to some number. If so it has to > > know what local time is (offset from GMT) if you leave off the > > -u maybe? I tried to set TZ earlier in the boot script, but that > > didn't affect it either. > > > I'm also having a problem with clock. I *believe* it is because the > init.d/boot file runs clock before it mounts the other file systems, > and I happen to have /usr on a "local" file system. > > --- snip --- > # Set GMT="-u" if your system clock is set to GMT, and GMT="" > # if not. > GMT="" > # Set and adjust the CMOS clock. > clock -s $GMT > if [ ! -f /etc/adjtime ] > then > echo "0.0 0 0.0" > /etc/adjtime > fi > clock -a $GMT > > # Mount local file systems in /etc/fstab. > echo "Mounting local file systems..." > mount -avt nonfs > --- snip --- > > > Jim > > Jim, Moving the clock line to after the mount fixed my problem. Thanks, Jim. ------------------------------------------------------------------------ Jim Lynch, Sales Analyst, Cray Research, Inc. / ARS: K4GVO Southeast District, Phone: (404) 631-2254, Email: jwl@cray.com Suite 270, 200 Westpark Drive, Peachtree City, GA 30269 ----------------------------------------------------------------------- Acknowledgement sent to jwl@atlanta.cray.com (James W. Lynch) : New bug report received and forwarded. Your message didn't have a Package: line at the start (in the pseudo-header following the real mail header), or didn't have a psuedo-header at all. This makes it much harder for us to categorise and deal with your problem report; please ensure that you say which package(s) and version(s) the problem is with next time. Some time in the future the problem reports system may start rejecting such messages. Full text available. ----------------------------------------------------------------------- Report forwarded to debian-devel@pixar.com : Bug#945 . Full text available. ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov