From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YORICQXZPF8cNAAA0tVLHw (envelope-from ) for ; Wed, 19 Aug 2020 07:47:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GNQ7BQXZPF90PQAA1q6Kng (envelope-from ) for ; Wed, 19 Aug 2020 07:47:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A98E594053C for ; Wed, 19 Aug 2020 07:47:16 +0000 (UTC) Received: from localhost ([::1]:56356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8IoV-00084U-Ma for larch@yhetil.org; Wed, 19 Aug 2020 03:47:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8IoN-00084M-5x for guix-devel@gnu.org; Wed, 19 Aug 2020 03:47:07 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:42019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8IoL-00051L-8B for guix-devel@gnu.org; Wed, 19 Aug 2020 03:47:06 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 61F435C0099 for ; Wed, 19 Aug 2020 03:47:04 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 19 Aug 2020 03:47:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=fm3; bh=clGM4raW/e/+M79w2oN6j2ws5y L4tYWobr5vlrnhzKQ=; b=DsDOCvLFBbbodLuAIkDg9fLQ1t5DjW4ul4ev3YpAx/ 05eq+/DcqDkh3dqRkKjRcZdDjvi5Dw7PLv5LgY7mY0K4pUp0ljZN6Vd0ZMG7uVfs ZQYAZS+ZPkFyIlO3eOQMeAs4Uh8n7E5A0482RPx8bmizQ7TcvKDkD1U3/0B18ic6 +a9eArynSty9KXNKL31u+sUq/r//snLclczycZdR4nBseKF1Wz9mJU0YriCx/tnT KAaMHFEKLjPYrGps2dSYYetDRoXiiZRkNN9DbEkeQ86g9JKppPnUaxYQLKhIOSBI RulgsFXzEASN81j4PklxkE4Rfs3HeRmr/ZZrQ1C9UUEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=clGM4r aW/e/+M79w2oN6j2ws5yL4tYWobr5vlrnhzKQ=; b=AIlmDJ1qBszZxukns7p44g jnJRMxNa5v1n83k69jFV/AecBgormisxFj/OJ/z4YNGDO5nqL42tpWofdbUGfMgu miSTPOuGOiqGCFnIdFEiJ37nypTI8qq93GqIHs+w005bROvoCg4MrdcFbJpjO+11 R2nKiYCQ8e1g/l7qweo/Rqf9q0+9L1F5/o0BoxZtYtObVyNzkbGn2LMzG1PTRpUk jwi2tUqmF8wLzepTOGV/Ubg+q2cFMo9DoDhsCHo7t/6PIyAMCpAElKMK0usZREzm npTlRQGVQWtK3fAI8N8EEucyA1OqbJqQ1kho1bNOFeXQPwDKvJnnIMMsPtmifOdQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddtjedgjeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhoofggtgfgsehtjeertdertddvnecuhfhrohhmpeftvgiirgcu tehlihiirgguvghhucforghjugcuoehrrdhmrghjugesphgrnhhthhgvrhigrdhorhhgqe enucggtffrrghtthgvrhhnpefhhffhvefghfelleeuvefgkeelheeihfdvlefggeehvdek feekgfelfedvtefhtdenucffohhmrghinhepghhnuhdrohhrghdpphgrnhhthhgvrhigrd horhhgnecukfhppeejledrudefvddrvddufedrvdegjeenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrrdhmrghjugesphgrnhhthhgvrhigrd horhhg X-ME-Proxy: Received: from panther-arch.localdomain (unknown [79.132.213.247]) by mail.messagingengine.com (Postfix) with ESMTPA id 2506530600B4 for ; Wed, 19 Aug 2020 03:47:02 -0400 (EDT) Date: Wed, 19 Aug 2020 12:16:59 +0430 From: Reza Alizadeh Majd To: Guix Development Mailing List Subject: Allow to add more than one group for service user Message-ID: <20200819121659.2d1d7fb6@panther-arch.localdomain> Organization: PantherX X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=66.111.4.26; envelope-from=r.majd@pantherx.org; helo=out2-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 03:47:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pantherx.org header.s=fm3 header.b=DsDOCvLF; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=AIlmDJ1q; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: w+8LrQ+IXnLS 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/