From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SNc2CU5FBGcCMgAAe85BDQ:P1 (envelope-from ) for ; Mon, 07 Oct 2024 20:32:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SNc2CU5FBGcCMgAAe85BDQ (envelope-from ) for ; Mon, 07 Oct 2024 22:32:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=SznVdPeQ; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PnmUyS25; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728333134; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7X9TyzdWyKgzb1qn8GXV9dleABLx+CcDM0w19MGz+AU=; b=pMBrJzmpzHxgDc0OtNhpgJT/dTuzfqAFVGdzWobI6LvLsw3qSoCqLehYiSsQ+pnuv33liQ oMiCeCqEmIbxbn3jtbSV/ppbNn6ZUPRYAdXYi4pnmpAIlhGK0j8gl9z60fTlxw9kAb+UcP FfENOsJ+0w84ilC3X2WNJ8KbnjbGiN/qFWG0Bok4deDL1yrWZ0lZdiU6mPiAeARJgiaKdq +XQDjIzsNj6AC1saOpQsNP8S+99P52xMRHL4K9CskYg+XjeXb/cr1CW31pHsRC0U5xLN+L /BFTDjQuhMV3mnttr1epKlLeTQsBA4OJI3qbln35QwAQh1HiwWLD7YYHNK5CHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=SznVdPeQ; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PnmUyS25; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728333134; a=rsa-sha256; cv=none; b=Mcy/yWwOunRyjuQKVoFBij5V/gtGZcJmyORF8BYj/+T5+ON01hwde2sCPIWyo12h+eWSls 3E6GjjSVLpycPMZqtSYCKxVGTvunfjbhMSvhvOTk4S35ZM0K6HV8yUe0tvYM/siUqsPhqN jgmgUCDpAPylUZLtiQixyVl71glOI1Gy2RnseaSZ6+wl7QbKkT1iSRCaQd6+FSz79exTbZ 8v05BPlOYFg4WXfGaYxg2S4S4SYX7srSft4k7CNXxuLZEcDaXidQA90e4LHs5Nq7lwCEys EfRlGM6mz69dj5YsHijg7zAA6qaD8v3/1yy3XnpWl5xllZVr3XbS4sjAUCiE9g== 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 03D687F52C for ; Mon, 07 Oct 2024 22:32:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxuOa-00064L-Tu; Mon, 07 Oct 2024 16:31:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxuOY-00063r-CT for bug-guix@gnu.org; Mon, 07 Oct 2024 16:31:54 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sxuOY-00042w-2z for bug-guix@gnu.org; Mon, 07 Oct 2024 16:31:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=7X9TyzdWyKgzb1qn8GXV9dleABLx+CcDM0w19MGz+AU=; b=SznVdPeQgoLNXaZihyrmMLUVeVQ5cxXNGTaa1J3GU7MfXhGxIZ93n7ClgSn3jaVyuZ2lPVd4XjS89hj//OEnYza+sCWCOvMREg1NozsOPWZYlNdhshJK267tp8seqEz7GvTVVTpDZZk5VU1CzkO+THjjw7ax9Sk4JtQW/T+Kof0MH2mzCG29ncPZEmvTD1Rw3ENmnCxDbelevlobXSVGs5ggU5FPHMfmMbNAHP//xMc+oq2HartcWf26cbu1wJUn/dxZQ6teOU76jChO93cgjuRNgXOI75Cv7Ofk0I/+WainiAhQ5lAPrNHWxRKr1shr8dtD1i2dPOafBQU7Lh8A3A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxuOf-0002Wr-N3 for bug-guix@gnu.org; Mon, 07 Oct 2024 16:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73680: Acknowledgement (privileged-programs: cant set setuid/setgid to new accounts/groups) Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 07 Oct 2024 20:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73680 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73680@debbugs.gnu.org Received: via spool by 73680-submit@debbugs.gnu.org id=B73680.17283331019689 (code B ref 73680); Mon, 07 Oct 2024 20:32:01 +0000 Received: (at 73680) by debbugs.gnu.org; 7 Oct 2024 20:31:41 +0000 Received: from localhost ([127.0.0.1]:48451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxuOK-0002WC-JK for submit@debbugs.gnu.org; Mon, 07 Oct 2024 16:31:40 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxuOH-0002Vt-Qr for 73680@debbugs.gnu.org; Mon, 07 Oct 2024 16:31:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id EFA3A240027 for <73680@debbugs.gnu.org>; Mon, 7 Oct 2024 22:31:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1728333080; bh=1Xfp/05UFGrrXVHzQQt6dnTZMliQEZFF0v/osU9Hu9U=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type: Content-Transfer-Encoding:From; b=PnmUyS25evUfMxBC5NTYZM8xguDo0Y0JDtvOKhp8IJ5Lqh4+F7/lex9pUHs6Pz7/O QKNYXnrTrvTzzlLY+8LXN0xqlJJ1z/jZS6YZQFCNPhHDYZ9ij8eIPaCPlG4aBS62ZP FjMA4BjUPYI18QvyoyiajQzkHDiymf2m7GL3bmMq4gcO7Jp15lG1BW1gkFuCyVq+M/ pxuzxOb2yRygZa7gKI8KOZo9Yenqz11kphoXxM8MGJbwCmwlm8bzUYB/aH4appKQ5F f5s3qdoP7J3Tfmw+7HiOsB/WslnJTg2eNH2FAKektEAZTQtSDoEeILB7Ivwe1nyvQy 0pyiAnWlAmFTA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XMrQc4SRFz9rxD for <73680@debbugs.gnu.org>; Mon, 7 Oct 2024 22:31:20 +0200 (CEST) Message-ID: <5c7a4291-cc53-447d-bbc8-33f69788eae8@posteo.net> Date: Mon, 7 Oct 2024 20:31:09 +0000 MIME-Version: 1.0 References: <32a02946-4d85-472c-9035-42cfe3663a3c@posteo.net> Content-Language: en-US From: Dariqq In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 3.02 X-Spam-Score: 3.02 X-Migadu-Queue-Id: 03D687F52C X-TUID: 8tpmdDdFPLkW I have also seen the message when reconfiguring a running system failed to privilege : Success This error seems to come from guiles getgrnam: (used by activate-privileged-programs to get the gid of a group) scheme@(guile-user)> (getgrnam "does-not-exist") ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure getgr: Success Looking at man 3 getgrnam both a 0 or ENOENT return indicate that the gid was not found. Is /etc/groups being recreated on every boot and therefore not yet existing upon boot -> ENOENT? When /etc/groups already exists it returns 0 when not found (which guile interprets as success) ? I dont know why the getgrnam error is being caught by the (catch 'system-error ... ) and the equally invalid getpwnam is not which lead me to an unbootable configuration (reconfigure completing because the user already existed but not yet when ran at boot). I was looking at the extension-graph and the connection between privileged-programs and accounts is not being modeled. Not sure how this should work, because privileged-programs has less information about an account than account-service. Still no idea why opensmtpdsetgid is working on my system but when i run my config through guix system container it does not.