From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined Date: Thu, 21 Jul 2016 17:35:04 +0200 Message-ID: <87h9bj57iv.fsf@igalia.com> References: <874m7qzvyx.fsf@gnu.org> <0329ad9f3fc879d5b76e3d9bf895d75d@tobias.gr> <87wpkhlrwi.fsf@gnu.org> <87oa5rm9hi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQG0H-0001ru-Uo for guix-devel@gnu.org; Thu, 21 Jul 2016 11:35:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQG0D-0002bb-OG for guix-devel@gnu.org; Thu, 21 Jul 2016 11:35:12 -0400 Received: from pb-sasl2.pobox.com ([64.147.108.67]:59696 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQG0D-0002bO-KR for guix-devel@gnu.org; Thu, 21 Jul 2016 11:35:09 -0400 In-Reply-To: (David Thompson's message of "Thu, 21 Jul 2016 10:39:36 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: "Thompson, David" Cc: guix-devel On Thu 21 Jul 2016 16:39, "Thompson, David" writ= es: > On Thu, Jul 21, 2016 at 9:57 AM, Jan Syn=C3=A1=C4=8Dek wrote: >> On Thu, Jul 21, 2016 at 3:35 PM, Vincent Legoll >> wrote: >>> Is there a simple command line that would list such services ? >>> >>> herd list --type=3Dnetworking >>> >>> or something like that, that would make for the almost-perfect suggesti= on... >> >> 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 :) Andy