From: "Ludovic Courtès" <ludo@gnu.org>
To: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Cc: 58485@debbugs.gnu.org, Lars-Dominik Braun <lars@6xq.net>
Subject: bug#58485: [shepherd] Restarting guix-publish fails
Date: Mon, 20 Feb 2023 11:20:10 +0100 [thread overview]
Message-ID: <878rgsljtx.fsf@gnu.org> (raw)
In-Reply-To: <Y+IM4IrO4V05o3V9@zpidnb93> (Lars-Dominik Braun's message of "Tue, 7 Feb 2023 09:33:36 +0100")
Hi Lars,
Lars-Dominik Braun <ldb@leibniz-psychology.org> skribis:
>> Indeed. This is fixed by Shepherd commit
>> d97592f58603ff51cb280ae57d413c8731e601b3, which will be in the upcoming
>> 0.9.3 release.
> I’m on 0.9.3 and it works fine with `herd restart` now. But ssh-daemon
> has the same issue when being restarted by unattended-upgrades (which
> is fatal, because unable to use SSH I have to restart the entire box):
>
> ---snip---
> shepherd: Service nginx has been stopped.
> shepherd: Service nginx has been started.
> shepherd: Service collectd has been stopped.
> shepherd: Service collectd has been started.
> shepherd: Service ntpd has been stopped.
> shepherd: Service ntpd has been started.
> shepherd: Service guix-publish has been stopped.
> shepherd: Service guix-publish has been started.
> shepherd: Service ssh-daemon has been stopped.
> Backtrace:
> 7 (primitive-load "/gnu/store/ip5m1n8kb6p0rfglzpkk17k060a?")
> In ice-9/boot-9.scm:
> 724:2 6 (call-with-prompt ("prompt") #<procedure 7f89a11f3840 ?> ?)
> 1752:10 5 (with-exception-handler _ _ #:unwind? _ # _)
> In ice-9/eval.scm:
> 619:8 4 (_ #(#(#<directory (guile-user) 7f89a11ffc80>)))
> In ice-9/boot-9.scm:
> 260:13 3 (for-each #<procedure restart-service (name)> _)
> In gnu/services/herd.scm:
> 168:4 2 (invoke-action ssh-daemon restart () #<procedure 7f89a0?>)
> 176:7 1 (failure)
> In ice-9/boot-9.scm:
> 1685:16 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> ERROR:
> 1. &action-exception-error:
> service: ssh-daemon
> action: start
> key: system-error
> args: ("bind" "~A" ("Address already in use") (98)
> ---snap---
>
> Maybe I can strace herd and see what happens exactly.
Can you confirm shepherd (PID 1) is 0.9.3?
‘sudo herd restart ssh-daemon’ works fine on my laptop FWIW.
Note that the situation is different from that of ‘guix publish’: here
it’s inetd style, as opposed to systemd style for ‘guix publish’.
Thanks,
Ludo’.
next prev parent reply other threads:[~2023-02-20 10:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-13 7:51 bug#58485: [shepherd] Restarting guix-publish fails Lars-Dominik Braun
2022-10-13 9:28 ` Liliana Marie Prikler
2022-10-13 11:35 ` Lars-Dominik Braun
2022-10-13 13:38 ` Liliana Marie Prikler
2022-10-14 6:18 ` Lars-Dominik Braun
2022-10-14 6:57 ` Liliana Marie Prikler
2022-11-17 8:24 ` Ludovic Courtès
2022-11-17 10:19 ` Ludovic Courtès
2023-02-07 8:39 ` Lars-Dominik Braun
[not found] ` <Y+IM4IrO4V05o3V9@zpidnb93>
2023-02-20 10:20 ` Ludovic Courtès [this message]
2023-02-20 13:25 ` Lars-Dominik Braun
2023-04-27 21:23 ` Ludovic Courtès
2023-04-28 12:31 ` Lars-Dominik Braun
2023-04-28 13:09 ` bug#58485: [shepherd] EADDRINUSE while restarting ssh-daemon Ludovic Courtès
2023-06-11 14:20 ` Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rgsljtx.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=58485@debbugs.gnu.org \
--cc=lars@6xq.net \
--cc=ldb@leibniz-psychology.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).