unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Troublshooting guix-publish make-systemd-constructor
@ 2024-02-01 22:58 Jack Hill
  2024-02-01 23:21 ` Felix Lechner via
  0 siblings, 1 reply; 3+ messages in thread
From: Jack Hill @ 2024-02-01 22:58 UTC (permalink / raw)
  To: help-guix

Hi Guix,

I have the following in my operating system services:

(service guix-publish-service-type
          (guix-publish-configuration
           (port 9090)
           (host "localhost")))


However, trying to connect to port 9090 from localhost hangs.

`ss -tunlp | grep 9090` shows shepherd listening however:

tcp   LISTEN 0      128                          127.0.0.1:9090       0.0.0.0:*    users:(("shepherd",pid=1,fd=23))

I could use some tips on what's wrong with guix-publish, and more 
generally how to troubleshoot systemd services.

Thanks!
Jack


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Troublshooting guix-publish make-systemd-constructor
  2024-02-01 22:58 Troublshooting guix-publish make-systemd-constructor Jack Hill
@ 2024-02-01 23:21 ` Felix Lechner via
  2024-02-02 16:25   ` Jack Hill
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Lechner via @ 2024-02-01 23:21 UTC (permalink / raw)
  To: Jack Hill, help-guix

Hi Jack,

On Thu, Feb 01 2024, Jack Hill wrote:

> I could use some tips on what's wrong with guix-publish, and more 
> generally how to troubleshoot systemd services.

I use this [1] and also have (service avahi-service-type) [2] but do not
know how to troubleshoot. It just worked.

Kind regards
Felix

[1] https://codeberg.org/lechner/system-config/src/commit/a6962d1414d11040072f0e79ffde354fa523137a/service/guix-publish.scm#L4-L8
[2] https://codeberg.org/lechner/system-config/src/commit/a6962d1414d11040072f0e79ffde354fa523137a/host/lechner-desktop/operating-system.scm#L191


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Troublshooting guix-publish make-systemd-constructor
  2024-02-01 23:21 ` Felix Lechner via
@ 2024-02-02 16:25   ` Jack Hill
  0 siblings, 0 replies; 3+ messages in thread
From: Jack Hill @ 2024-02-02 16:25 UTC (permalink / raw)
  To: Felix Lechner; +Cc: help-guix

On Thu, 1 Feb 2024, Felix Lechner wrote:

> Hi Jack,
>
> On Thu, Feb 01 2024, Jack Hill wrote:
>
>> I could use some tips on what's wrong with guix-publish, and more
>> generally how to troubleshoot systemd services.
>
> I use this [1] and also have (service avahi-service-type) [2] but do not
> know how to troubleshoot. It just worked.

Thanks! I found the problem, and it didn't have anything to do with the 
service. I did have an older system generation where it worked, and I 
determined that the difference was switching iptables v. nftables for a 
firewall, and an oversight in the iptables config that was dropping 
packets on the loopback interface. Oops! It is nice that Guix makes it 
easy to switch back and forth like that. Thanks again for your reply.

Best,
Jack


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-02 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 22:58 Troublshooting guix-publish make-systemd-constructor Jack Hill
2024-02-01 23:21 ` Felix Lechner via
2024-02-02 16:25   ` Jack Hill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).