From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0ATvNthv7F5tBQAA0tVLHw (envelope-from ) for ; Fri, 19 Jun 2020 07:57:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MBzCMthv7F6AEwAA1q6Kng (envelope-from ) for ; Fri, 19 Jun 2020 07:57:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 84E879401CB for ; Fri, 19 Jun 2020 07:57:12 +0000 (UTC) Received: from localhost ([::1]:56534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmBtf-0007Sl-HX for larch@yhetil.org; Fri, 19 Jun 2020 03:57:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmBtW-0007Ni-Ls for guix-patches@gnu.org; Fri, 19 Jun 2020 03:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmBtW-00074S-D2 for guix-patches@gnu.org; Fri, 19 Jun 2020 03:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jmBtW-0004U1-Ce for guix-patches@gnu.org; Fri, 19 Jun 2020 03:57:02 -0400 Subject: bug#41573: [PATCH Shepherd] shepherd: service: Add #:supplementary-groups. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 19 Jun 2020 07:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41573 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Oleg Pykhalov Cc: 41573-done@debbugs.gnu.org Mail-Followup-To: 41573@debbugs.gnu.org, ludo@gnu.org, go.wigust@gmail.com Received: via spool by 41573-done@debbugs.gnu.org id=D41573.159255339317189 (code D ref 41573); Fri, 19 Jun 2020 07:57:02 +0000 Received: (at 41573-done) by debbugs.gnu.org; 19 Jun 2020 07:56:33 +0000 Received: from localhost ([127.0.0.1]:55055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmBt3-0004TB-6c for submit@debbugs.gnu.org; Fri, 19 Jun 2020 03:56:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmBt1-0004Sw-D8 for 41573-done@debbugs.gnu.org; Fri, 19 Jun 2020 03:56:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57646) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmBsw-00070w-2y; Fri, 19 Jun 2020 03:56:26 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37268 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jmBsu-0003Bq-KG; Fri, 19 Jun 2020 03:56:25 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a71sbpr4.fsf@gmail.com> <87mu55s72d.fsf@gnu.org> <871rmb4zdy.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 Messidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 19 Jun 2020 09:56:22 +0200 In-Reply-To: <871rmb4zdy.fsf@gmail.com> (Oleg Pykhalov's message of "Fri, 19 Jun 2020 04:28:57 +0300") Message-ID: <871rmbij4p.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: 7RI0ElpjU98H --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Oleg Pykhalov skribis: > From 20a08c750c4d6126d36835c64fed211299cb03e3 Mon Sep 17 00:00:00 2001 > From: Oleg Pykhalov > Date: Sun, 24 May 2020 20:30:27 +0300 > Subject: [PATCH] service: Add #:supplementary-groups. > > * modules/shepherd/service.scm (format-supplementary-groups): New procedu= re. > (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=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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. --=-=-=--