unofficial mirror of 
 help / color / mirror / code / Atom feed
From: Maya <>
To: "" <>
Subject: User group during build process
Date: Sun, 24 Jul 2022 14:00:32 +0000	[thread overview]
Message-ID: <> (raw)

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


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 (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,


[-- 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:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \

* 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

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).