GNU bug report logs -
#70243
The substitute authorization warning is displayed when it shouldn't be
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi,
On Sat, 25 May 2024 at 11:31, Ludovic Courtès <ludo <at> gnu.org> wrote:
>> But, I do have the given key in my '/etc/guix/acl', and this works:
>
> Are /etc/guix/acl and /etc/guix world-readable?
I had been bitten by this recently. And I have not found any mention
about that in the manual. Maybe it could helpful to add:
[p.patch (text/x-diff, inline)]
diff --git a/doc/guix.texi b/doc/guix.texi
index 5e1173b8c6..3b97674733 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3792,7 +3792,8 @@ Getting Substitutes from Other Servers
@end example
Again this assumes @file{key.pub} contains the public key that
-@code{guix.example.org} uses to sign substitutes.
+@code{guix.example.org} uses to sign substitutes. Make sure
+@file{/etc/guix/acl} is world-readable.
@end enumerate
Now you're all set! Substitutes will be preferably taken from
[Message part 3 (text/plain, inline)]
In addition, I had to be read a comment in source code to know what
another issue was: the daemon’s too old. Hence, I would suggest:
[pp.patch (text/x-diff, inline)]
diff --git a/guix/scripts/weather.scm b/guix/scripts/weather.scm
index 08a1b22a74..98a09f9e9a 100644
--- a/guix/scripts/weather.scm
+++ b/guix/scripts/weather.scm
@@ -643,7 +643,7 @@ (define-command (guix-weather . args)
;; substitute URLs, presumably because it's too
;; old.
(warning (G_ "using default \
-substitute URLs~%"))
+substitute URLs; maybe the daemon's too old~%"))
%default-substitute-urls)))
(systems (match (filter-map (match-lambda
(('system . system) system)
[Message part 5 (text/plain, inline)]
Both would ease the debugging session of substitute authorization, IMHO.
Cheers,
simon
This bug report was last modified 1 year and 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.