From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24965: no openssh-service procedure Date: Mon, 21 Nov 2016 10:04:29 +0100 Message-ID: <87r365yzj6.fsf@gnu.org> References: 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]:53369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8kXI-0007cj-Jm for bug-guix@gnu.org; Mon, 21 Nov 2016 04:05:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8kX8-00016f-Ej for bug-guix@gnu.org; Mon, 21 Nov 2016 04:05:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49505) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c8kX8-00016U-BY for bug-guix@gnu.org; Mon, 21 Nov 2016 04:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c8kX8-0002hL-1x for bug-guix@gnu.org; Mon, 21 Nov 2016 04:05:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (David Thompson's message of "Fri, 18 Nov 2016 18:38:03 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: "Thompson, David" Cc: 24965@debbugs.gnu.org Hi David, "Thompson, David" skribis: > Despite having a bunch of procedures for making an SSH service type, > and exporting the symbol "openssh-service" from (gnu services ssh), > there is no openssh-service defined. Not sure how this code made it > in. This is on purpose. :-) The manual gives this example: (service openssh-service-type (openssh-configuration (x11-forwarding? #t) (permit-root-login 'without-password))) and that=E2=80=99s how it should be used. (See .) In recent service submissions, I=E2=80=99ve suggested that we stop adding =E2=80=98foo-service=E2=80=99 procedures and instead directly expose the =E2=80=98foo-service-type=E2=80=99 and =E2=80=98foo-configuration=E2=80=99 = records. The rationale is that the service type and config records have to be exposed anyway if we want users to be able to customize services (with =E2=80=98modify-services=E2=80=99), to remove services from a list, and so = on. The downside is that it=E2=80=99s more typing, but I think that=E2=80=99s r= easonable. Thoughts? Ludo=E2=80=99.