From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DNS_FROM_AHBL_RHSBL, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 From: Sergey To: ALT Linux Community general discussions Date: Fri, 19 Jun 2015 10:52:56 +0400 User-Agent: KMail/1.9.10 (enterprise35 0.20100827.1168748) References: <201505251540.32055.a_s_y@sama.ru> <201506181811.12569.a_s_y@sama.ru> <20150618174318.30215d97@sem.office.altlinux.ru> In-Reply-To: <20150618174318.30215d97@sem.office.altlinux.ru> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <201506191052.56189.a_s_y@sama.ru> Subject: Re: [Comm] =?koi8-r?b?79DR1Ngg08nT1MXNzs/FINfSxc3RIMkg1MHKzdrPzsEu?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 06:53:04 -0000 Archived-At: List-Archive: List-Post: On Thursday 18 June 2015, Mikhail Efremov wrote: > hwclock(8): > -r, --show > --get > Read the Hardware Clock and print the time on standard > output. The time shown is always in local time, even if > you keep your Hardware Clock in UTC. See the --localtime > option. > > При отсутствии /etc/adjtime hwclock считает, что время в Hardware Clock > в UTC и при выводе прибавляет к нему +3. Тогда, вообще, непонятно. Имеем ядро 3.14.27-std-def-alt1 # hwclock --localtime --systohc # hwclock -r Fri Jun 19 09:54:53 2015 -0.860046 seconds # date Fri Jun 19 09:54:57 SAMT 2015 Далее делаем так # service ntpd start Starting ntpd service: [ DONE ] и ждём: # sleep 900 ; hwclock -r Fri Jun 19 06:13:40 2015 -0.813063 seconds Ядро плевать хотело на /etc/adjtime -- С уважением, Сергей.