unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Allow to add more than one group for service user
@ 2020-08-19  7:46 Reza Alizadeh Majd
  2020-08-19 11:11 ` Julien Lepiller
  0 siblings, 1 reply; 8+ messages in thread
From: Reza Alizadeh Majd @ 2020-08-19  7:46 UTC (permalink / raw)
  To: Guix Development Mailing List

Hi Guix, 

coming from this thread: 
https://lists.gnu.org/archive/html/help-guix/2020-07/msg00088.html

I had defined a service that needs to run by a specific user. regarding
application creates a unix domain socket during start and change the
ownership of socket file to specific group.

the problem is that daemon user (the user that runs the service) only
detects it's primary group and don't have permission to `chown` the
socket file. 

I also performed another test and run a bash instance inside a `screen`
using the service. when I check for the user groups, I had seen that
only primary group is detected as group for service user. 

I assume that that this might be a bug on group assignment for service
user. or I might missed something in service definition. 

kind regards,
Reza


-- 
Reza Alizadeh Majd
PantherX Team
https://www.pantherx.org/


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-08-20 11:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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