X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id DCAA7DC0093 for ; Wed, 16 Jul 2014 04:17:13 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id v10so513163pde.12 for ; Tue, 15 Jul 2014 21:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=dHIIKn0fPv/KWPoNBgM6HTkV+7A61IOqaqPEiPIciks=; b=O8BmhVCXF2mWOO8FY6dA3KXXPQwXoQg9BU1bG+8cmI46H0E2ywMFd2Cq34moYOsFFO uLtfaK3Rj0T1QMVYlQaIXJHcRUN/+2wIyfTgN1NnrQRi5PZq+jDfT5tkUbGSI2wTemmN ejlB30GioFhhgMN1rzN6NygkDRrBJpgmq2UPxRYeLbVr+M9OU3x44GK6hGPw5un39nR7 mcWoNQgwu9MYXJ1HdzD6/UQhUq27jn7Ccqpetc/fp2TiUsq8xCovhkZnAu7kCIOy8s3y pZldGxjo6n4uXvHuA/hmwijGGOby8L1MgcALPUaxN1RB1b+nKR1ZNmBPM+U1WTw/qQ6t HD/A== X-Received: by 10.70.44.168 with SMTP id f8mr20357678pdm.97.1405484230858; Tue, 15 Jul 2014 21:17:10 -0700 (PDT) Received: from newbook ([50.0.229.120]) by mx.google.com with ESMTPSA id mj9sm65549460pab.20.2014.07.15.21.17.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jul 2014 21:17:10 -0700 (PDT) Date: Wed, 16 Jul 2014 04:12:44 -0700 From: Isaac Dunham To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] hwclock restoring time wrong Message-ID: <20140716111243.GA2021@newbook> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Hello, I've encountered a problem that seems to throw cron for a loop: hwclock is saving the UTC time, but restoring it as if it were localtime. I determined this by setting the date manually, then running: for d in stop start; do date; hwclock -r; service hwclock $d; date; hwclock -r; done The status changes as follows: -manual localtime -real UTC hwclock hwclock stop -manual localtime -manual UTC hwclock hwclock start -localtime = manual UTC hwclock, but with the right timezone reported. I'm not sure if this is a bug in the init script or in busybox. What would be a good way to check that? Thanks, Isaac Dunham --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---