GNU bug report logs - #27732
Changing display manager can render system unbootable

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: serious; Reported by: Marius Bakke <mbakke@HIDDEN>; Keywords: moreinfo; dated Mon, 17 Jul 2017 10:11:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) moreinfo. Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.
Severity set to 'serious' from 'normal' Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 27732) by debbugs.gnu.org; 18 Jul 2017 13:50:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 18 09:50:20 2017
Received: from localhost ([127.0.0.1]:45558 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dXStI-0002bM-MR
	for submit <at> debbugs.gnu.org; Tue, 18 Jul 2017 09:50:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46595)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1dXStH-0002b9-Ql
 for 27732 <at> debbugs.gnu.org; Tue, 18 Jul 2017 09:50:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1dXSt7-0004Da-PL
 for 27732 <at> debbugs.gnu.org; Tue, 18 Jul 2017 09:50:14 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52564)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1dXSt7-0004DV-MC; Tue, 18 Jul 2017 09:50:09 -0400
Received: from [193.50.110.220] (port=40126 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1dXSt7-0007Aq-5w; Tue, 18 Jul 2017 09:50:09 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Marius Bakke <mbakke@HIDDEN>
Subject: Re: bug#27732: Changing display manager can render system unbootable
References: <874lub74st.fsf@HIDDEN>
Date: Tue, 18 Jul 2017 15:50:07 +0200
In-Reply-To: <874lub74st.fsf@HIDDEN> (Marius Bakke's message of "Mon, 17
 Jul 2017 12:09:54 +0200")
Message-ID: <87a841yhv4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 27732
Cc: 27732 <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: -5.0 (-----)

Hello,

Marius Bakke <mbakke@HIDDEN> skribis:

> When changing display manager in the system configuration and invoking
> `guix system reconfigure`, the existing desktop environment will be
> killed. If you invoked the command from within said desktop environment,
> the reconfigure command will be forcefully terminated.

Why is the desktop environment killed?

From Guix=E2=80=99s viewpoint, the =E2=80=98xorg-server=E2=80=99 Shepherd s=
ervice cannot be
restarted if it=E2=80=99s still running (and indeed, when I run =E2=80=98gu=
ix system
reconfigure=E2=80=99 from my X11 + Ratpoison setup, Xorg is not killed,
fortunately.)  Same for =E2=80=98dbus-system=E2=80=99 etc.

I don=E2=80=99t know what else could be killing GNOME et al.

Thanks,
Ludo=E2=80=99.




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

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


Received: (at 27732) by debbugs.gnu.org; 17 Jul 2017 11:48:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 17 07:48:33 2017
Received: from localhost ([127.0.0.1]:43290 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dX4Vs-0001nM-Ph
	for submit <at> debbugs.gnu.org; Mon, 17 Jul 2017 07:48:32 -0400
Received: from aibo.runbox.com ([91.220.196.211]:50146)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ng0@HIDDEN>) id 1dX4Vq-0001nD-VT
 for 27732 <at> debbugs.gnu.org; Mon, 17 Jul 2017 07:48:31 -0400
Received: from [10.9.9.210] (helo=mailfront10.runbox.com)
 by mailtransmit03.runbox with esmtp (Exim 4.86_2)
 (envelope-from <ng0@HIDDEN>)
 id 1dX4Vp-0001Vp-Eh; Mon, 17 Jul 2017 13:48:29 +0200
Received: from tor-relay.zwiebeltoralf.de ([5.9.158.75] helo=localhost)
 by mailfront10.runbox.com with esmtpsa (uid:892961 )
 (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82)
 id 1dX4VE-0002gm-9Y; Mon, 17 Jul 2017 13:47:52 +0200
Date: Mon, 17 Jul 2017 11:47:49 +0000
From: ng0 <ng0@HIDDEN>
To: Marius Bakke <mbakke@HIDDEN>
Subject: Re: bug#27732: Changing display manager can render system unbootable
Message-ID: <20170717114749.em7n4v3llamy4vam@abyayala>
Mail-Followup-To: Marius Bakke <mbakke@HIDDEN>, 27732 <at> debbugs.gnu.org
References: <874lub74st.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="zyp3eelsenloxora"
Content-Disposition: inline
In-Reply-To: <874lub74st.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 27732
Cc: 27732 <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: -0.7 (/)


--zyp3eelsenloxora
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Marius Bakke transcribed 1.6K bytes:
> Hello!
>=20
> When changing display manager in the system configuration and invoking
> `guix system reconfigure`, the existing desktop environment will be
> killed. If you invoked the command from within said desktop environment,
> the reconfigure command will be forcefully terminated.
>=20
> If you're unlucky, this might happen during `grub-install`. After
> logging in on a console and rebooting, this is what I got:
>=20
> --8<---------------cut here---------------start------------->8---
> Welcome to GRUB!
>=20
> Attempting to decrypt master key...
> Enter passphrase for hd1,gpt2 (<uuid>):
> Slot 0 opened
> error: file `/boot/grub/x86_64-efi/normal.mod' not found.
> Entering rescue mode...
> grub rescue>
> --8<---------------cut here---------------end--------------->8---
>=20
> It can be recovered by booting by copying /boot/grub/x86_64-efi/* from a
> healthy system to the partially installed one.
>=20
> I'm not sure how to mitigate this, since the DE restart is arguably a
> feature. A command analogous to `nixos-rebuild boot` might be of aid for
> those of us aware of this problem.

This is weird. I was aware of this and simply waited a reasonable long
time until I forced a reboot from such a system. I've done this
countless times in the past and it always worked.

But the situation is unfortunate and a fix would be good.

--=20
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org

--zyp3eelsenloxora
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAllso+UACgkQ4i+bv+40
hYhZWRAAk5Ru9TEZ01snrlFk/NT+jgLNPltoGSYRt2RDMNfM2uoPxk3Ec+2MnxRq
iO7ntR5cQsOsfAbpnnQLxx9VjgmrimG4VBieAvff9sDasJUSjg616V912ilqjuho
qnbQffsRyOLPJCkcamYN5GujbitvUH+Finxy49A/DH/2beN7/h9JTxJ1V5uZeMP+
rq2hSyQCcvxRY8d4XKvCcB0LSAWicFKoDMLO5bVSgkgpLzXhpDBNFzfVGV2lil+/
9a65nGLk7qwD+2OrI7IHlsFp9h6PoRyxPUzDP3mCAMJt1vpawbZuYbl1vA3G6qXD
9d9iFgokjc93KYHXt6rErh/2cguA3Fzb/DH2Y7o1XV57vvuwnff6DQ5B1P6nWC80
tAQXPL4QRWyojEhzLo1G0rq8z+ZrJaO6G9CYnljIg/COQiPWEo0ueh5msdkclNfU
lanY8WEEKhSyt+lLqKFQhi1Wa+fxbEOaVqq6CnwX+swcmjHrGbIDVUE6jyn3rpvE
41RlAhSNmrlRXTtVCVWEeltoiGsqjpJlxyhNErJWMo7FiGFesPWdHJsyblJOHAQX
slXGumTXLMaisZZ68mibZoiLJX7NTg3lSf4d/OYDctKHThsVu+sS8y/O+uAiJbPd
Ez4kDk4g3BQSlKij7d9VAuG73taBruAQqINXkiXMlYqy6sfMy2s=
=qZzM
-----END PGP SIGNATURE-----

--zyp3eelsenloxora--




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

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


Received: (at submit) by debbugs.gnu.org; 17 Jul 2017 10:10:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 17 06:10:13 2017
Received: from localhost ([127.0.0.1]:43263 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dX2yj-0006Ae-DQ
	for submit <at> debbugs.gnu.org; Mon, 17 Jul 2017 06:10:13 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38921)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1dX2yh-0006AP-IB
 for submit <at> debbugs.gnu.org; Mon, 17 Jul 2017 06:10:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mbakke@HIDDEN>) id 1dX2yb-0004nG-83
 for submit <at> debbugs.gnu.org; Mon, 17 Jul 2017 06:10:06 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46055)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mbakke@HIDDEN>) id 1dX2yb-0004nC-45
 for submit <at> debbugs.gnu.org; Mon, 17 Jul 2017 06:10:05 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58108)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mbakke@HIDDEN>) id 1dX2ya-0007wY-05
 for bug-guix@HIDDEN; Mon, 17 Jul 2017 06:10:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mbakke@HIDDEN>) id 1dX2yU-0004kK-V4
 for bug-guix@HIDDEN; Mon, 17 Jul 2017 06:10:03 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:60295)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mbakke@HIDDEN>) id 1dX2yU-0004je-EA
 for bug-guix@HIDDEN; Mon, 17 Jul 2017 06:09:58 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id B25DF20286
 for <bug-guix@HIDDEN>; Mon, 17 Jul 2017 06:09:56 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute5.internal (MEProxy); Mon, 17 Jul 2017 06:09:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 content-type:date:from:message-id:mime-version:subject:to
 :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=NnglRx
 ZCbdKFKjfYI0FrGegtS0jlwndrs/CzcdPhWVI=; b=D9bHYSGlK5S/VfJnosvvso
 OnqHsQaZh02HmGu2jiCQ3pEdUGvXGJIUcYueW7gejHay8nIX+6cF3OnJyBB6/Ke0
 b+qOAwAKBq1/f62ve1gsZDdm5FTDHEu0GnJTtcR0r/Xmtca37dUCBQkZ9tpYpy3D
 Tt0J4IeZHM24+wpzH2WxhPzx3L73SAN26ocUHUd94ehT8wTBVuqAzT+x5UrYLnuX
 2fHnavXhzIMcaUqqYPngfw++dvrZ7FoxVHtzGHiUEQ6dxAYiQaKPdNLUBhqx6UFy
 XhaVuEM9aAX0ofERaWwdzfR1+TeKAXArK078v/4ZH1MKHo/HQy28FIpYPcjuyHQw
 ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc
 :x-sasl-enc; s=fm1; bh=NnglRxZCbdKFKjfYI0FrGegtS0jlwndrs/CzcdPhW
 VI=; b=pIa1p2sSlPRJN5ZPnRXvk1butd1ggha6QhFtROZ5DQWucSnUW4kcUzCRM
 V2guhhHHF61vxUi3X/zNYH7WauxBfrv892HVo2A77ZH5Xbg3gsTH9ysRHnbb9AwT
 fxAbinF7+rrvVWarc48frTbMxkEKHVgVugCP0No8kS0cAO1iFqnbPEQJkZEgIl13
 hhB0i3swHu9lr1n9NdJBXs30v9vMgemqz3xseJUPAQpcdvyxIdbIyNs1Za+vcfO3
 149C8T/hluMidFjoj7PwWXKJHhRHaFyLH+4SP4zJgITsiXXCihy39oyBoevnw5/I
 nY692+6g3IsqRzVbNZk3FU2ZSjmBw==
X-ME-Sender: <xms:9IxsWbItbmSf_3uS-YOpDW4jAXxNrVVb8PXBUb_RebskU2dZPKTaSQ>
X-Sasl-enc: zvOhuN7CMtc4IJ9RxUOOLkQrOCDKUsf71QV2bWvRCS05 1500286196
Received: from localhost (unknown [92.62.32.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 4429324288
 for <bug-guix@HIDDEN>; Mon, 17 Jul 2017 06:09:56 -0400 (EDT)
From: Marius Bakke <mbakke@HIDDEN>
To: bug-guix@HIDDEN
Subject: Changing display manager can render system unbootable
User-Agent: Notmuch/0.24.2 (https://notmuchmail.org) Emacs/25.2.1
 (x86_64-unknown-linux-gnu)
Date: Mon, 17 Jul 2017 12:09:54 +0200
Message-ID: <874lub74st.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.4 (----)
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: -4.4 (----)

--=-=-=
Content-Type: text/plain

Hello!

When changing display manager in the system configuration and invoking
`guix system reconfigure`, the existing desktop environment will be
killed. If you invoked the command from within said desktop environment,
the reconfigure command will be forcefully terminated.

If you're unlucky, this might happen during `grub-install`. After
logging in on a console and rebooting, this is what I got:

--8<---------------cut here---------------start------------->8---
Welcome to GRUB!

Attempting to decrypt master key...
Enter passphrase for hd1,gpt2 (<uuid>):
Slot 0 opened
error: file `/boot/grub/x86_64-efi/normal.mod' not found.
Entering rescue mode...
grub rescue>
--8<---------------cut here---------------end--------------->8---

It can be recovered by booting by copying /boot/grub/x86_64-efi/* from a
healthy system to the partially installed one.

I'm not sure how to mitigate this, since the DE restart is arguably a
feature. A command analogous to `nixos-rebuild boot` might be of aid for
those of us aware of this problem.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAllsjPIACgkQoqBt8qM6
VPrmFwgA1T481t5+pT5Q9+KWPtb2TQocpxZuJPx7fCxaRNd3HfVyh/R/kJHnAtRA
HlmPQCEJ7ykUq5ehbM4nivQjyZ/NlDqFb0j0uP5I0cFpHB4DggMAD4XS6ti1fRHf
lHa+7R3ewF7vtosh2GdjHHLo1IQM0lOQMAusFJ15C92Bl3yBdRk/1HOwIp7IuoS1
YeSfTWXo7FEP3tUBDj7KK6wvS9lsyCDQPlfrMIBvNqWytZ1Oa06nEJ9Eck3ZquJh
gC9c5+wDnHKRt5up6dqy5ZdTVj77ibcwAa1rMtyzpNQEmR+YOnjgcPvOFLnkiQ4Z
oHl0GU5GeHuPOi+QqIKB2u/eNpdM2Q==
=s1zA
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Marius Bakke <mbakke@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#27732; 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, 27 Jul 2017 10:15:02 UTC

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