GNU bug report logs - #44872
Installer crash: 'uuid->string' is passed #f in lieu of a UUID

Previous Next

Package: guix;

Reported by: Tim Magee <timothy <at> eastlincoln.net>

Date: Wed, 25 Nov 2020 17:27:02 UTC

Severity: important

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 44872 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tim Magee <timothy <at> eastlincoln.net>
Cc: 44872 <at> debbugs.gnu.org, Mathieu Othacehe <othacehe <at> gnu.org>
Subject: Re: bug#44872: Installer crash: 'uuid->string' is passed #f in lieu
 of a UUID
Date: Fri, 23 Apr 2021 00:40:53 +0200
Ludovic Courtès <ludo <at> gnu.org> skribis:

> Apparently what happens here is that ‘read-partition-uuid’, called by
> ‘user-partition->file-system’, returns #f, and that value is then passed
> to ‘uuid->string’.
>
> There are two ways ‘read-partition-uuid’ can return #f:
>
>   1. the partition doesn’t have one of the types listed in
>      ‘%partition-uuid-readers’;
>
>   2. the partition does not exist or is EIO (see use of ‘ENOENT-safe’ in
>      ‘partition-field-reader’).
>
> So most likely the problem is #2.

I pushed a change so that ‘read-partition-uuid’ & co. will no longer
swallow ENOENT, so we at least get more accurate error reports:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=09ce4568f2cc1f87c5a5e0aa1643780c39a73088

Ludo’.




This bug report was last modified 3 years and 359 days ago.

Previous Next


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