From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mNCAJZxJ82OvfQEAbAwnHQ (envelope-from ) for ; Mon, 20 Feb 2023 11:21:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6DmQJZxJ82NszgAA9RJhRA (envelope-from ) for ; Mon, 20 Feb 2023 11:21:16 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 55E7C3C911 for ; Mon, 20 Feb 2023 11:21:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pU3IB-00060c-7C; Mon, 20 Feb 2023 05:21:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU3I8-00060I-7q for bug-guix@gnu.org; Mon, 20 Feb 2023 05:21:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pU3I6-0003Pp-Ub for bug-guix@gnu.org; Mon, 20 Feb 2023 05:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pU3I6-0003Lo-9Y for bug-guix@gnu.org; Mon, 20 Feb 2023 05:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#58485: [shepherd] Restarting guix-publish fails Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 20 Feb 2023 10:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58485 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Lars-Dominik Braun Cc: 58485@debbugs.gnu.org, Lars-Dominik Braun Received: via spool by 58485-submit@debbugs.gnu.org id=B58485.167688842312812 (code B ref 58485); Mon, 20 Feb 2023 10:21:02 +0000 Received: (at 58485) by debbugs.gnu.org; 20 Feb 2023 10:20:23 +0000 Received: from localhost ([127.0.0.1]:50555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU3HT-0003Ka-Dj for submit@debbugs.gnu.org; Mon, 20 Feb 2023 05:20:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU3HQ-0003KK-OZ for 58485@debbugs.gnu.org; Mon, 20 Feb 2023 05:20:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU3HK-00038p-RW; Mon, 20 Feb 2023 05:20:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=kswpdm3XlNViPj4htTRUj8cjFu4ThwGUfXo0ta15qBQ=; b=fZqaKTFkom36UsgJB4B2 sk49zmQ+CE+wMxeWl/T5evjDfDJntYGeQwv30177JdD23M6LehhsOGlcYglHnfqlg435/FaaZdNI4 8SLDHocIJwBId5N4a+VbRCe3pKxyGvyfcxgY+PbqowK/9qVZuOXnx4dpPCJ12EqppMNRkJ1wVVfAF nOYAoijK2SBT/ue8TiT3WC3cx3xM5jjAtt42cEzQmk9hrdVaB7gXSu87oC16eDIuM2zzylt9hGEzi VoN0k6z+CGmHdhhxhrurzsSJXZSDi14Ogw0k7ccd2IjYaiwSyKCEl1oEUIqfBfU172riLg6dWBKY5 +PlTqLwaDfUung==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU3HJ-00064U-JA; Mon, 20 Feb 2023 05:20:14 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <875yfekmze.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 2 =?UTF-8?Q?Vent=C3=B4se?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Cornouiller X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 20 Feb 2023 11:20:10 +0100 In-Reply-To: (Lars-Dominik Braun's message of "Tue, 7 Feb 2023 09:33:36 +0100") Message-ID: <878rgsljtx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676888476; a=rsa-sha256; cv=none; b=Yt0a/weZoW+MV9x5CuZO/iHg7xdI21dy+6inJ0uiGoopW809wTxGWsdVSqDOVqfsHDD8DC vm8/1SIbO+6819KFLiJMn+vayvytI7tvcvImVxelevT0Y1G5kl83j4g+wl4ZRQPG0xosux 3QAZ/Optpz9LbDudCCHsXqDllve9ZN+7a5GfZcX5NezP3aT1idYi5GkhTZrJYD7m/LHBJF 98flAvR3edi1Kdsl8fFpv6ciWgjfWNTmPk6sPaZcVBRnr4V33ZUlNQyq+Kn1kaydHyduCo ie6k2KxloFZtNm0yae06sUMGQZYD5rv46XBTQ03DoqSBcRcWcuJn9CJaWKFqSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fZqaKTFk; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676888476; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kswpdm3XlNViPj4htTRUj8cjFu4ThwGUfXo0ta15qBQ=; b=RiQD3mOpU+FvUd6tTrM0RNwOYTpfzlNWJaWPiudSy/DPin9F7CRzsSQjSdjkdZF8UIhOtK 650yhYnekbk86APpnNNZjlkKgE0ntYs3x6MflLODwb6mSS40sYv68Pz4A6r+JU/Xi9cOBF exvS0jpNJ/dTal5ezRX3xaxxTSnmnaTbAEHfSt0r8bmJxYHtAX2wysf3aoBLyIhrCIntUD iUvwu2rgmK/QDp9bAY399lNNHJyQ7i56sUyZKqwN+4WdusS+/ERMX0Gpnotz0bXpDoqUkf H/oNySpBjykWhmjbRvg2fGJH/rLvuiUFatbDstq7tVN41cSkzh+cSb6DPCdlyA== X-Migadu-Queue-Id: 55E7C3C911 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fZqaKTFk; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.05 X-Spam-Score: -4.05 X-TUID: fmSQ9gMIVPwA Hi Lars, Lars-Dominik Braun skribis: >> Indeed. This is fixed by Shepherd commit >> d97592f58603ff51cb280ae57d413c8731e601b3, which will be in the upcoming >> 0.9.3 release. > I=E2=80=99m on 0.9.3 and it works fine with `herd restart` now. But ssh-d= aemon > 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") # ?) > 1752:10 5 (with-exception-handler _ _ #:unwind? _ # _) > In ice-9/eval.scm: > 619:8 4 (_ #(#(#))) > In ice-9/boot-9.scm: > 260:13 3 (for-each # _) > In gnu/services/herd.scm: > 168:4 2 (invoke-action ssh-daemon restart () #) > 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? =E2=80=98sudo herd restart ssh-daemon=E2=80=99 works fine on my laptop FWIW. Note that the situation is different from that of =E2=80=98guix publish=E2= =80=99: here it=E2=80=99s inetd style, as opposed to systemd style for =E2=80=98guix pub= lish=E2=80=99. Thanks, Ludo=E2=80=99.