unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* export openssh's AcceptEnv option in openssh-configuration
@ 2018-03-12 20:36 Martin Castillo
  2018-03-13  8:31 ` Clément Lassieur
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Castillo @ 2018-03-12 20:36 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1: Type: text/plain, Size: 618 bytes --]

Hi,
not sure whether this belongs here, guix-devel or bug-guix.

I'd like to be able to set AcceptEnv in sshd_config from config.scm.
Currently, this option is not exported in openssh-configuration.

General question: How does guixsd handle this? I think this is a general
problem. Do we expect everyone who wants to configure something, that is
not yet configurable, to patch guix themself or ask the others to do it?
What about adding a field 'extraOptions' which is a simple string that
is appended to the configuration file?


Martin

-- 
GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: export openssh's AcceptEnv option in openssh-configuration
  2018-03-12 20:36 export openssh's AcceptEnv option in openssh-configuration Martin Castillo
@ 2018-03-13  8:31 ` Clément Lassieur
  0 siblings, 0 replies; 2+ messages in thread
From: Clément Lassieur @ 2018-03-13  8:31 UTC (permalink / raw)
  To: Martin Castillo; +Cc: help-guix

Hi Martin,

Martin Castillo <castilma@uni-bremen.de> writes:

> Hi,
> not sure whether this belongs here, guix-devel or bug-guix.

I'd say bug-guix, since it's a feature request.  bug-guix (and
guix-patches) provide the Debbugs interface which is helpful to keep
track of the different issues.

> I'd like to be able to set AcceptEnv in sshd_config from config.scm.
> Currently, this option is not exported in openssh-configuration.

Souds like a good idea!

> General question: How does guixsd handle this? I think this is a general
> problem. Do we expect everyone who wants to configure something, that is
> not yet configurable, to patch guix themself or ask the others to do it?
> What about adding a field 'extraOptions' which is a simple string that
> is appended to the configuration file?

If you want to patch it yourself, feel free to send a patch!  That would
be great, and we'd happily review it.  Otherwise, I can do it if you
want, just let me know.

As for 'extra-options', many services already adopted this strategy.  It
is necessary when some parts of the configuration can't be contributed
to Guix (with the Prosody service, for example, some configurations are
specific to unofficial modules, so we can't contribute them).  I don't
think it is the case with SSH, and having an 'extra-options' field won't
encourage people to contribute the options they need.

However, we really want to give freedom to our users, so if you think
it's too complicated to contribute a new field, or if you don't have
time to wait for it to be added to Guix, that would probably be a good
enough reason to add an 'extre-options' field.

Clément

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-13  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 20:36 export openssh's AcceptEnv option in openssh-configuration Martin Castillo
2018-03-13  8:31 ` Clément Lassieur

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).