Hi Ricardo,

On Wed, Aug 14 2024, Ricardo Wurmus wrote:

> Do the logs say anything of interest?

Thank you for that pointer!  I looked at guix-publish.log, which is most
convenient, and found the text below this message.

> Does a restart "fix" it?

I did not try restarting guix-publish but restarted avahi-daemon
instead.  Then 'guix-publish' works as advertised.

The avahi-daemon log (further below) shows some unusual messages like

    2024-08-05 08:12:08 Daemon already running on PID 600

that suggest maybe avahi-daemon is now being started automatically, but
trying to reconfigure without

    (service avahi-service-type) ;for guix publish

yields only

    guix deploy: error: failed to deploy lechner-laptop:
      service 'guix-daemon' requires 'avahi-daemon',
        which is not provided by any service

I also saw

    WARNING: No NSS support for mDNS detected, consider installing
    nss-mdns!

even though I removed 'nss-mdns' from my system profile, for what I
believed was a good reason, some time ago.

Any pointers are welcome.

Kind regards
Felix

* * *

2024-08-12 13:40:03 guix publish: publishing (started via socket activation)
2024-08-12 13:40:03 guix publish: using 'gzip' compression method, level 3
2024-08-12 13:40:03 guix publish: using 'zstd' compression method, level 3
2024-08-12 13:40:03 guix publish: Advertising guix-publish-wallace-server
2024-08-12 13:40:03 .
2024-08-12 13:40:03 In guix/avahi.scm:
2024-08-12 13:40:03     82:20  2 (_)
2024-08-12 13:40:03 In unknown file:
2024-08-12 13:40:03            1 (make-client #<poll 7ff6b7560fc0> 
(#<avahi-client-fla…>) …)
2024-08-12 13:40:03 In ice-9/boot-9.scm:
2024-08-12 13:40:03   1685:16  0 (raise-exception _ #:continuable? _)
2024-08-12 13:40:03 ice-9/boot-9.scm:1685:16: In procedure raise-exception:
2024-08-12 13:40:03 Throw to key `avahi-error' with args `(#<avahi-error-enum 
Daemon not running> make-client)'.

* * *

2024-08-05 08:12:08 Daemon already running on PID 600
2024-08-05 08:12:09 Daemon already running on PID 600
2024-08-05 08:12:09 Daemon already running on PID 600
2024-08-05 08:12:09 Daemon already running on PID 600
2024-08-05 08:12:09 Daemon already running on PID 600
2024-08-05 08:12:09 Daemon already running on PID 600
2024-08-05 08:12:09 Daemon already running on PID 600
2024-08-05 08:22:06 Process 600 died: No such process; trying to remove PID 
file. (/run/avahi-daemon//pid)
2024-08-05 08:22:06 Found user 'avahi' (UID 984) and group 'avahi' (GID 979).
2024-08-05 08:22:06 Successfully dropped root privileges.
2024-08-05 08:22:06 avahi-daemon 0.8 starting up.
2024-08-05 08:22:06 WARNING: No NSS support for mDNS detected, consider 
installing nss-mdns!
2024-08-05 08:22:06 Successfully called chroot().
2024-08-05 08:22:06 Successfully dropped remaining capabilities.
2024-08-05 08:22:06 Loading service file /services/sftp-ssh.service.
2024-08-05 08:22:06 Loading service file /services/ssh.service.
2024-08-05 08:22:06 Joining mDNS multicast group on interface 
enxb8ca3a875f15.IPv6 with address fe80::8fc7:bab2:974b:4c9e.
2024-08-05 08:22:06 New relevant interface enxb8ca3a875f15.IPv6 for mDNS.
2024-08-05 08:22:06 Joining mDNS multicast group on interface 
enxb8ca3a875f15.IPv4 with address 10.59.59.245.
2024-08-05 08:22:06 New relevant interface enxb8ca3a875f15.IPv4 for mDNS.
2024-08-05 08:22:06 Joining mDNS multicast group on interface lo.IPv6 with 
address ::1.
2024-08-05 08:22:06 New relevant interface lo.IPv6 for mDNS.
2024-08-05 08:22:06 Joining mDNS multicast group on interface lo.IPv4 with 
address 127.0.0.1.
2024-08-05 08:22:06 New relevant interface lo.IPv4 for mDNS.
2024-08-05 08:22:06 Network interface enumeration completed.
2024-08-05 08:22:06 Registering new address record for 
fe80::8fc7:bab2:974b:4c9e on enxb8ca3a875f15.*.
2024-08-05 08:22:06 Registering new address record for 10.59.59.245 on 
enxb8ca3a875f15.IPv4.
2024-08-05 08:22:06 Registering new address record for ::1 on lo.*.
2024-08-05 08:22:06 Registering new address record for 127.0.0.1 on lo.IPv4.
2024-08-05 08:22:06 Server startup complete. Host name is 
lechner-desktop.local. Local service cookie is 2418148842.
2024-08-05 08:22:06 Service "lechner-desktop" (/services/ssh.service) 
successfully established.
2024-08-05 08:22:06 Service "lechner-desktop" (/services/sftp-ssh.service) 
successfully established.
2024-08-05 08:22:07 Leaving mDNS multicast group on interface 
enxb8ca3a875f15.IPv6 with address fe80::8fc7:bab2:974b:4c9e.
2024-08-05 08:22:07 Joining mDNS multicast group on interface 
enxb8ca3a875f15.IPv6 with address fd8d:f6a5:5f27:0:1397:ad31:ea94:3846.
2024-08-05 08:22:07 Registering new address record for 
fd8d:f6a5:5f27:0:1397:ad31:ea94:3846 on enxb8ca3a875f15.*.
2024-08-05 08:22:07 Withdrawing address record for fe80::8fc7:bab2:974b:4c9e on 
enxb8ca3a875f15.
2024-08-05 08:22:07 Registering new address record for fd8d:f6a5:5f27::d35 on 
enxb8ca3a875f15.*.

Reply via email to