all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: "白い熊 @相撲道" <guix-devel_gnu.org@sumou.com>
Cc: guix-devel@gnu.org
Subject: Re: Gluglug X200 hangs on boot after `# guix system reconfigure /etc/sysconfig.scm', right after starting dmd
Date: Mon, 09 Mar 2015 20:55:09 +0100	[thread overview]
Message-ID: <874mpurlnm.fsf@gnu.org> (raw)
In-Reply-To: <DD87717A-4592-422C-9B3B-01D9C43CF37E@sumou.com> ("白い熊 @相撲道 "'s message of "Mon, 09 Mar 2015 11:46:11 +0100")

"白い熊 @相撲道" <guix-devel_gnu.org@sumou.com> skribis:

> If sysconfig.scm contains: 
>
> (use modules (gnu))
> (use-service-modules xorg networking dbus avahi)
> (use-package-modules avahi wicd)
> ...
> (services (cons* (slim-service)
>                  (dbus-service (list wicd))
>                  (dhcp-client-service)
>                  (avahi-service)
>                  %base-services))

[...]

> setting up setuid programs in '/run/setuid-programs'...
> making '/gnu/store/h5s1apxpmg8cgdwj9x3yzyxj8f6zizzr-system' the current system...
> [    2.915986] random: nonblocking pool is initialized
> Service dmd has been started.
> Assertion (null? (lookup-services (canonical-name new))) failed.

This is the problem: the configuration specifies two services providing
the same symbol, ‘networking.’  This causes a dmd error that is
gracelessly handled, at boot time.

The solution is twofold: first, keep either ‘dhcp-client-service’ or
‘wicd-service’ in the configuration, but not both.  That should solve
the problem.

Second, I’ll improve service handling so that such errors are reported
at configuration time.

dmd should also have improved error handling, though I’m not sure
exactly what it should do here.

Thanks for the detailed report!

Ludo’.

  parent reply	other threads:[~2015-03-09 19:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04  8:59 [PATCHES] Add wicd and wicd-service Mark H Weaver
2015-02-04  9:05 ` Mark H Weaver
2015-02-04 22:15   ` Ludovic Courtès
2015-02-04 22:13 ` Ludovic Courtès
2015-02-04 23:39 ` Mark H Weaver
2015-02-05  1:22 ` Mark H Weaver
2015-02-05 14:05   ` Daniel Pimentel
2015-02-12 12:47   ` Daniel Pimentel
2015-02-12 13:44     ` Mark H Weaver
2015-02-23 14:32       ` Daniel Pimentel
2015-03-08 23:57         ` 白熊
2015-03-09  2:04           ` Mark H Weaver
2015-03-09  6:23             ` 白い熊 @相撲道
2015-03-09  8:50               ` Ludovic Courtès
2015-03-09 10:46               ` Gluglug X200 hangs on boot after `# guix system reconfigure /etc/sysconfig.scm', right after starting dmd 白い熊 @相撲道
2015-03-09 11:14                 ` Daniel Pimentel
2015-03-09 12:04                 ` 白い熊 @相撲道
2015-03-09 19:55                 ` Ludovic Courtès [this message]
2015-03-09 22:53                   ` Ludovic Courtès
2015-02-12 20:05   ` [PATCHES] Add wicd and wicd-service Ludovic Courtès

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=874mpurlnm.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=guix-devel_gnu.org@sumou.com \
    /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.