GNU bug report logs - #41123
shepherd exits for no good reason

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Thu, 7 May 2020 10:34:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 41123 <at> debbugs.gnu.org:


Received: (at 41123) by debbugs.gnu.org; 10 May 2020 10:38:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 10 06:38:43 2020
Received: from localhost ([127.0.0.1]:49099 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jXjM2-0006Nh-VK
	for submit <at> debbugs.gnu.org; Sun, 10 May 2020 06:38:43 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48430)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jXjM1-0006NT-IJ
 for 41123 <at> debbugs.gnu.org; Sun, 10 May 2020 06:38:41 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40882)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1jXjLw-0000mS-3R; Sun, 10 May 2020 06:38:36 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42910 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1jXjLg-0001Ve-8C; Sun, 10 May 2020 06:38:34 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mathieu Othacehe <m.othacehe@HIDDEN>
Subject: Re: bug#41123: shepherd exits for no good reason
References: <87bln0doh2.fsf@HIDDEN> <87imh7elch.fsf@HIDDEN>
Date: Sun, 10 May 2020 12:38:18 +0200
In-Reply-To: <87imh7elch.fsf@HIDDEN> (Mathieu Othacehe's message of "Thu,
 07 May 2020 18:55:10 +0200")
Message-ID: <87lfm09isl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 41123
Cc: 41123 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Mathieu Othacehe <m.othacehe@HIDDEN> skribis:

>> May  7 09:36:52 localhost shepherd[1]: Exiting shepherd...=20
>> May  7 09:36:52 localhost shepherd[1]: Service xorg-server has been stop=
ped.=20
>> May  7 09:36:52 localhost shepherd[1]: Service console-font-tty2 has bee=
n stopped.=20
>> May  7 09:36:52 localhost shepherd[1]: Service term-tty2 has been stoppe=
d.=20
>> May  7 09:36:52 localhost shepherd[1]: Service upower-daemon has been st=
opped.=20
>> May  7 09:36:52 localhost shepherd[1]: Service elogind has been stopped.=
=20
>> May  7 09:36:52 localhost ntpd[482]: ntpd exiting on signal 15 (Terminat=
ed)
>> May  7 09:36:52 localhost syslogd: exiting on signal 15
>>
>> The end result was a kernel panic with exitcode=3D0x100 (meaning exited
>> with 1).
>>
>> It looks as though one had run =E2=80=98herd stop root=E2=80=99.
>
> It could be related to this bug[1]. The problem is that on 0.8.0 a
> process restart can cause a root-service stop.
>
> On your log, I can't see a process being restarted, so it might also be
> unrelated.

It looks very much the same though: it=E2=80=99s stopping itself, which most
likely happens as a result of killing itself.  I=E2=80=99ve merged them, we=
=E2=80=99ll
see!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#41123; Package guix. Full text available.

Message received at 41123 <at> debbugs.gnu.org:


Received: (at 41123) by debbugs.gnu.org; 7 May 2020 16:55:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 07 12:55:20 2020
Received: from localhost ([127.0.0.1]:43816 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jWjns-0005E5-Eq
	for submit <at> debbugs.gnu.org; Thu, 07 May 2020 12:55:20 -0400
Received: from mail-wr1-f67.google.com ([209.85.221.67]:34074)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <m.othacehe@HIDDEN>) id 1jWjnq-0005Dm-K9
 for 41123 <at> debbugs.gnu.org; Thu, 07 May 2020 12:55:19 -0400
Received: by mail-wr1-f67.google.com with SMTP id y3so7276470wrt.1
 for <41123 <at> debbugs.gnu.org>; Thu, 07 May 2020 09:55:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=zUh2t9FhZFXsrUuieJggpsGUMlv5uoZP7yoaWFIQKRs=;
 b=G2ykVezgV2Y5sfpmR85wli+5y8Pkkl2lvrB5kBcpXO08MEORX/4Iv2cBRPi8nHCGnq
 TxKItqSLQzs8b+MaK/0fenq+zyyrAN/8RREnKHtH1i4s6Kya8xQewmWSEauGJ2e5i7pl
 R6ks+wc86XRortjmBEcjgxUhOXCn/661jkxhgFtswueAqHKB6KLM4NpKW7C9U9EkO084
 CK2TSz9vKrJQr30OYqRhB2gOETZatIeJqK5aNMsSyggEG6IuKxEZJJX6l3r+ABTYvYoA
 jmtLYX3DbMhLPHNhf0l4lZ3618sRgx9GF8+URXNfR5aJ9im48s4TiDIGl7QUsFyerQ2A
 pYyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=zUh2t9FhZFXsrUuieJggpsGUMlv5uoZP7yoaWFIQKRs=;
 b=EpKvtx2FoVlAs4adu5OgMuLjwXUUz5Nl6Y1ax+9578Sx5ul7fbwEScYCZnZ1+fmM/b
 vnZYTlOEwRGoguaVre0OqY36515h5eMkTjv3cO1Vgm2F9QliqHb62nKgfmP2n8fk39Ec
 epiua4/Gn2GV8DgWVH409V7zZPRcFkEcaljcvXwWiNf9fJ2o/NfSvl0klw+vt8vvxy2i
 xMENuebI/aV4L8J//c4lYFtaLXdpM/eTY03fB8o5ja9LIVIxkMR89bEUPlDLotVx2Kpn
 f9myRxHXszSErNzaIU4ad5+vaecEhtTKTEXV0oDsWxF1T5wGwJPiHoh9RCbixIZ7FOtC
 jWrA==
X-Gm-Message-State: AGi0PuZTAJoV84cR8qet5OCV6pCnYxRncj7e/ALW7LN/h3Bf+eSh3VHE
 jvDxlrci3uvOhwUdEwYRLQF2M9pM
X-Google-Smtp-Source: APiQypLnNd+P4R8IX+QWNADyvRb/tecBAYKQXweYdJq8b8JYMrZW/0KdPCFVSZiQ6QNpYRSuHbhTfA==
X-Received: by 2002:a5d:690c:: with SMTP id t12mr8081437wru.32.1588870512131; 
 Thu, 07 May 2020 09:55:12 -0700 (PDT)
Received: from meru ([2a01:cb18:832e:5f00:a588:8943:3d1c:a34c])
 by smtp.gmail.com with ESMTPSA id t4sm4065746wmf.33.2020.05.07.09.55.11
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 07 May 2020 09:55:11 -0700 (PDT)
From: Mathieu Othacehe <m.othacehe@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#41123: shepherd exits for no good reason
References: <87bln0doh2.fsf@HIDDEN>
Date: Thu, 07 May 2020 18:55:10 +0200
In-Reply-To: <87bln0doh2.fsf@HIDDEN> ("Ludovic
 \=\?utf-8\?Q\?Court\=C3\=A8s\=22\?\=
 \=\?utf-8\?Q\?'s\?\= message of "Thu, 07 May 2020 12:32:57 +0200")
Message-ID: <87imh7elch.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
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: 41123
Cc: 41123 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hey Ludo,

> May  7 09:36:52 localhost shepherd[1]: Exiting shepherd...=20
> May  7 09:36:52 localhost shepherd[1]: Service xorg-server has been stopp=
ed.=20
> May  7 09:36:52 localhost shepherd[1]: Service console-font-tty2 has been=
 stopped.=20
> May  7 09:36:52 localhost shepherd[1]: Service term-tty2 has been stopped=
.=20
> May  7 09:36:52 localhost shepherd[1]: Service upower-daemon has been sto=
pped.=20
> May  7 09:36:52 localhost shepherd[1]: Service elogind has been stopped.=
=20
> May  7 09:36:52 localhost ntpd[482]: ntpd exiting on signal 15 (Terminate=
d)
> May  7 09:36:52 localhost syslogd: exiting on signal 15
>
> The end result was a kernel panic with exitcode=3D0x100 (meaning exited
> with 1).
>
> It looks as though one had run =E2=80=98herd stop root=E2=80=99.

It could be related to this bug[1]. The problem is that on 0.8.0 a
process restart can cause a root-service stop.

On your log, I can't see a process being restarted, so it might also be
unrelated.

Mathieu

[1]: https://lists.gnu.org/archive/html/bug-guix/2020-05/msg00085.html




Information forwarded to bug-guix@HIDDEN:
bug#41123; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 May 2020 10:33:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 07 06:33:10 2020
Received: from localhost ([127.0.0.1]:42155 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jWdq1-0006MS-Ta
	for submit <at> debbugs.gnu.org; Thu, 07 May 2020 06:33:10 -0400
Received: from lists.gnu.org ([209.51.188.17]:35496)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jWdq0-0006MK-1F
 for submit <at> debbugs.gnu.org; Thu, 07 May 2020 06:33:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46110)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1jWdpz-0007dM-PW
 for bug-guix@HIDDEN; Thu, 07 May 2020 06:33:07 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:47825)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1jWdpz-0001ii-Gg
 for bug-guix@HIDDEN; Thu, 07 May 2020 06:33:07 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35948 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1jWdps-0004ud-Pg
 for bug-guix@HIDDEN; Thu, 07 May 2020 06:33:03 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: shepherd exits for no good reason
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 19 =?utf-8?Q?Flor=C3=A9al?= an 228 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
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: Thu, 07 May 2020 12:32:57 +0200
Message-ID: <87bln0doh2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

I witnessed a case with Shepherd 0.8.0 on =E2=80=98core-updates=E2=80=99
(7b07852ddb334c92bcef69666f21c599f1f0fa79) where shepherd exited all by
itself, all of a sudden.  Here=E2=80=99s what /var/log/messages shows:

--8<---------------cut here---------------start------------->8---
May  7 09:36:23 localhost vmunix: [   20.316829] shepherd[1]: Service user-=
homes has been started.
May  7 09:36:23 localhost vmunix: [   21.319625] shepherd[1]: Service nscd =
has been started.
May  7 09:36:23 localhost vmunix: [   21.321029] shepherd[1]: Service guix-=
daemon has been started.

[=E2=80=A6]

May  7 09:36:52 localhost shepherd[1]: Exiting shepherd...=20
May  7 09:36:52 localhost shepherd[1]: Service xorg-server has been stopped=
.=20
May  7 09:36:52 localhost shepherd[1]: Service console-font-tty2 has been s=
topped.=20
May  7 09:36:52 localhost shepherd[1]: Service term-tty2 has been stopped.=
=20
May  7 09:36:52 localhost shepherd[1]: Service upower-daemon has been stopp=
ed.=20
May  7 09:36:52 localhost shepherd[1]: Service elogind has been stopped.=20
May  7 09:36:52 localhost ntpd[482]: ntpd exiting on signal 15 (Terminated)
May  7 09:36:52 localhost syslogd: exiting on signal 15
--8<---------------cut here---------------end--------------->8---

The end result was a kernel panic with exitcode=3D0x100 (meaning exited
with 1).

It looks as though one had run =E2=80=98herd stop root=E2=80=99.

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#41123; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 14 May 2020 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.