So, I am trying to get guix-publish to bind to a yggdrasil interface...yggdrasil is an ipv6 mesh network, which is pretty interesting!
My config, or permutations thereof https://codeberg.org/vagrantc/mnt-reform-guix-config/src/branch/main/config-mnt-reform.scm#L452-L465 include: (service guix-publish-service-type (guix-publish-configuration (host "0.0.0.0") (port 8086))) Not specifying host at all never results in it working on the yggdrasil interface, no matter how many times I restart it. 0.0.0.0 does not work, which is unsurprising, because yggdrasil provides an ipv6 address, and that looks an awfully lot like an ipv4 address. The firewall definitely allows the traffic through (I added a log entry to check at some point). 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. If I reboot the system, and "herd restart guix-publish" ... it does not listen and/or bind on the yggdrasil ipv6 address, even though the hostname resolves and the ipv6 address is pingable on the network... but maybe not when the guix-publish service was initially configured? It does not check again when restarting, just assuming the address is dead or something? 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... Various services seem to document a (requirement (default '())) or some such to specify service dependencies, but I see no such docunmentation for guix-publish in the manual that looks relevent for this: https://guix.gnu.org/manual/devel/en/guix.html Maybe it is something obvious how to add it to those versed in the wily ways of guile, but despite fumbling around with this stuff for almost a decade now, I still feel like a rank beginner with guile... so a prose description of what to do is unlikely to help me all that much; I could definitely use some hand-holding here. :) live well, vagrant
signature.asc
Description: PGP signature
