Re: User group during build process

2022-07-24 Thread Tobias Geerinckx-Rice
Hiya, On 24 July 2022 19:17:29 UTC, Maya wrote: > shouldn’t opensmtpd-service-type already extend setuid-program-service-type > with appropriate setuids? A matter of taste (I disagree with your characterisation 'useless'!), but I certainly wouldn't mind. Plenty of services do this for

Re: User group during build process

2022-07-24 Thread Maya
Hi! Thank you both for the responses. Although I wanted to ask you, can I use the setuid-program-service-type? If yes, shouldn’t opensmtpd-service-type already extend setuid-program-service-type with appropriate setuids? As it right now renders smtpctl unusable. With all the best wishes,

Re: User group during build process

2022-07-24 Thread Development of GNU Guix and the GNU System distribution.
Hi, On Sun, Jul 24, 2022 at 7:14 AM Tobias Geerinckx-Rice wrote: > > The correct way to make smtpctl setgid is to use Guix System's > setuid-programs field, and use (setgid? #t) (group "smtpq") for smtpctl. In line with TGR's recommendation, the snippet below works locally. Kind regards Felix

Re: User group during build process

2022-07-24 Thread Tobias Geerinckx-Rice
Hi Maya! So... You cannot change group ownership in the store. There are no additional user groups in the build environment. The chgrp failing is by design ('it's a feature, not a bug'), and there's no way to subvert this. The group is not required during the build process. The correct way

User group during build process

2022-07-24 Thread Maya
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