unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: znavko@disroot.org, Luther Thompson <lutheroto@gmail.com>
Cc: 35175@debbugs.gnu.org
Subject: bug#35175: Cannot reconfigure
Date: Mon, 8 Apr 2019 12:54:14 +0200	[thread overview]
Message-ID: <20190408125414.2b023d08@scratchpost.org> (raw)
In-Reply-To: <c73a13ab796d009a7c5d395a8e1eb5e1@disroot.org>

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

On Sat, 06 Apr 2019 20:44:45 +0000
znavko@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@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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2019-04-08 10:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-06 19:34 bug#35175: Cannot reconfigure Luther Thompson
2019-04-06 20:44 ` znavko
2019-04-06 21:26   ` Luther Thompson
2019-04-07  8:15   ` znavko
2019-04-07 11:02     ` Luther Thompson
2019-04-08 10:54   ` Danny Milosavljevic [this message]
2019-04-08 14:46     ` Ludovic Courtès
2019-04-08 23:27     ` Luther Thompson
2019-04-07 16:25 ` Ludovic Courtès
2019-04-07 21:27   ` Luther Thompson

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20190408125414.2b023d08@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=35175@debbugs.gnu.org \
    --cc=lutheroto@gmail.com \
    --cc=znavko@disroot.org \
    /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 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).