unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27732: Changing display manager can render system unbootable
@ 2017-07-17 10:09 Marius Bakke
  2017-07-17 11:47 ` ng0
  2017-07-18 13:50 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Marius Bakke @ 2017-07-17 10:09 UTC (permalink / raw)
  To: 27732

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27732: Changing display manager can render system unbootable
  2017-07-17 10:09 bug#27732: Changing display manager can render system unbootable Marius Bakke
@ 2017-07-17 11:47 ` ng0
  2017-07-18 13:50 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: ng0 @ 2017-07-17 11:47 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 27732

[-- Attachment #1: Type: text/plain, Size: 1558 bytes --]

Marius Bakke transcribed 1.6K bytes:
> 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.

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.

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27732: Changing display manager can render system unbootable
  2017-07-17 10:09 bug#27732: Changing display manager can render system unbootable Marius Bakke
  2017-07-17 11:47 ` ng0
@ 2017-07-18 13:50 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-07-18 13:50 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 27732

Hello,

Marius Bakke <mbakke@fastmail.com> 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’s viewpoint, the ‘xorg-server’ Shepherd service cannot be
restarted if it’s still running (and indeed, when I run ‘guix system
reconfigure’ from my X11 + Ratpoison setup, Xorg is not killed,
fortunately.)  Same for ‘dbus-system’ etc.

I don’t know what else could be killing GNOME et al.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-18 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-17 10:09 bug#27732: Changing display manager can render system unbootable Marius Bakke
2017-07-17 11:47 ` ng0
2017-07-18 13:50 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).