From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26931: GuixSD rebooting fails when tmux is running Date: Mon, 28 Aug 2017 12:16:09 +0200 Message-ID: <87pobgf15i.fsf@gnu.org> References: <20170514193043.GA5396@jasmine> <87lgpzqfxq.fsf@gnu.org> <20170516231839.GA22678@jasmine> <87mv6kgkyr.fsf@gnu.org> <87efrwt7pu.fsf@lassieur.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmH6Q-0001J2-O1 for bug-guix@gnu.org; Mon, 28 Aug 2017 06:17:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmH6M-0004Qz-OP for bug-guix@gnu.org; Mon, 28 Aug 2017 06:17:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49994) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dmH6M-0004Qt-Kk for bug-guix@gnu.org; Mon, 28 Aug 2017 06:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dmH6M-0006aX-Eo for bug-guix@gnu.org; Mon, 28 Aug 2017 06:17:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87efrwt7pu.fsf@lassieur.org> ("=?UTF-8?Q?Cl=C3=A9ment?= Lassieur"'s message of "Mon, 28 Aug 2017 10:30:37 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Cc: 26931-done@debbugs.gnu.org Cl=C3=A9ment Lassieur skribis: > Ludovic Court=C3=A8s writes: > >> Hi, >> >> Leo Famulari skribis: >> >>> On Sun, May 14, 2017 at 11:36:17PM +0200, Ludovic Court=C3=A8s wrote: >>>> What does /var/log/shepherd.log show around the time where you hit >>>> =E2=80=9Chalt=E2=80=9D? >>>>=20 >>>> I get something like this: >>>>=20 >>>> --8<---------------cut here---------------start------------->8--- >>>> 18:06:26 Service mcron has been stopped. >>>> 18:06:26 sending all processes the TERM signal >>> >>> For me, this is where it gets stuck: >>> >>> ------ >>> 2017-05-16 19:12:53 sending all processes the TERM signal >>> 2017-05-16 19:12:58 waiting for process termination (processes left: (1= 494))=20 >>> 2017-05-16 19:13:00 waiting for process termination (processes left: (1= 494))=20 >>> 2017-05-16 19:13:02 waiting for process termination (processes left: (1= 494))=20 >>> ------ >>> >>> In my experience, it will wait here forever. >>> >>> And from `ps aux`: >>> >>> leo 494 0.0 0.1 27232 3676 ? Ss 19:12 0:00 tmux >> >> The bug was 100% reproducible in a VM, and AFAICS it is fixed by >> 7f090203d5fb033eb1b64778b03afad5bb35f5f2. [...] > FYI I have the exact same problem with guix-publish: I have to do 'herd > stop guix-publish', otherwise I can't reboot. I'll report a bug soon. > I would be interested to know if someone else reproduces it. The commit above makes sure all child processes are reaped. Could you check whether that solves the problem you=E2=80=99re seeing with =E2=80=98g= uix publish=E2=80=99? Thanks, Ludo=E2=80=99.