From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QIsDO+QXg2AeyQAAgWs5BA (envelope-from ) for ; Fri, 23 Apr 2021 20:54:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id Fp2tNuQXg2C+QwAA1q6Kng (envelope-from ) for ; Fri, 23 Apr 2021 18:54:28 +0000 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 7682C13A53 for ; Fri, 23 Apr 2021 20:54:28 +0200 (CEST) Received: from localhost ([::1]:59130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1la0wd-0007Yn-N6 for larch@yhetil.org; Fri, 23 Apr 2021 14:54:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la0wE-0007Yf-59 for guix-patches@gnu.org; Fri, 23 Apr 2021 14:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1la0wD-0001qG-Tz for guix-patches@gnu.org; Fri, 23 Apr 2021 14:54:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1la0wD-0005DE-SC for guix-patches@gnu.org; Fri, 23 Apr 2021 14:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47979] [PATCH] installer: Recommend 'ntp-service-type' for non-graphical systems. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Apr 2021 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47979 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47979@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161920403320013 (code B ref -1); Fri, 23 Apr 2021 18:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Apr 2021 18:53:53 +0000 Received: from localhost ([127.0.0.1]:38834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1la0w5-0005Cj-2c for submit@debbugs.gnu.org; Fri, 23 Apr 2021 14:53:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:60740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1la0w3-0005Cc-Qm for submit@debbugs.gnu.org; Fri, 23 Apr 2021 14:53:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la0w3-0007YV-Iq for guix-patches@gnu.org; Fri, 23 Apr 2021 14:53:51 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:39883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la0vv-0001gK-Jz for guix-patches@gnu.org; Fri, 23 Apr 2021 14:53:51 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id D6F5E3059; Fri, 23 Apr 2021 14:53:41 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 23 Apr 2021 14:53:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=mesmtp; bh=LflpN3IKgze2migbwdUwfBf VwAphjdl+Eof0yU8LPPQ=; b=DW+2KCwWXP7f+9Py8fpV28pNzM1rXMHt3/g+UN5 QpYCd2zAFbJaIDVXmN0JpiMTsUwXjXRFYIMAF3ioJDcxY5A6tdajbumXXX3GRXIe UsT2+VXu35Hp5VBOpgogDw+Qz5UAKj4jYzr8o3apmWdvx1XEXp4Ec/8RheNMV/+V pE9k= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=LflpN3 IKgze2migbwdUwfBfVwAphjdl+Eof0yU8LPPQ=; b=N2zPePt6bLI1AvnBKp1Of7 Ly22QW1CiyGIFYIqr/lI1076MrI5TbQzOkzODi1iL8HIu/gMPXWMpvCleMgbQJQ/ 47niW6g0a43NXPEzXMO/2EXoiuRCaxZ3NvDmBWGf9GQOgGiD9FmovhIpDD10udfm L0Mho+sVN4cR6EULNJWyVjaoHnLmtrsjDaYAQDkF+s4A3idtrfS031oluya5VoSw OTMOj+GRq1KsjBOUL49KK9CBqqLFtDW490LTiF283vKOsXELIwnv5Wmsiy173qMn Ptyf3M/AfkaHIlltB/m3gt26v94IXzWr2b+0GHtpJ6Odm4TxPYY4GHguGuCdJMGw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdduvddgudeftdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffogggtgfesthekre dtredtjeenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepgfetjeetjedtfefggfelheevleejte fhleevveetkedtheeugedtgfekueekheejnecukfhppedutddtrdduuddrudeiledruddu keenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from jasmine.lan (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 2403F108005C for ; Fri, 23 Apr 2021 14:53:41 -0400 (EDT) From: Leo Famulari Date: Fri, 23 Apr 2021 14:53:15 -0400 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.147.123.25; envelope-from=leo@famulari.name; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619204068; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=LflpN3IKgze2migbwdUwfBfVwAphjdl+Eof0yU8LPPQ=; b=fTQ3YGgTYAxkPZu+pJvaRHjtSfmD2vvW+8+uzAxXw7LPhpiyFx863Hxgec/GoiE4a5OVj1 /al4ZWXj/HFAR5za5n2rdagSVzBHz15hSefhlttp9IQjh35wdfVcIGc4bERjvSU1IobX69 ClvqlhTDURySAuIRwCN2aZ6xU7gpPfuPmCkHGcMGpS6ML1pngua2jjgR8WnfJ5iK4NRSb2 E2mXmL1ybzqY3XRB3QqWFe2KUDkJe2efuWASh3z1e8Gpw7zjT7sEwX0YIrKjryeJqwGTVA 5TlLcLjcrf/bzyhDy7Y30dixjxZ65CRiaV6IkT9dTWWo2qGjCmnybYg4azvrlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619204068; a=rsa-sha256; cv=none; b=o1fMIIO1QOwwamSCIQJdhS6oaLxeJ6jpsjkTXy3ER1iqB16pTYg+s+VeQy38R9xmbQHKyG U+kZe4ty9bv1FqNvnPwgOyGUB4KaOu9ub//HBsPHK04pbzUFcCE9q7wEyb8lTMhxD4LVNe 4fgR7OLesM3F5l3AkOVjFqIFlUswcNwbJyctJyIfbWK4sweVT2pw9yoXtchSXiqBctJvFQ 1AeN9RNM8uvO3khLqwlAZ+kYQmVyoH8ABL8GT/XQiAO0MujSdVD657EI1Dduj8dcFBMwSa bPXeDAF3QhnnJf4NJEQ9jftc4YqbiaqM4/AjxXnkHTiVlsQCGxGeHiLXPdnFrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=DW+2KCwW; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=N2zPePt6; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=DW+2KCwW; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=N2zPePt6; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7682C13A53 X-Spam-Score: -0.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: bnF4yRjIJZD7 We had several bug reports with a root cause of "the clock was incorrect" from users who used the installer to install a non-graphical Guix System. * gnu/installer/services.scm (%system-services): Add the ntp-service-type. --- gnu/installer/services.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/installer/services.scm b/gnu/installer/services.scm index ec5ea30594..440b8c67db 100644 --- a/gnu/installer/services.scm +++ b/gnu/installer/services.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2018 Mathieu Othacehe ;;; Copyright © 2019 Ludovic Courtès ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2021 Leo Famulari ;;; ;;; This file is part of GNU Guix. ;;; @@ -103,6 +104,11 @@ (type 'networking) (packages '((specification->package "nss-certs"))) (recommended? #t)) + (system-service + (name (G_ "Network time service, to set the clock automatically")) + (type 'network-management) + (snippet '((service ntp-service-type))) + (recommended? #t)) ;; Network connectivity management. (system-service -- 2.31.1