From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uNPvHzpf22Ry1gAASxT56A (envelope-from ) for ; Tue, 15 Aug 2023 13:19:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SCLlHjpf22T8XAEAG6o9tA (envelope-from ) for ; Tue, 15 Aug 2023 13:19:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 189544FA2F for ; Tue, 15 Aug 2023 13:19:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=Zs9lMUt0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692098362; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Z/yjZchvWcwFV8YvWK8uKLrK0r6BmGMXjdyck8QNUw4=; b=IR+uM97ZdLc8Me93AroEIDTMTdItnK2BE2h3pBncY3wMuk99GB9VgoRJPhHO2Be12+0ODp BBdvbSkQpzu9rZ/Iv8EkR5vsWfN+v7zFn/X7i9o1giL7dTTzLdPk/dX4mvE9mULZiqytYP g/yRp9pPBvtj6NxtJP26k0c5iHKIZxJYoQUJZHnkgQQfKajzszK3VMdgF0glj+Nj31v5TV Tg3bAxTMxLorOduvPJB7pUgfFwoV027aVjf+PyicTXaNp9ey8O7LpgQbrzTO0uVghtiwHJ CAD7vKXUC+2/lE+Yun2Tn8pnF6OlskK+rIS7GqDA0O2owjdL/jvN3T+cMRWtpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=Zs9lMUt0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692098362; a=rsa-sha256; cv=none; b=Tuo5awlCqhwdOf8gYMAs2yMrX9uLsNopi/c2jUn0vWF/AQyEhX+mWqN5XlGcsvf8mmtizw 1fGB8s7y/WKcmuJxodd7efzT7TYRePNSaxZxQ/Hj0e6fVRPP60tlm65xl4heNAyi8R+TFY XHT7vSTXtwSMuim7UXHoF0zdwvzTJ474FzYxjhsjBontgvAFe+K7smYVfKVU+PjPlgfREd i/W7kSJ8xwEcZTDNRAtfhlOZf1VCF7uyWR6h7sz0kPXm4tFUYrvXSwkZDWi6F2IlYRC/Vn zW7Ll80x3AJIhyUDwdFxOTGKKn8+jnrhM2npfmZmTAsFmsmhJ3UftzwLjEKLCQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVs4o-0005A2-2M; Tue, 15 Aug 2023 07:19:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVs4l-00059N-OA for bug-guix@gnu.org; Tue, 15 Aug 2023 07:19:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVs4k-00029W-LE for bug-guix@gnu.org; Tue, 15 Aug 2023 07:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVs4k-0002qP-Gs for bug-guix@gnu.org; Tue, 15 Aug 2023 07:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65306: [shepherd] ntpd throws shepherd out of the loop Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 15 Aug 2023 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65306 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: 65306@debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@gnu.org, 65306@debbugs.gnu.org Received: via spool by 65306-submit@debbugs.gnu.org id=B65306.169209831710875 (code B ref 65306); Tue, 15 Aug 2023 11:19:02 +0000 Received: (at 65306) by debbugs.gnu.org; 15 Aug 2023 11:18:37 +0000 Received: from localhost ([127.0.0.1]:35083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVs4K-0002pL-NW for submit@debbugs.gnu.org; Tue, 15 Aug 2023 07:18:36 -0400 Received: from mx1.riseup.net ([198.252.153.129]:47624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVs4I-0002p5-L8 for 65306@debbugs.gnu.org; Tue, 15 Aug 2023 07:18:35 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4RQ8051F4HzDqKr; Tue, 15 Aug 2023 11:18:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1692098309; bh=kUJmo4BoFDcWE/JVJ4dO3AB2wasOgPYVk72r3STMud4=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=Zs9lMUt0BXL/CCXFVZ0Wek/hxmdFT/XXbSrDHDgkY8ifODLqTnn8LdMGSt28zz3FE 1Q2nxs2bae2Ov1HNvzRB1HvsJQe36YraxBdGTvoeq0xtPigALZ4TX39ygdyo3qQ67O QKCT4Kf2EeynsNT0tT/C+rQ7gK5vZC37rNLs4k6E= X-Riseup-User-ID: 60A38A5F2F092BEDA9385D263C6296E298DCAAFEDD8E164F301244D88D21CC87 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4RQ80433l0zFrxr; Tue, 15 Aug 2023 11:18:28 +0000 (UTC) References: <464a337f57514620ffcae1e426a376c6d034a4e8.camel@gmail.com> From: Csepp Date: Tue, 15 Aug 2023 13:13:50 +0200 In-reply-to: <464a337f57514620ffcae1e426a376c6d034a4e8.camel@gmail.com> Message-ID: <87ttt0mu4g.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 3.64 X-Migadu-Queue-Id: 189544FA2F X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 3.64 X-TUID: yxWARwgSz+Ak Liliana Marie Prikler writes: > Hi Guix, > > I have a laptop that's a little stuck in the past=E2=80=A6 more accurately > January of 2020 thanks to what I believe to be an empty CMOS battery.=20 > As of recently (maybe it dates back longer, but I first experienced it > two weeks ago and just now got to debugging it a little), Shepherd gets > stuck at 100% CPU usage "early" on first boot. I can prevent this > issue by getting the system time "close enough" to the actual time > before the NTP sync, but see the first sentence. Not having a network > connection also works, but that's somewhat unpractical. Also, the high > CPU usage still occurs if a sync is done later. I have yet to > encounter the bug post hibernation, but I also wish not to. There > doesn't appear to be anything particular interesting in the logs > either. > > Cheers This sounds like an issue with slow incremental system time updates, although I don't understand why that would cause Shepherd to hang, but maybe the NTP service is configured to only report itself as initialized once it has finished synchronizing, which defeats the point of incremental updating. There is probably a config setting to tell ntpd to perform the update in a single step, at least I know chrony has one. ps.: don't wait until the battery starts leaking to replace it