From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4phOHu+J02ROKQEASxT56A (envelope-from ) for ; Wed, 09 Aug 2023 14:43:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OOEeHe+J02TZCwEAauVa8A (envelope-from ) for ; Wed, 09 Aug 2023 14:43:27 +0200 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 CE26E44E1B for ; Wed, 9 Aug 2023 14:43:26 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=HiM+ezW1; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691585007; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xjkj0LBTnhaoAcnYW/uDppXNVhEBfRfQ4/CGDMD8njw=; b=aBaOElGVLq+doIpGv5D0LRrfGwHft45aph/EUye3tqefQZ0HHEer5WaPD6FJ1XMamnGPnB OMEeu4N2LUTUR3PNui633hf1uRCAJsQ6ZBkke2FtSm2o+pceJlvAgaMiWDtfNZvoRe28mW udIeCKrvz8rTr1RJFRzLLuiY4JTV+oM5NjbHC1qDoFzCLPS3FAH1fE+UgJ46OV7Q6gXBBn y3+w2u+Dpb3RAgebc3V+pyC1xvKsLhKb6LSSnO3DO4q5zJVaun8vqcuStUBMk1/mJDfhMI U9gh6sgRsSMUDM2FxjaofE1TmjGxLk5Ku5Sob5KG30oKOdW/7Bq98LhnDY4dZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=HiM+ezW1; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691585007; a=rsa-sha256; cv=none; b=Vl05ekGL54exB/NSrWr3zQjrvVvzeHEPRL2ri4XjKib/wkQSn9STlehL7H7uCnxC27kw/+ jLlzidUYR7tBmsRde3mQEdtgoU7mSee9TIgeuIqTdSIGCv4Y/FEhc1KVMwM+AwYWMX0PLK hRzVJJiBXsJyJNhURiem8s/iLxajrD40VjWVpkS9kEmhCy4D3vx+wDny/twH7fBBUSY5oB ySi+YxG1oTdSl0Nvar61ap1e2boMCjDS5oDwmvkM7O0LnG9Ge1qvmxBQ0mz09tzOKZCetI dVkC8MUV5bU6HT9eNLaGUXlAbdcB9JMusBdlmnL+pmkl8KvXANozkXF02iH/iQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTiWs-00008S-SH; Wed, 09 Aug 2023 08:43:10 -0400 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 1qTiWq-00006N-Ix for bug-guix@gnu.org; Wed, 09 Aug 2023 08:43:08 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTiWq-0004Yz-A5 for bug-guix@gnu.org; Wed, 09 Aug 2023 08:43:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTiWk-0006FF-Kj; Wed, 09 Aug 2023 08:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65178: Shepherd hangs (was: Getting Guix to shutdown my laptop properly with Sway and no DE) Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: danclm@tutanota.com, contact@robbyzambito.me, skyvine@protonmail.com, ignas@lapenas.dev, etienne.roesch@gmail.com, chris@catsu.it, bug-guix@gnu.org Resent-Date: Wed, 09 Aug 2023 12:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65178 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65178@debbugs.gnu.org Cc: danclm , Robby Zambito , Skyler Ferris , Ignas =?UTF-8?Q?Lap=C4=97nas?= , Etienne B. Roesch , Chris Keschnat X-Debbugs-Original-To: bug-guix@gnu.org X-Debbugs-Original-Xcc: danclm , Robby Zambito , Skyler Ferris , Ignas =?UTF-8?Q?Lap=C4=97nas?= , Etienne B. Roesch , Chris Keschnat Received: via spool by submit@debbugs.gnu.org id=B.169158493923949 (code B ref -1); Wed, 09 Aug 2023 12:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2023 12:42:19 +0000 Received: from localhost ([127.0.0.1]:38475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTiW3-0006ED-0e for submit@debbugs.gnu.org; Wed, 09 Aug 2023 08:42:19 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTiW1-0006Dx-FZ for submit@debbugs.gnu.org; Wed, 09 Aug 2023 08:42:18 -0400 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 1qTiVv-000877-0I for bug-guix@gnu.org; Wed, 09 Aug 2023 08:42:11 -0400 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTiVt-0004Jd-8a for bug-guix@gnu.org; Wed, 09 Aug 2023 08:42:10 -0400 Date: Wed, 09 Aug 2023 20:41:44 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691584924; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=xjkj0LBTnhaoAcnYW/uDppXNVhEBfRfQ4/CGDMD8njw=; b=HiM+ezW1/nmb5Oro7Ta+qQws/zjT2A3qwpOUwOF3GVHYa4AuiF6yqzuGYYSCPBUmus2k/P oczr6IyJVsfjL5xgBLNXRB29+PImPnPFc2z/BELdFIsaoyy9Ao03A85AZYDKOSL7fwuRSJ ApM9KReC/dfQ2dokQlX4ErkBokpLR8oaB/YfDrc/pIlwnwCgztQqfsHvMx+nSmEaLXtpXv fg2JzHGQd3zoqzm2v7Vd3PQoL7NZZF8u5MmPzf4Tosbe08McMDR144S0nS5L4Qbp1tp74c gbS0N88HOAwuQrzsQo6G5dVsLsHScV+UUmRMtheNZ0+3kK++2Dj5YPfLZx9h9w== Message-ID: <87bkfg1j7b.wl-hako@ultrarare.space> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Hilton Chain From: Hilton Chain via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: CE26E44E1B X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -5.15 X-Migadu-Spam-Score: -5.15 X-TUID: XyPbG9zljeC6 Hello! I have experienced many instances of Shepherd hanging through my use of Guix, though I don't have a clear record of when it first happened. These days I have seen a few reports on the subject. With a quick search of recent bug reports, I can't find any related, only to find this thread [1] on help-guix. So I'll start a bug report here, but I don't know how to debug Shepherd and I haven't found a way to reproduce it stably. I'm not sure if Shepherd hangs at usual, but most of the time I find it already hanging is when doing a reconfiguration. The reconfiguration becomes unresponsive and it won't accept a ^C, herd actions also hang. This usually happens with home reconfiguration, but I can remember once with system reconfiguration when adding and deleting some services in the configuration file. I'm not sure how Shepherd hangs either, because in the latter case (system one) I can still see logs indicating that it's trying to respawn a process I killed manually, even though that's just a output and no processes are actually spawned. And as shown in [1], there are also cases where Shepherd hangs at some point in the halting process, usually after syslogd has been terminated but before term-tty*. (The termination message indicates that Shepherd is still functional, and no logs after that point shows that that's a real action, but because of this I can't know anything happened further either. After that I'm still able to switch ttys so I assume term-tty* are alive.) Although I don't know how they are related, I have linked my configurations below: Thanks [1]: (public-inbox mirror on yhetil.org)