unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] doc: Mention in two places that guix-daemon needs to be restarted for keychanges to take effect.
@ 2015-12-29 11:36 swedebugia
  2015-12-29 23:36 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: swedebugia @ 2015-12-29 11:36 UTC (permalink / raw)
  To: guix-devel

I discovered this was crucial to getting the substitutes to work 
properly on GuixSD

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: Mention in two places that guix-daemon needs to be restarted for keychanges to take effect.
  2015-12-29 11:36 [PATCH] doc: Mention in two places that guix-daemon needs to be restarted for keychanges to take effect swedebugia
@ 2015-12-29 23:36 ` Ludovic Courtès
  2016-01-01 12:38   ` swedebugia
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2015-12-29 23:36 UTC (permalink / raw)
  To: swedebugia; +Cc: guix-devel

Looks like you forgot the patch.  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: Mention in two places that guix-daemon needs to be restarted for keychanges to take effect.
  2015-12-29 23:36 ` Ludovic Courtès
@ 2016-01-01 12:38   ` swedebugia
  2016-01-01 18:24     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: swedebugia @ 2016-01-01 12:38 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 100 bytes --]

On 2015-12-30 00:36, ludo@gnu.org wrote:
> Looks like you forgot the patch.  :-)
:) Here it comes...

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-doc-Mention-in-two-places-that-guix-daemon-needs-to-.patch --]
[-- Type: text/x-diff; name=0001-doc-Mention-in-two-places-that-guix-daemon-needs-to-.patch, Size: 1284 bytes --]

From bf44ecf9cbd02a838806ea3fde07a9377bef765e Mon Sep 17 00:00:00 2001
From: swedebugia <swedebugia@riseup.net>
Date: Tue, 29 Dec 2015 11:29:14 +0100
Subject: [PATCH] doc: Mention in two places that guix-daemon needs to be
 restarted for keychanges to take effect.

---
 doc/guix.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 7665ec9..c27beee 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -389,6 +389,8 @@ authorize them:
 @example
 # guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub
 @end example
+
+Note: After adding or removing the keys with the above command you must restart @command{guix-daemon} manually or reboot for the changes to take effect.
 @end enumerate
 
 And that's it!  For additional tips and tricks, @pxref{Application
@@ -828,7 +830,7 @@ source URLs.  When this option is omitted, @indicateurl{http://hydra.gnu.org}
 is used.
 
 This means that substitutes may be downloaded from @var{urls}, as long
-as they are signed by a trusted signature (@pxref{Substitutes}).
+as they are signed by a trusted signature (@pxref{Substitutes}) (note that @command{daemon} must be restarted for keychanges to take effect).
 
 @cindex build hook
 @item --no-build-hook
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: Mention in two places that guix-daemon needs to be restarted for keychanges to take effect.
  2016-01-01 12:38   ` swedebugia
@ 2016-01-01 18:24     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-01-01 18:24 UTC (permalink / raw)
  To: swedebugia; +Cc: guix-devel

swedebugia@riseup.net skribis:

> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -389,6 +389,8 @@ authorize them:
>  @example
>  # guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub
>  @end example
> +
> +Note: After adding or removing the keys with the above command you must restart @command{guix-daemon} manually or reboot for the changes to take effect.

I don’t think this is the case: the ‘guix substitute’ program, which is
what the daemon invokes, reloads the ACL every time it is started (so
every time a command needs to know about the available substitutes.)

Did you experience something different?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-01 18:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-29 11:36 [PATCH] doc: Mention in two places that guix-daemon needs to be restarted for keychanges to take effect swedebugia
2015-12-29 23:36 ` Ludovic Courtès
2016-01-01 12:38   ` swedebugia
2016-01-01 18:24     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).