GNU bug report logs - #35175
Cannot reconfigure

Previous Next

Package: guix;

Reported by: Luther Thompson <lutheroto <at> gmail.com>

Date: Sat, 6 Apr 2019 19:35:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: znavko <at> disroot.org, "Luther Thompson" <lutheroto <at> gmail.com>
Cc: 35175 <at> debbugs.gnu.org
Subject: bug#35175: Cannot reconfigure
Date: Mon, 8 Apr 2019 12:54:14 +0200
[Message part 1 (text/plain, inline)]
On Sat, 06 Apr 2019 20:44:45 +0000
znavko <at> disroot.org wrote:

> This is not a bug, but your config is wrong here:
> 
>   (file-systems
>    (cons
>     (file-system (device "my-root")
> 		 (mount-point "/")
> 		 (type "ext4")
> 		 (title 'label))
>     %base-file-systems))
> 
> Delete string  `(title 'label)` and leave like this:
> 
>   (file-systems
>    (cons
>     (file-system (device "my-root")
> 		 (mount-point "/")
> 		 (type "ext4"))
>     %base-file-systems))

... why?

I use (title 'label) for more than a year and it works fine.

The reason for the error Luther encountered is because something is up with the gdm service.

And that's because of

                      (extend params (compose extensions)))

And I guess the extension/composition mechanism of gdm is broken.

There was a commit

commit 0cf981a6066711f6e830a3f1d40f7c265b0bac94
Author: Ludovic Courtès <ludo <at> gnu.org>
Date:   Fri Apr 5 17:40:01 2019 +0200

    services: gdm: Properly handle empty extensions lists.

recently.

The change is:

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 26ca0d4f1f..ede8bc7304 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -879,11 +879,16 @@ the GNOME desktop environment.")
                 ;; For convenience, this service can be extended with an
                 ;; <xorg-configuration> record.  Take the first one that
                 ;; comes.
-                (compose first)
+                (compose (lambda (extensions)
+                           (match extensions
+                             (() #f)
+                             ((config . _) config))))
                 (extend (lambda (config xorg-configuration)
-                          (gdm-configuration
-                           (inherit config)
-                           (xorg-configuration xorg-configuration))))
+                          (if xorg-configuration
+                              (gdm-configuration
+                               (inherit config)
+                               (xorg-configuration xorg-configuration))
+                              config)))
 
                 (default-value (gdm-configuration))
                 (description

@Luther: Could you try with the commit right before that change?

  guix pull --commit=37aaf9a8c7d64ae69c4670a12f481dfc0aac53ae

[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 6 years and 137 days ago.

Previous Next


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