GNU bug report logs -
#54723
'guix publish' without '--cache' can send garbled narinfo responses
Previous Next
Full log
Message #8 received at 54723 <at> debbugs.gnu.org (full text, mbox):
Hi,
Guillaume Le Vaillant <glv <at> posteo.net> skribis:
> When trying to upgrade a machine using a substitute server on the same
> LAN, I get this crash a lot:
>
> # guix system reconfigure --substitute-urls="http://192.168.0.22:8080 https://ci.guix.gnu.org" /etc/guix/config.scm
> substitute: mise à jour des substituts depuis « http://192.168.0.22:8080 »... 100.0 %
[...]
> It looks like the 'narinfo-uri' field is an empty list instead of a list
> of URIs. Is that supposed to be possible?
I don’t think so. Could you grab a narinfo and share it?
wget -qO - http://192.168.0.22:8080/HASH.narinfo
where HASH is the hash part of a store item.
What could happen though is a situation where ‘guix publish’ only offers
a compression method not supported by the client. In that case,
‘narinfo-best-uri’ throws a match-error because ‘choices’ is the empty
list. We should fix that.
> Does the the attached patch adding a check for the validity of
> this field in the 'valid-narinfo?' function make sense?
Maybe, but I’d like to make sure we understand the issue.
Thanks,
Ludo’.
This bug report was last modified 3 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.