Hello,

Vagrant Cascadian <[email protected]> skribis:

>   (service guix-publish-service-type
>     (guix-publish-configuration
>       (host "0.0.0.0")
>       (port 8086)))

This listens on IPv4 only, any interface.

To listen on IPv6 only, any interface, you need (host "::").

Note that ‘guix-publish’ is defined as a systemd-style service, so it’s
actually PID 1 setting up those sockets.

> If I use a hostname that resolves to the ipv6 address ... it works,
> under very specific conditions... after reconfiguring the system, and
> then "herd restart guix-publish" (or sometimes only "herd stop
> guix-publish && herd start guix-publish" !!!). Similar story for just
> specifying the ipv6 address. But after rebooting it no longer listens on
> the yggdrasil ipv6 address, and only works by reconfiguring the system
> *and* restarting guix-publish... every. single. boot.

Weird!

[...]

> I have not yet figured out how to make sure guix-publish only starts
> after the yggdrasil service starts (and/or name resolution is
> available?), but in theory that *might* resolve the issue...

Turns out ‘guix-publish-shepherd-service’ calls ‘getaddrinfo’ from the
top level, before any service is started!  This is not great but there’s
no good solution for that (the idea was that ‘host’ would rather contain
an IPv4 or IPv6 address).

But in the end, what exactly does yggdrasil expect?

Thanks,
Ludo’.

Reply via email to