From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MLDPCUeUzWF3QwAAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 12:13:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aC+JAkeUzWHD6wAAG6o9tA (envelope-from ) for ; Thu, 30 Dec 2021 12:13:11 +0100 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 C662712119 for ; Thu, 30 Dec 2021 12:13:10 +0100 (CET) Received: from localhost ([::1]:52538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2tMr-0007Tq-PL for larch@yhetil.org; Thu, 30 Dec 2021 06:13:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2tMl-0007TU-0j for guix-patches@gnu.org; Thu, 30 Dec 2021 06:13:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39981) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2tMk-0002rM-Nu for guix-patches@gnu.org; Thu, 30 Dec 2021 06:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2tMk-0002r6-GS for guix-patches@gnu.org; Thu, 30 Dec 2021 06:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52897] [PATCH] doc: Add instructions on upgrading the build daemon with doas. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52897 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52897@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164086275510935 (code B ref -1); Thu, 30 Dec 2021 11:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2021 11:12:35 +0000 Received: from localhost ([127.0.0.1]:51527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2tMJ-0002qJ-Dm for submit@debbugs.gnu.org; Thu, 30 Dec 2021 06:12:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:54194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2tMH-0002qB-LZ for submit@debbugs.gnu.org; Thu, 30 Dec 2021 06:12:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2tMH-0007Rq-GU for guix-patches@gnu.org; Thu, 30 Dec 2021 06:12:33 -0500 Received: from mx1.dismail.de ([78.46.223.134]:25658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2tMF-0002oi-Ga for guix-patches@gnu.org; Thu, 30 Dec 2021 06:12:33 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 51a974d0 for ; Thu, 30 Dec 2021 12:12:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=SCJLG5LJ35X8iBK3G8B6xEQuv57Y9HmtYo5HaLIX2ck=; b= JWIDiM9JIUh6nxSootPWYelqo+LjtavtNzs51pBUqDLjKczFlkFEFKijCYL6Gun4 XnIdNWSgXOlHDR/ryAFZGwslZ5TUXT9h9TeafkmvQBZejy8zDIE4f3KGRaz1FMIo C/2umWtCy+xdz1XYO8rQ35mdmx7FlEg11GViqqu2oI3vWJn7Txh6WAsoI83QJPpp vHFJJd7ImEfu/qsYgnLglB77rGX33eOBnMA6wHcissvQWlFxb18w5YPFJL/kRaP0 gCGznwxKX3u9Fq6MHnyAydBbZGS6w422AhroPLaQiCvfT+1TenBanK/6swqLclIp LE9Vuw3HKaYOSMS/Ldxkvg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id b079ec91 for ; Thu, 30 Dec 2021 12:12:23 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 6e054fe2 for ; Thu, 30 Dec 2021 12:12:23 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 95a3ac98 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 30 Dec 2021 12:12:22 +0100 (CET) Date: Thu, 30 Dec 2021 06:11:56 -0500 Message-Id: <20211230111155.693-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) 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_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640862790; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=QqRKGoDzbQGqwhcj2wG5mn9Hec3brKJZP39+MJGjp2U=; b=cS//m950q7Uwphd20RWO8yO/es3FxUsoWHGQsdNEJmXNYqsva9fJc6QUHeaRLKlHMTVb9A XxtC+f5JqhrirGkTmXnOvDmaoSXn/g1SpqJjPhX37770PBH2xndOc86yo4lJxew2nR0kIl nyBC3l7yCTrlQ+BfJbY3LJFxiQ7lVLNhUaYVNvIwjC7leL+zsLW5RoTL/IQpFylaw4bgBd y+NrkpZiLPvjg9eKEJ1/0Gbei9//rBe/vEy2DLS7pEzXGU6+2SsiVtJFJFKBnNUApTBOWl xZ8Uy1so361G6xNjd+2apt5Nt85QqJ9VDtdA1JLq5NmjNCLnU02Roz+LnCf6rQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640862790; a=rsa-sha256; cv=none; b=oWVT2MsXLv41HHJ/8byknE5rZJHMGNVLHjDfJ32Bl7roCkGbiaJn6bJeB42LRolAnQN70V EblUXud0PXhlWVs7e61RdjwfnvMNEWpjm17N4DZicD2viMKgz4kFKjVF5+nDYr5ASJFrg4 +Wx34hM9ChT9J5slKfZ/A/1KbyWF8sBqZrX2cF6Bbw7REAEnxEKEQgmdWEPEQTevSWD01V H//BQ/4rvX7+E7LrRJ8DquEWOYLFYRCMED0KKMIlk8UVIzlPCo4gLiBXTpHCXBbkfu1WAv 7hV5OOzNjw8LiWg0XuO2sNyn43Iy41TcOUijjO7+7JJunbAdycDdE1FEquD9DQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=JWIDiM9J; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=JWIDiM9J; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C662712119 X-Spam-Score: -3.37 X-Migadu-Scanner: scn1.migadu.com X-TUID: TfXBvv8+ENFj * doc/guix.texi (Upgrading Guix): Give instructions on upgrading the build daemon with doas. --- doc/guix.texi | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index ebfcfee7f7..a5ae7dcbe7 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -2025,15 +2025,23 @@ guix pull @cindex upgrading the Guix daemon, on a foreign distro @cindex @command{guix pull} for the root user, on a foreign distro -On a foreign distro, you can upgrade the build daemon by running: +On a foreign distro, you can upgrade the build daemon by running the +following command if using @command{sudo}: @example sudo -i guix pull @end example @noindent -followed by (assuming your distro uses the systemd service management -tool): +Or, the following if using @command{doas}: + +@example +doas -u root guix pull +@end example + +@noindent +After upgrading the build daemon, (assuming your distro uses the systemd +service management tool): @example systemctl restart guix-daemon.service -- 2.34.1