From: "Ludovic Courtès" <ludo@gnu.org>
To: Lars Rustand <rustand.lars@gmail.com>
Cc: 67802@debbugs.gnu.org
Subject: bug#67802: Shepherd is not able to run simple networked programs as services
Date: Sun, 17 Dec 2023 23:02:03 +0100 [thread overview]
Message-ID: <87le9sqyhw.fsf@gnu.org> (raw)
In-Reply-To: <87ttoj1gdv.fsf@yoga.mail-host-address-is-not-set> (Lars Rustand's message of "Fri, 15 Dec 2023 19:00:45 +0100")
Hi,
Lars Rustand <rustand.lars@gmail.com> skribis:
> So, I figured this out. It had nothing to do with networking even though
> it looked like it. The problem was that I had cargo cult-copied a
> #:pid-file parameter from another service, believing that this was just
> a path were Shepherd could create a pid-file for the service, but
> Shepherd was in fact expecting the program to create the pid-file. So
> when the program did not create this pid-file then Shepherd killed the
> program.
>
> So the original bug I reported is in fact not a bug at all and can be
> closed. However, the error handling in Shepherd could be improved in
> order to make it more clear what is happening.
Good that you found the issue! I improved logging for this particular
case as a result of this report:
https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=ace4a3b2dba43b826640d5c1ca970f9040d27416
Thanks for reporting it,
Ludo’.
prev parent reply other threads:[~2023-12-17 22:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-12 17:43 bug#67802: Shepherd is not able to run simple networked programs as services Lars Rustand
2023-12-15 18:00 ` Lars Rustand
2023-12-17 22:02 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87le9sqyhw.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=67802@debbugs.gnu.org \
--cc=rustand.lars@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.