From unknown Sat Aug 16 18:37:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78576: shepherd believes a process is running while it isn't Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 24 May 2025 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78576 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 78576@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.174808769128976 (code B ref -1); Sat, 24 May 2025 11:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 May 2025 11:54:51 +0000 Received: from localhost ([127.0.0.1]:58342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uInSk-0007XH-CM for submit@debbugs.gnu.org; Sat, 24 May 2025 07:54:50 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38322) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uInSe-0007W8-9p for submit@debbugs.gnu.org; Sat, 24 May 2025 07:54:45 -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 1uInSX-0007eV-RN for bug-guix@gnu.org; Sat, 24 May 2025 07:54:37 -0400 Received: from mail-4317.protonmail.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uInSU-0004CC-5i for bug-guix@gnu.org; Sat, 24 May 2025 07:54:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1748087663; x=1748346863; bh=yTjkkIBAP3cs07AiaANlNSk4ZoSi2Aks0St8LwmlTx0=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=FMkLef5kk3ZpbpLkoBI8NVzriGiMT8dRIjI5KTwtkSBXsZ9dj/TMaC3ar9BhsSrb6 Ys+VI66IB+BDKcgYzDojpJCob65aUR3rcCt33xkpkzSRvZlTVBGnnR7w4wgywhSk2m aifVN7q8JCNB/TJTkF9LMnF5EMp5rGCWgb1aYZBzo4Gz8SHCVRgT74q5k4m3X+c2IZ LIAcCeAadtN0mltuUoTmCmpK4K+Q2MlowvsWVAc5sYMxUSrJYwymflGzyWdQqRoqE9 o5Jb5P2tz4Tt4VeI1WcbXeFYN8nr6foaz6z7d3PHRGS7dapxx6tJIDLBl9fcL23nTW lx1G9o0dA4gRQ== Date: Sat, 24 May 2025 11:54:17 +0000 From: Attila Lendvai Message-ID: Feedback-ID: 28384833:user:proton X-Pm-Message-ID: b914d5840ecd502fefb191f6be56e1c1008eeea3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=attila@lendvai.name; helo=mail-4317.protonmail.ch 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) this happens on a recently pulled guix. it's been like this for a long time= , i'm just only now getting around to finally report it. in essence: # herd status | grep bee + bee-0 + bee-1 # herd restart bee-0 herd: error: exception caught while executing 'stop' on service 'bee-0': In procedure getpgid: No such process # herd restart bee-0 Service bee-0 is not running. Service user-homes has been started. Service bee-0 has been started. judging from the daemon's own log i think the process simply quits with zer= o exit code (background info: it happens after some days of running when an= external service is temporarily not responding). the default respawn-limit of the service is not changed. i don't see anything interesting/relevant in /var/log/messages IIUC shepherd should be respawning the daemon, even if it quits with zero e= xit code, right? -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CPolitical speech and writing are largely the defense of the indefe= nsible.=E2=80=9D =09=E2=80=94 George Orwell (1903=E2=80=931950), 'Politics and the English L= anguage' (1946) From unknown Sat Aug 16 18:37:33 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Attila Lendvai Subject: bug#78576: closed (Re: shepherd believes a process is running while it isn't) Message-ID: References: <87bjrirzbt.fsf@lendvai.name> X-Gnu-PR-Message: they-closed 78576 X-Gnu-PR-Package: guix Reply-To: 78576@debbugs.gnu.org Date: Sat, 24 May 2025 12:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1748088182-32073-1" This is a multi-part message in MIME format... ------------=_1748088182-32073-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #78576: shepherd believes a process is running while it isn't which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 78576@debbugs.gnu.org. --=20 78576: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78576 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1748088182-32073-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 78576-done) by debbugs.gnu.org; 24 May 2025 12:03:00 +0000 Received: from localhost ([127.0.0.1]:58435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uInae-0008L6-9J for submit@debbugs.gnu.org; Sat, 24 May 2025 08:03:00 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:46141) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uInac-0008Kl-4t for 78576-done@debbugs.gnu.org; Sat, 24 May 2025 08:02:58 -0400 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-ad53cd163d9so110765166b.0 for <78576-done@debbugs.gnu.org>; Sat, 24 May 2025 05:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748088172; x=1748692972; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=/RI9YOh4zcfiXx4HmP6HqRdZVoTVi5/UjKqcYU/qHI4=; b=GXiHDlgr4IsCn8b6GtVaKH76ukUcgAgBCIUYIxMX+qjGwe84WDi0HMoQM1S5vdkLIt mnwmiFeHAZDU60Y3lKozBB/vmvpFRHDnvCfqBhna7bevY8vkxx3hF3RFqwpnFchexWZA qjoOMh7rcxA0YZQzE3BRcLr8v5zeqbDzfQ7Cl9nxmqqLjm1a7lOsoLitZZ/rOrhNe4xp 62qsw47oLDw6SH4xtRKKMtqGb55dsq0GzF5hCgBra1QBMP7H5TAMACny5UBLyjgixqxk bQOoP7lt75qcXMiFIrvaaNtRKA2HiaAmKhHAQWjdk2r7FXwSX+c9vcndB7MUEdCsiEQc oEKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748088172; x=1748692972; h=content-transfer-encoding:mime-version:message-id:date:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/RI9YOh4zcfiXx4HmP6HqRdZVoTVi5/UjKqcYU/qHI4=; b=LycZtu1UhtJXL647CATITXbQcalRblrSUOp2t6AUN+6dV0pAoNJz3HTTRjhxs1Akfs 5ia7DEk/ikBIAm3v/CIz9lEhHXXw1XU1Cg9qncKagIQq6oa84lw69o4qJgw8rGRFLHtp 46BmITRr8D3WfuFoxyav5K7ty7/U25ie9mgYO6aW9ODs2+0z1ItQM4jE113TqKs6H3Tz I9BsT9zB0KnhYAtQDop94LjdFlUsnIHq1GO41lb1XJ69OoQAQWX67MaNt1ygV3KN3TRU gfJQs7Dd0xxd+ch0pOEcrZvQ3qIHlLLB/TaEheac02erCy4gZ2WM2yTAFRNORXsCJ1E1 lGqg== X-Gm-Message-State: AOJu0YzutkMl8rS7YEuUoOggc+/Zk+7drNjRTiaAtE/VWlr7+ZvkbOGO hhgH9ePFljGI6Dh4B3Y6n+3euu44AaAVC72TtkG1K9b1MSszvtAWXWlVbaKhXw== X-Gm-Gg: ASbGncuvKZOe0lP4qZC3rvxrj040TYVmgaSo0++2NwzkZOaDZIM5F7pnSnpsEy50QNy 2uhRWWGMX/oHn8H9D96Yr1wn4v2uxcNbUTCVm0kwnBlkAseMj/5S2eeLNhVZ1WzbS6BSoMerTP2 3XCtSG1M7gLtNR+CCgSROUJQ5OZUmPS9RvtGQf7leyJnSY4n0YYAm8EYbpb97602qVQwfthMrAv Qt37UhsFvfqIT1BlLxu3PGNz2p+31GKdm+OgKo8FffeR1HU9OXMr9axpdtR5h7frrNu6Fr8TrRQ V8CxTt3HLlxSEI+Bz4dRxjoS0KjXyr6emcPPW6eD8B6Qo0GeXlV9og0DCx/HwBajD8oAk1o= X-Google-Smtp-Source: AGHT+IGXCdk6eRVy5Jra5AGt6w5obTJL+1kEkWxSdRINnbNm+dEONKVQn558yAHnD3PyuZBDu7YcWQ== X-Received: by 2002:a17:906:478b:b0:aca:b72b:4576 with SMTP id a640c23a62f3a-ad85b1ce893mr213416866b.33.1748088171413; Sat, 24 May 2025 05:02:51 -0700 (PDT) Received: from lelap (2a00-1f40-b161-280--9a4.pool6.panelnet.hu. [2a00:1f40:b161:280::9a4]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ad52d4909e1sm1371294266b.125.2025.05.24.05.02.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 May 2025 05:02:50 -0700 (PDT) From: Attila Lendvai X-Google-Original-From: Attila Lendvai To: 78576-done@debbugs.gnu.org Subject: Re: shepherd believes a process is running while it isn't In-reply-to: Date: Sat, 24 May 2025 14:02:46 +0200 Message-ID: <87bjrirzbt.fsf@lendvai.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78576-done Cc: Attila Lendvai X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) instead reported as: https://codeberg.org/shepherd/shepherd/issues/5 <#secure method=3Dpgpmime mode=3Dsign> --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CI know that most men, including those at ease with problems of the= greatest complexity, can seldom accept even the simplest and most obvious = truth if it be such as would oblige them to admit the falsity of conclusion= s which they have delighted in explaining to colleagues, which they have pr= oudly taught to others, and which they have woven, thread by thread, into t= he fabric of their lives.=E2=80=9D =E2=80=94 Leo Tolstoy (1828=E2=80=931910) Or in short: =E2=80=9CScience advances one funeral at a time.=E2=80=9D =E2=80=94 Max Planck (1858=E2=80=931947), paraphrased ------------=_1748088182-32073-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 May 2025 11:54:51 +0000 Received: from localhost ([127.0.0.1]:58342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uInSk-0007XH-CM for submit@debbugs.gnu.org; Sat, 24 May 2025 07:54:50 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38322) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uInSe-0007W8-9p for submit@debbugs.gnu.org; Sat, 24 May 2025 07:54:45 -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 1uInSX-0007eV-RN for bug-guix@gnu.org; Sat, 24 May 2025 07:54:37 -0400 Received: from mail-4317.protonmail.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uInSU-0004CC-5i for bug-guix@gnu.org; Sat, 24 May 2025 07:54:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1748087663; x=1748346863; bh=yTjkkIBAP3cs07AiaANlNSk4ZoSi2Aks0St8LwmlTx0=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=FMkLef5kk3ZpbpLkoBI8NVzriGiMT8dRIjI5KTwtkSBXsZ9dj/TMaC3ar9BhsSrb6 Ys+VI66IB+BDKcgYzDojpJCob65aUR3rcCt33xkpkzSRvZlTVBGnnR7w4wgywhSk2m aifVN7q8JCNB/TJTkF9LMnF5EMp5rGCWgb1aYZBzo4Gz8SHCVRgT74q5k4m3X+c2IZ LIAcCeAadtN0mltuUoTmCmpK4K+Q2MlowvsWVAc5sYMxUSrJYwymflGzyWdQqRoqE9 o5Jb5P2tz4Tt4VeI1WcbXeFYN8nr6foaz6z7d3PHRGS7dapxx6tJIDLBl9fcL23nTW lx1G9o0dA4gRQ== Date: Sat, 24 May 2025 11:54:17 +0000 To: "bug-guix@gnu.org" From: Attila Lendvai Subject: shepherd believes a process is running while it isn't Message-ID: Feedback-ID: 28384833:user:proton X-Pm-Message-ID: b914d5840ecd502fefb191f6be56e1c1008eeea3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=attila@lendvai.name; helo=mail-4317.protonmail.ch 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) this happens on a recently pulled guix. it's been like this for a long time= , i'm just only now getting around to finally report it. in essence: # herd status | grep bee + bee-0 + bee-1 # herd restart bee-0 herd: error: exception caught while executing 'stop' on service 'bee-0': In procedure getpgid: No such process # herd restart bee-0 Service bee-0 is not running. Service user-homes has been started. Service bee-0 has been started. judging from the daemon's own log i think the process simply quits with zer= o exit code (background info: it happens after some days of running when an= external service is temporarily not responding). the default respawn-limit of the service is not changed. i don't see anything interesting/relevant in /var/log/messages IIUC shepherd should be respawning the daemon, even if it quits with zero e= xit code, right? -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CPolitical speech and writing are largely the defense of the indefe= nsible.=E2=80=9D =09=E2=80=94 George Orwell (1903=E2=80=931950), 'Politics and the English L= anguage' (1946) ------------=_1748088182-32073-1--