GNU bug report logs - #25917
operating-system file-system with (check? #t) but (needed-for-boot #f) pauses boot until user interaction

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Wed, 1 Mar 2017 16:39:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#25917: closed (operating-system file-system with (check? #t)
 but (needed-for-boot #f) pauses boot until user interaction)
Date: Sat, 22 Apr 2017 23:35:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 23 Apr 2017 01:34:15 +0200
with message-id <87h91gf24o.fsf <at> gnu.org>
and subject line Re: bug#25917: [PATCH v2] services: file-system-shepherd-service: Make it find the fsck programs.
has caused the debbugs.gnu.org bug report #25917,
regarding operating-system file-system with (check? #t) but (needed-for-boot #f) pauses boot until user interaction
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
25917: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25917
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: <bug-guix <at> gnu.org>
Subject: operating-system file-system with (check? #t) but (needed-for-boot
 #f) pauses boot until user interaction
Date: Wed, 1 Mar 2017 17:38:38 +0100
If one has a operating-system file-system with (check? #t) but (needed-for-boot #f), the next boot after reconfiguring will boot into a Guile REPL because the initrd doesn't contain the fsck tool for that file system (because all the file-systems with (needed-for-boot #f) have been filtered out). Therefore, the normal boot process breaks.

Possible fixes:
- If (check? #t) but (needed-for-boot? #f), include the tool anyway, XOR
- If (check? #t) but (needed-for-boot? #f), don't check anyway

This can be reproduced for example by connecting an USB flash storage stick with a filesystem with a type on it that's not used in any other file-system declaration.

NB: If (check? #t) and (needed-for-boot? #t), everything works fine.

For all these, (mount? #t) (the default).

This is on Guix master from a few minutes ago.


[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 25917-done <at> debbugs.gnu.org
Subject: Re: bug#25917: [PATCH v2] services: file-system-shepherd-service:
 Make it find the fsck programs.
Date: Sun, 23 Apr 2017 01:34:15 +0200
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

> * gnu/services/base.scm (file-system-shepherd-service): Use
> file-system-packages.

That was pushed as 26e34e1e1288d657e92372efb6edc95c0e299247.
Closing.

Ludo’.


This bug report was last modified 8 years and 33 days ago.

Previous Next


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