all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Benjamin Slade <beoram@gmail.com>
To: "Remco van 't Veer" <remco@remworks.net>,
	Fulbert <fulbert@bluewin.ch>,
	help-guix@gnu.org, 70051@debbugs.gnu.org,
	"Adrien 'neox' Bourmault" <neox@gnu.org>,
	"Ludovic Courtès" <ludo@gnu.org>
Subject: Re: system hangs at boot - LUKS /home/ problem(?)
Date: Tue, 02 Apr 2024 15:00:02 -0500	[thread overview]
Message-ID: <87y19v4jst.fsf@gmail.com> (raw)
In-Reply-To: <87v853214c.fsf@remworks.net> (Remco van t. Veer's message of "Sat, 30 Mar 2024 16:25:07 +0100")

I can't roll back to the earlier commit mentioned by Remco because other things/channels depend on me being roughly up-to-date on the main guix channel.

However, I can confirm the issue, as changing my configuration *not* to mount an encrypted /home resolves the boot issue.

I note two things:

a. when I try to configure with an encrypted /home, I get error/warning messages at the end: (earlier I also got a message about the "find-crypthome-by-uuid" process failing; I changed to specify a /dev/sXN device instead)

        guix system: warning: exception caught while executing 'start' on service 'device-mapping-crypthome':
      error: system*/tty: unbound variable
      guix system: warning: some services could not be upgraded
      hint: to allow changes to all the systems to take effect, you will need to reboot.

b. no `crypttab' is created (I don't remember how Guix handles encrypted /home's to know whether or not this is expected).


--B.

On Sat, 30 Mar 2024 16:25:07 +0100 (3 days, 4 hours, 30 minutes ago), Remco van 't Veer <remco@remworks.net> wrote:

> Hi,

> Confirmed on a couple of my installs.  I too have an unencrypted root
> and encrypted home filesystems.  The passphrase prompt never appears and
> the system seems to be waiting for something or is halted.

> I've git bisected it down to:

>   commit 6f9d844d2ece7b369d17bbe678978462425f869c (HEAD)
>   Author: Ludovic Courtès <ludo@gnu.org>
>   Date:   Wed Mar 20 18:48:38 2024 +0100

>     services: shepherd: Load each service file in a fresh module.

>     Fixes <https://issues.guix.gnu.org/67649>.

>     * gnu/home/services/shepherd.scm (home-shepherd-configuration-file)[config]:
>     Define ‘make-user-module’.  Call ‘load’ in ‘save-module-excursion’.
>     * gnu/services/shepherd.scm (shepherd-configuration-file): Likewise.

> Commit 2b052fe3c0fa85e9faa8873a581568ad4c78e151 still works.

> Cheers,
> Remco

WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Slade <beoram@gmail.com>
To: "Remco van 't Veer" <remco@remworks.net>,
	Fulbert <fulbert@bluewin.ch>,
	help-guix@gnu.org, 70051@debbugs.gnu.org,
	"Adrien 'neox' Bourmault" <neox@gnu.org>,
	"Ludovic Courtès" <ludo@gnu.org>
Subject: bug#70051: system hangs at boot - LUKS /home/ problem(?)
Date: Tue, 02 Apr 2024 15:00:02 -0500	[thread overview]
Message-ID: <87y19v4jst.fsf@gmail.com> (raw)
In-Reply-To: <87v853214c.fsf@remworks.net> (Remco van t. Veer's message of "Sat, 30 Mar 2024 16:25:07 +0100")

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

I can't roll back to the earlier commit mentioned by Remco because other things/channels depend on me being roughly up-to-date on the main guix channel.

However, I can confirm the issue, as changing my configuration *not* to mount an encrypted /home resolves the boot issue.

I note two things:

a. when I try to configure with an encrypted /home, I get error/warning messages at the end: (earlier I also got a message about the "find-crypthome-by-uuid" process failing; I changed to specify a /dev/sXN device instead)

        guix system: warning: exception caught while executing 'start' on service 'device-mapping-crypthome':
      error: system*/tty: unbound variable
      guix system: warning: some services could not be upgraded
      hint: to allow changes to all the systems to take effect, you will need to reboot.

b. no `crypttab' is created (I don't remember how Guix handles encrypted /home's to know whether or not this is expected).


--B.

On Sat, 30 Mar 2024 16:25:07 +0100 (3 days, 4 hours, 30 minutes ago), Remco van 't Veer <remco@remworks.net> wrote:

> Hi,

> Confirmed on a couple of my installs.  I too have an unencrypted root
> and encrypted home filesystems.  The passphrase prompt never appears and
> the system seems to be waiting for something or is halted.

> I've git bisected it down to:

>   commit 6f9d844d2ece7b369d17bbe678978462425f869c (HEAD)
>   Author: Ludovic Courtès <ludo@gnu.org>
>   Date:   Wed Mar 20 18:48:38 2024 +0100

>     services: shepherd: Load each service file in a fresh module.

>     Fixes <https://issues.guix.gnu.org/67649>.

>     * gnu/home/services/shepherd.scm (home-shepherd-configuration-file)[config]:
>     Define ‘make-user-module’.  Call ‘load’ in ‘save-module-excursion’.
>     * gnu/services/shepherd.scm (shepherd-configuration-file): Likewise.

> Commit 2b052fe3c0fa85e9faa8873a581568ad4c78e151 still works.

> Cheers,
> Remco

  reply	other threads:[~2024-04-02 20:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-26 15:15 system hangs at boot - LUKS /home/ problem(?) Fulbert
2024-03-26 17:58 ` Fulbert
2024-03-27  9:39   ` Adrien 'neox' Bourmault
2024-03-28 10:37     ` Fulbert
2024-03-28 11:34       ` Fulbert
2024-03-30 15:25         ` Remco van 't Veer
2024-04-02 20:00           ` Benjamin Slade [this message]
2024-04-02 20:00             ` bug#70051: " Benjamin Slade
2024-04-02 20:19             ` Remco van 't Veer
2024-04-08 11:47               ` SOLVED " Remco van 't Veer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y19v4jst.fsf@gmail.com \
    --to=beoram@gmail.com \
    --cc=70051@debbugs.gnu.org \
    --cc=fulbert@bluewin.ch \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    --cc=neox@gnu.org \
    --cc=remco@remworks.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.