GNU bug report logs - #52897
[PATCH] doc: Add instructions on upgrading the build daemon with doas.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Thu, 30 Dec 2021 11:13:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#52897: closed ([PATCH] doc: Add instructions on upgrading the
 build daemon with doas.)
Date: Thu, 07 Jul 2022 18:28:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 07 Jul 2022 14:27:47 -0400
with message-id <874jzszskc.fsf_-_ <at> gmail.com>
and subject line Re: bug#52897: [PATCH] doc: Add instructions on upgrading the build daemon with doas.
has caused the debbugs.gnu.org bug report #52897,
regarding [PATCH] doc: Add instructions on upgrading the build daemon with doas.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
52897: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52897
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] doc: Add instructions on upgrading the build daemon with doas.
Date: Thu, 30 Dec 2021 06:11:56 -0500
* 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



[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: Morgan Smith <Morgan.J.Smith <at> outlook.com>, 52897-done <at> debbugs.gnu.org,
 jgart <jgart <at> dismail.de>
Subject: Re: bug#52897: [PATCH] doc: Add instructions on upgrading the build
 daemon with doas.
Date: Thu, 07 Jul 2022 14:27:47 -0400
Hello,

zimoun <zimon.toutoune <at> gmail.com> writes:

> Hi,
>
> On Fri, 31 Dec 2021 at 23:49, Morgan Smith <Morgan.J.Smith <at> outlook.com> wrote:
>
>> I've explicitly removed sudo from my machine as supposedly sudo is a
>> large complex codebase that likely has bugs (although that's probably
>> just openBSD propaganda).
>
> Guix documentation uniquely relies on ’sudo’.  And for instance, I was
> not aware of such propaganda. :-)
>
> Well, I do not have an opinion, but AFAIK, Guix does not work on the top
> of OpenBSD (yet! who knows if someone will not port a BSD kernel with a
> GNU userland as Debian did some time ago [1] ;-))
>
> For me, it is a niche and for consistency, all the commands using ’sudo’
> should also provide the ’doas’ way.  And I am not convinced the burden
> is worth.  Well, I do not have an opinion.

I'm also not convinced it brings much, especially since Guix can't be
used where 'doas' is likely to be encountered (BSDs).

Closing.

Thanks for the discussion!

Maxim


This bug report was last modified 2 years and 319 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.