GNU bug report logs -
#38477
[PATCH] services: SSH services: Provide 'ssh' and 'sshd' Shepherd services.
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Tue, 3 Dec 2019 20:02:01 UTC
Severity: normal
Tags: patch
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38477 in the body.
You can then email your comments to 38477 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#38477
; Package
guix-patches
.
(Tue, 03 Dec 2019 20:02:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Famulari <leo <at> famulari.name>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 03 Dec 2019 20:02:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This should improve the "user experience" when querying the status of
the SSH service. We could even add program specific strings like
"lshd", "dropbear", and "openssh". Thoughts?
* gnu/services/ssh.scm (lsh-shepherd-service, dropbear-shepherd-service,
openssh-sheperd-service): Add 'ssh' and 'sshd' to provision.
---
gnu/services/ssh.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm
index ced1991fba..7e25810eff 100644
--- a/gnu/services/ssh.scm
+++ b/gnu/services/ssh.scm
@@ -174,7 +174,7 @@
(list (shepherd-service
(documentation "GNU lsh SSH server")
- (provision '(ssh-daemon))
+ (provision '(ssh-daemon ssh sshd))
(requirement requires)
(start #~(make-forkexec-constructor (list #$@lsh-command)))
(stop #~(make-kill-destructor)))))
@@ -511,7 +511,7 @@ of user-name/file-like tuples."
(list (shepherd-service
(documentation "OpenSSH server.")
(requirement '(syslogd loopback))
- (provision '(ssh-daemon))
+ (provision '(ssh-daemon ssh sshd))
(start #~(make-forkexec-constructor #$openssh-command
#:pid-file #$pid-file))
(stop #~(make-kill-destructor))
@@ -620,7 +620,7 @@ of user-name/file-like tuples."
(list (shepherd-service
(documentation "Dropbear SSH server.")
(requirement requires)
- (provision '(ssh-daemon))
+ (provision '(ssh-daemon ssh sshd))
(start #~(make-forkexec-constructor #$dropbear-command
#:pid-file #$pid-file))
(stop #~(make-kill-destructor)))))
--
2.24.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#38477
; Package
guix-patches
.
(Wed, 04 Dec 2019 03:07:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 38477 <at> debbugs.gnu.org (full text, mbox):
Leo Famulari <leo <at> famulari.name> writes:
> This should improve the "user experience" when querying the status of
> the SSH service. We could even add program specific strings like
> "lshd", "dropbear", and "openssh". Thoughts?
I think this is a good idea. It would add a lot of granular
control. However, we would need to make sure this is a standard used for
other SSH options in the future.
> * gnu/services/ssh.scm (lsh-shepherd-service, dropbear-shepherd-service,
> openssh-sheperd-service): Add 'ssh' and 'sshd' to provision.
> ---
> gnu/services/ssh.scm | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm
> index ced1991fba..7e25810eff 100644
> --- a/gnu/services/ssh.scm
> +++ b/gnu/services/ssh.scm
> @@ -174,7 +174,7 @@
>
> (list (shepherd-service
> (documentation "GNU lsh SSH server")
> - (provision '(ssh-daemon))
> + (provision '(ssh-daemon ssh sshd))
> (requirement requires)
> (start #~(make-forkexec-constructor (list #$@lsh-command)))
> (stop #~(make-kill-destructor)))))
> @@ -511,7 +511,7 @@ of user-name/file-like tuples."
> (list (shepherd-service
> (documentation "OpenSSH server.")
> (requirement '(syslogd loopback))
> - (provision '(ssh-daemon))
> + (provision '(ssh-daemon ssh sshd))
> (start #~(make-forkexec-constructor #$openssh-command
> #:pid-file #$pid-file))
> (stop #~(make-kill-destructor))
> @@ -620,7 +620,7 @@ of user-name/file-like tuples."
> (list (shepherd-service
> (documentation "Dropbear SSH server.")
> (requirement requires)
> - (provision '(ssh-daemon))
> + (provision '(ssh-daemon ssh sshd))
> (start #~(make-forkexec-constructor #$dropbear-command
> #:pid-file #$pid-file))
> (stop #~(make-kill-destructor)))))
LGTM! Very simple solution. Should be easy to cross-implement to other uses.
--
Brett M. Gilio
https://git.sr.ht/~brettgilio/
Reply sent
to
Leo Famulari <leo <at> famulari.name>
:
You have taken responsibility.
(Wed, 04 Dec 2019 13:33:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo Famulari <leo <at> famulari.name>
:
bug acknowledged by developer.
(Wed, 04 Dec 2019 13:33:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 38477-done <at> debbugs.gnu.org (full text, mbox):
On Tue, Dec 03, 2019 at 09:06:28PM -0600, Brett Gilio wrote:
> Leo Famulari <leo <at> famulari.name> writes:
>
> > This should improve the "user experience" when querying the status of
> > the SSH service. We could even add program specific strings like
> > "lshd", "dropbear", and "openssh". Thoughts?
>
> I think this is a good idea. It would add a lot of granular
> control. However, we would need to make sure this is a standard used for
> other SSH options in the future.
Okay, all are welcome to make this change :)
> LGTM! Very simple solution. Should be easy to cross-implement to other uses.
Thanks! Pushed as 1a7633c2397714c492482282da670e47f7dc8177
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 02 Jan 2020 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 115 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.