unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maya <maya.omase@protonmail.com>
To: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: User group during build process
Date: Sun, 24 Jul 2022 14:00:32 +0000	[thread overview]
Message-ID: <scadls36oWlx1-yukvNSIhfcH9dZTmsZxPf_1lUmQs3Qp8qu88NSLIq_zPqbmhhEwe3J_Utnc4DI0oMiOtuKuK1Ho9hEgczkO8Bhcuqbi88=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 830 bytes --]

Hi,

I have been setting up mail server on my guix machine and I have found a bug. The smtpctl command from the opensmptd package requires to be owned by the smtpq group.

The problem is, that this group is added by opensmtp-service, but it is required during the build process as can be seen here http://ci.guix.gnu.org/build/748270/log/raw (search for chgrp)

I write to you since I’m not sure how to fix it idiomatically. Here are my solutions:

a) smtpq can be a system group that exists on all guix machines
b) smtpq will get a static gid, the build process will create a dummy group with that gid, chgrp the file to that group and the opensmtp-service-type will create user-group smtpq with that static gid (i dont know if there’s an index of reserved guix gids)
c) patch the upstream opensmtpd

With all the best,

Maya

[-- Attachment #2: Type: text/html, Size: 1113 bytes --]

             reply	other threads:[~2022-07-24 14:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-24 14:00 Maya [this message]
2022-07-24 14:14 ` User group during build process Tobias Geerinckx-Rice
2022-07-24 16:19   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2022-07-24 19:17     ` Maya
2022-07-24 19:57       ` Tobias Geerinckx-Rice

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='scadls36oWlx1-yukvNSIhfcH9dZTmsZxPf_1lUmQs3Qp8qu88NSLIq_zPqbmhhEwe3J_Utnc4DI0oMiOtuKuK1Ho9hEgczkO8Bhcuqbi88=@protonmail.com' \
    --to=maya.omase@protonmail.com \
    --cc=guix-devel@gnu.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).