bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24965: no openssh-service procedure


From: Ludovic Courtès
Subject: bug#24965: no openssh-service procedure
Date: Mon, 21 Nov 2016 10:04:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi David,

"Thompson, David" <address@hidden> 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’s how it should be used.  (See
<https://lists.gnu.org/archive/html/guix-devel/2016-10/msg00095.html>.)

In recent service submissions, I’ve suggested that we stop adding
‘foo-service’ procedures and instead directly expose the
‘foo-service-type’ and ‘foo-configuration’ 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
‘modify-services’), to remove services from a list, and so on.

The downside is that it’s more typing, but I think that’s reasonable.

Thoughts?

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]