unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andy Wingo <wingo@igalia.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined
Date: Thu, 21 Jul 2016 18:10:35 +0200	[thread overview]
Message-ID: <87h9bjkm4k.fsf@gnu.org> (raw)
In-Reply-To: <87h9bj57iv.fsf@igalia.com> (Andy Wingo's message of "Thu, 21 Jul 2016 17:35:04 +0200")

Andy Wingo <wingo@igalia.com> skribis:

> On Thu 21 Jul 2016 16:39, "Thompson, David" <dthompson2@worcester.edu> writes:
>
>> On Thu, Jul 21, 2016 at 9:57 AM, Jan Synáček <jan.synacek@gmail.com> wrote:
>>> On Thu, Jul 21, 2016 at 3:35 PM, Vincent Legoll
>>> <vincent.legoll@gmail.com> wrote:
>>>> Is there a simple command line that would list such services ?
>>>>
>>>> herd list --type=networking
>>>>
>>>> or something like that, that would make for the almost-perfect suggestion...
>>>
>>> Yes! I'm glad we're saying the same, even though differently:)
>>
>> This information is not knowable, sorry.  The set of possible services
>> outside of what is declared in the system configuration is infinite.
>
> However... if you grovel the file system for files in the load path that
> have a prefix of gnu/services named .scm and load their corresponding
> module and filter out only the services and get their names, then that's
> not all of them but it would be good enough :)

The difficulty here is that we’re talking about Shepherd services, as
opposed to the generic “service” type in GuixSD (info "(guix) Service
Types and Services").

We can programmatically traverse all the existing service types exported
from (gnu services …), but we cannot list all the Shepherd services that
can exist.

Ludo’.

  reply	other threads:[~2016-07-21 16:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-15 12:39 guix system: error: service 'ssh-daemon' requires 'networking', which is undefined David Craven
2016-07-15 12:58 ` Jan Synáček
2016-07-15 14:27   ` Vincent Legoll
2016-07-17  6:50     ` Jan Synáček
2016-07-15 16:50 ` Ludovic Courtès
2016-07-15 18:04   ` Tobias Geerinckx-Rice
2016-07-19 12:43     ` Ludovic Courtès
2016-07-21  6:30       ` Jan Synáček
2016-07-21  8:48         ` Vincent Legoll
2016-07-21 12:54           ` Ludovic Courtès
2016-07-21 13:00         ` Ludovic Courtès
2016-07-21 13:35           ` Vincent Legoll
2016-07-21 13:57             ` Jan Synáček
2016-07-21 14:39               ` Thompson, David
2016-07-21 15:35                 ` Andy Wingo
2016-07-21 16:10                   ` Ludovic Courtès [this message]
2016-07-21 13:36           ` Jan Synáček
  -- strict thread matches above, loose matches on Subject: below --
2016-07-15 12:24 Jan Synáček
2016-07-15 15:05 ` Alex Kost

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=87h9bjkm4k.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=wingo@igalia.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 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).