From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#23697: guix system reconfigure hangs, shows repl in messages Date: Tue, 18 Dec 2018 16:39:04 +0100 Message-ID: <87sgyug7zb.fsf@gnu.org> References: <87lh2kt12q.fsf@gnu.org> <87vb1m4t8w.fsf@gnu.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]:42866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZHTa-0001sD-Vb for bug-guix@gnu.org; Tue, 18 Dec 2018 10:40:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZHTX-00074p-Oy for bug-guix@gnu.org; Tue, 18 Dec 2018 10:40:04 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZHTX-00074g-K8 for bug-guix@gnu.org; Tue, 18 Dec 2018 10:40:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZHTX-00066E-H2 for bug-guix@gnu.org; Tue, 18 Dec 2018 10:40:03 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87vb1m4t8w.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 06 Jun 2016 10:27:27 +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: Jan Nieuwenhuizen Cc: 23697-done@debbugs.gnu.org Hello! ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Jan Nieuwenhuizen skribis: [...] >> guix system reconfigure drakenvlieg.scm >> >> which eventually printed >> >> ... >> guix system: loading new services: file-system-/home urandom-seed nt= pd avahi-daemon ssh-daemon... >> shepherd: Evaluating user expression (register-services (primitive-l= oad "/gn...") ...). >> >> In /var/log/messages I found some clue as to why this did not return > > [...] > >> 2016-06-01 19:59:57 Evaluating user expression (register-services (p= rimitive-load "/gn...") #). >> 2016-06-01 19:59:57 GNU Guile 2.0.11 >> 2016-06-01 19:59:57 Copyright (C) 1995-2014 Free Software Foundation= , Inc. >> 2016-06-01 19:59:57=20 >> 2016-06-01 19:59:57 Guile comes with ABSOLUTELY NO WARRANTY; for det= ails type `,show w'. >> 2016-06-01 19:59:57 This program is free software, and you are welco= me to redistribute it >> 2016-06-01 19:59:57 under certain conditions; type `,show c' for det= ails. >> 2016-06-01 19:59:57=20 >> 2016-06-01 19:59:57 Enter `,help' for help. > > What happens is that it failed to fsck /home (since it was already > mounted), and stupidly started a rescue REPL that you couldn=E2=80=99t se= e. A simple way to reproduce this is to run: # herd eval root '(begin (use-modules (gnu build file-systems)) (check-fi= le-system "/dev/foo" "ext2"))' That command does not return because PID=C2=A01 is stuck in read(0, =E2=80= =A6), where stdin is connected to the console. You can type =E2=80=9C,q=E2=80=9D in th= e console (usually tty1) and it should be fine. Of course if you try this on a remote machine, you=E2=80=99re screwed=E2=80=A6 Anyway, commit 6ea6e1476ff4a18d4b4b864c3065d18ed99c69af fixes it, at last. Thanks, Ludo=E2=80=99.