From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SFgAGRRDqWOUawAAbAwnHQ (envelope-from ) for ; Mon, 26 Dec 2022 07:45:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UEX8GBRDqWO4NwAA9RJhRA (envelope-from ) for ; Mon, 26 Dec 2022 07:45:40 +0100 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 0C4A6E20B for ; Mon, 26 Dec 2022 07:45:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9hEP-0000ua-Jw; Mon, 26 Dec 2022 01:45:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9hEN-0000uJ-7F for guix-patches@gnu.org; Mon, 26 Dec 2022 01:45:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9hEM-0001Ah-RM for guix-patches@gnu.org; Mon, 26 Dec 2022 01:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p9hEM-0001Ur-IM for guix-patches@gnu.org; Mon, 26 Dec 2022 01:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60320] [PATCH] doc: Improve user-group documentation. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Dec 2022 06:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60320 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Josefsson , 60320@debbugs.gnu.org Received: via spool by 60320-submit@debbugs.gnu.org id=B60320.16720370685687 (code B ref 60320); Mon, 26 Dec 2022 06:45:02 +0000 Received: (at 60320) by debbugs.gnu.org; 26 Dec 2022 06:44:28 +0000 Received: from localhost ([127.0.0.1]:50623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9hDn-0001Tf-NP for submit@debbugs.gnu.org; Mon, 26 Dec 2022 01:44:28 -0500 Received: from lepiller.eu ([89.234.186.109]:39062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9hDl-0001TU-5e for 60320@debbugs.gnu.org; Mon, 26 Dec 2022 01:44:26 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id acbf10c8; Mon, 26 Dec 2022 06:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=EPu/5MhcisfW 3PplSVjdhd3FVb/ll78S6asrbCMEOn0=; b=aAtdwze8XkSYQihFORLbk71ujJ8Q bpGaq4V1kUokwG+hN+rPw0NS2/JYqaQXeI1l89XjQF7bda7XnzUk4I8AVEawIE8J 2JhrqdEmRKI3fbIlxvKOCmAeBPZHxNehGRMTkv2T7KPpXc8YYpBiCrBOHSREu9Ty 4ZDiLDlc3iafQdm21wKtVgeDg+wgwq/+dXWvcGX/l15+gpXxL9F4fcgZygJSvYC8 vhMfwxVKPJIysZIGOBSVP19Yc6yenrVt5cHkh2lL+OlcEjRtJC1iqvD38v+jRApZ xen6GG8DoSFs2riS/nPgHOVslCfFnL3gtugy84PdL3hCTbS7znx8vvU7Fg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id e6c62042 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 26 Dec 2022 06:44:22 +0000 (UTC) Date: Mon, 26 Dec 2022 07:43:46 +0100 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: <871qonmbaz.fsf@josefsson.org> References: <871qonmbaz.fsf@josefsson.org> Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----XNKCSNY3MCJZ3POR7PBZDFM4ZWQFZI Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672037140; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8Kt7TOHi3unqGjDKwlEfVsqj+Q7rZhlq3mJVe4YWU7w=; b=I78uR35coA1WX7WnTVlygsOr53VMxguUVCq8MxSxDM1FfnHM1r4mPGgt4Zy1HeXCD3ws6Q TzXLCs5Req8gYNMRPYh0HMLAvYP78UQF6N+KHYuTZEfSLlg7vSnTjr7SGWUa26ko+EStvk TQ2Mm0hSSNGDmwqIkIT0ZieGodQ0erafI7CAjLNYTn6pql8Kf8V2uxGr7j5rZx6bFXwyWI ZuPmZaoLqdN5uiq2I+MyQVtiTM3yorYEWa4U+1r+t45TRSAkk535+JZPwxIdC5+NJEgzGI JBwS12FbmljN1z41YJ2ILq+bavEbTyhcYq2frYSpfk+9SIy9TMzv8NuLZoBlIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=aAtdwze8; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672037140; a=rsa-sha256; cv=none; b=kgWZXSL7WUbCBDwyCkQJ3Kri9dHnt4oKCnL0hi0JCs1DrW2djr2/nTuAU+89fN7ONAd33f UDqny48jc4myxAHQ7xqh8IEL2/injZJRBx7rlk2NIYi2i2m7VPAPfVL/vSZejBEXT+4y7R 2KYnaPK6vhWYSsbg7I2IEBH5JWlVLQR6b6pju29FU3IWnQV7Rhw4edlGv0g9hzEMwD4rqn JXPLHlOZpMIBHUINX+2iBbSS9gI3uzRpLKdoKqo4FiwTZtdPPpwQb0R+AQ2ruSuVDmX8XY PCBMEmBIFBBO6HVM05iFUW5gKflN77fchpLk7LwN2Wiuqdrnm3NSO9YO8HGbpQ== X-Spam-Score: 5.98 X-Migadu-Queue-Id: 0C4A6E20B Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=aAtdwze8; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 5.98 X-TUID: Nfhbztjmu9QW ------XNKCSNY3MCJZ3POR7PBZDFM4ZWQFZI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think the group was created, but you probably forgot to add yourself to t= hat new group=2E At least, what you show us looks correct, for adding a gro= up to you os declaration=2E Note your user-group example is unbalanced=2E The manual is a bit long to = read, but it seems correct to me=2E Le 25 d=C3=A9cembre 2022 22:19:00 GMT+01:00, Simon Josefsson via Guix-patc= hes via a =C3=A9crit=C2=A0: >Hi=2E > >Not knowing better I added this to my operating-system form: > > (groups (cons* (user-group > (name "jas") > (id "1000")) > %base-groups)) > >Running 'guix system reconfigure /etc/config=2Escm' worked fine, and upon >boot I was placed in group 30001=2E Any idea what happened? A warning >would have been nice=2E > >If there had been an example in the manual I wouldn't have made the >mistake, so the attached patch improves this manual page: >https://guix=2Egnu=2Eorg/en/manual/en/html_node/User-Accounts=2Ehtml#User= -Accounts > >/Simon ------XNKCSNY3MCJZ3POR7PBZDFM4ZWQFZI Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think the group was created, but you probably fo= rgot to add yourself to that new group=2E At least, what you show us looks = correct, for adding a group to you os declaration=2E

Note your user-= group example is unbalanced=2E The manual is a bit long to read, but it see= ms correct to me=2E

Le 25 d=C3=A9cembre 2= 022 22:19:00 GMT+01:00, Simon Josefsson via Guix-patches via <guix-patch= es@gnu=2Eorg> a =C3=A9crit=C2=A0:
Hi=2E

Not knowing better I added= this to my operating-system form:

(groups (cons* (user-group
= (name "jas")
(id "1000"))
= %base-groups))

Running 'guix system reconfigure /etc/config= =2Escm' worked fine, and upon
boot I was placed in group 30001=2E Any i= dea what happened? A warning
would have been nice=2E

If there ha= d been an example in the manual I wouldn't have made the
mistake, so the= attached patch improves this manual page:
https://g= uix=2Egnu=2Eorg/en/manual/en/html_node/User-Accounts=2Ehtml#User-Accounts

/Simon
------XNKCSNY3MCJZ3POR7PBZDFM4ZWQFZI--