From: Julien Lepiller <julien@lepiller.eu>
To: Reza Alizadeh Majd <r.majd@pantherx.org>
Cc: guix-devel@gnu.org
Subject: Re: Allow to add more than one group for service user
Date: Wed, 19 Aug 2020 14:13:43 -0400 [thread overview]
Message-ID: <02CEB542-5515-4A42-9349-B598738FBE0C@lepiller.eu> (raw)
In-Reply-To: <20200819204834.4136d041@panther-arch.localdomain>
[-- Attachment #1: Type: text/plain, Size: 1946 bytes --]
From what I understand, the generated /etc/group is correct, but loging as kyc-service, even after a reboot, you don't see the additional groups?
On 2020年8月19日 12:18:34 GMT-04:00, Reza Alizadeh Majd <r.majd@pantherx.org> wrote:
>Hi Julien,
>
>On Wed, 19 Aug 2020 07:11:25 -0400
>Julien Lepiller <julien@lepiller.eu> wrote:
>
>> This kind of message should probably go to guix-help instead. Can you
>> send your user and groups definition you're using? Then we should see
>> if there's anything wrong with it, or if we can reproduce the issue.
>
>
>sorry for interruption, since I assumed this could be a bug I continue
>previous discussion in this mailing list, if you think `help-guix` is
>the proper place to discuss about this issue we can continue on
>following thread:
>
>https://lists.gnu.org/archive/html/help-guix/2020-07/msg00088.html
>
>by the way, here is the user account and groups that I'm using for my
>service definition:
>
>--8<---------------cut here---------------start------------->8---
>(define %kyc-accounts
> (list (user-group (name "kyc-service"))
> (user-group (name "kyc-rpc"))
> (user-account
> (name "kyc-service")
> (group "kyc-service")
> (system? #f)
> (supplementary-groups '("wheel" "kyc-rpc" "video"))
> (comment "KYC service user"))))
>--8<---------------cut here---------------end--------------->8---
>
>later I add these definitions using `account-service-type` extension:
>
>--8<---------------cut here---------------start------------->8---
>(define kyc-service-type
> ...
> (extensions (list ...
> (service-extension account-service-type
> (const %kyc-accounts))))
> ...
>--8<---------------cut here---------------end--------------->8---
>
>
>--
>Reza Alizadeh Majd
>PantherX Team
>https://www.pantherx.org/
[-- Attachment #2: Type: text/html, Size: 2410 bytes --]
next prev parent reply other threads:[~2020-08-19 18:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-19 7:46 Allow to add more than one group for service user Reza Alizadeh Majd
2020-08-19 11:11 ` Julien Lepiller
2020-08-19 16:18 ` Reza Alizadeh Majd
2020-08-19 18:13 ` Julien Lepiller [this message]
2020-08-20 4:32 ` Reza Alizadeh Majd
2020-08-20 5:03 ` Reza Alizadeh Majd
2020-08-20 6:04 ` Oleg Pykhalov
2020-08-20 11:17 ` Reza Alizadeh Majd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=02CEB542-5515-4A42-9349-B598738FBE0C@lepiller.eu \
--to=julien@lepiller.eu \
--cc=guix-devel@gnu.org \
--cc=r.majd@pantherx.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).