emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#41573: closed ([PATCH Shepherd] shepherd: service: Add #:supplementa


From: GNU bug Tracking System
Subject: bug#41573: closed ([PATCH Shepherd] shepherd: service: Add #:supplementary-groups.)
Date: Fri, 19 Jun 2020 07:57:02 +0000

Your message dated Fri, 19 Jun 2020 09:56:22 +0200
with message-id <871rmbij4p.fsf@gnu.org>
and subject line Re: [bug#41573] [PATCH Shepherd] shepherd: service: Add 
#:supplementary-groups.
has caused the debbugs.gnu.org bug report #41573,
regarding [PATCH Shepherd] shepherd: service: Add #:supplementary-groups.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41573: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41573
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH Shepherd] shepherd: service: Add #:supplementary-groups. Date: Thu, 28 May 2020 08:19:27 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hello Guix,

This patch provides a way to specify supplementary groups for services.
It's useful for services which could be used with a Docker group,
e.g. Jenkins.

‘shepherd’ package in Guix succeeded to build with current patch.  And I
succeeded to pull and reconfigure my Guix system with it.  Also ‘make
check’ in Shepherd's Git repository passes tests.

Attachment: 0001-service-Add-supplementary-groups.patch
Description: [PATCH Shepherd] shepherd: service: Add #:supplementary-groups.

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: [bug#41573] [PATCH Shepherd] shepherd: service: Add #:supplementary-groups. Date: Fri, 19 Jun 2020 09:56:22 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hi,

Oleg Pykhalov <go.wigust@gmail.com> skribis:

> From 20a08c750c4d6126d36835c64fed211299cb03e3 Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust@gmail.com>
> Date: Sun, 24 May 2020 20:30:27 +0300
> Subject: [PATCH] service: Add #:supplementary-groups.
>
> * modules/shepherd/service.scm (format-supplementary-groups): New procedure.
> (exec-command, fork+exec-command, make-forkexec-constructor): Add
> '#:supplementary-groups'.
> * doc/shepherd.texi (Service De- and Constructors): Document this.

Applied with the change below, thanks!

Ludo’.

diff --git a/doc/shepherd.texi b/doc/shepherd.texi
index 18f1a4d..696477e 100644
--- a/doc/shepherd.texi
+++ b/doc/shepherd.texi
@@ -967,7 +967,7 @@ immediately before invoking @var{command}.  @var{user} may 
be a string,
 indicating a user name, or a number, indicating a user ID.  Likewise,
 @var{command} will be run under the current group, unless the
 @var{group} keyword argument is present and not false, and
-supplementary-groups is not '().
+@var{supplementary-groups} is not @code{'()}.
 
 @code{fork+exec-command} does the same as @code{exec-command}, but in
 a separate process whose PID it returns.

--- End Message ---

reply via email to

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