From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mCLANLM2/l/UQQAA0tVLHw (envelope-from ) for ; Tue, 12 Jan 2021 23:54:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cF11MLM2/l8GdwAAbx9fmQ (envelope-from ) for ; Tue, 12 Jan 2021 23:54:27 +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 41E4394021E for ; Tue, 12 Jan 2021 23:54:27 +0000 (UTC) Received: from localhost ([::1]:48150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzTUY-00025t-7Q for larch@yhetil.org; Tue, 12 Jan 2021 18:54:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzTUA-0001nF-5h for bug-guix@gnu.org; Tue, 12 Jan 2021 18:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzTU9-00012r-T2 for bug-guix@gnu.org; Tue, 12 Jan 2021 18:54:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzTU9-0003ZU-Ri for bug-guix@gnu.org; Tue, 12 Jan 2021 18:54:01 -0500 Subject: bug#45830: Assert, that user and group names are unique -> breaks guix system reconfigure Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 12 Jan 2021 23:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 45830 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jonathan Brielmaier Mail-Followup-To: 45830@debbugs.gnu.org, leo.prikler@student.tugraz.at, jonathan.brielmaier@web.de Received: via spool by 45830-done@debbugs.gnu.org id=D45830.161049559813672 (code D ref 45830); Tue, 12 Jan 2021 23:54:01 +0000 Received: (at 45830-done) by debbugs.gnu.org; 12 Jan 2021 23:53:18 +0000 Received: from localhost ([127.0.0.1]:33716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzTTS-0003YS-Bh for submit@debbugs.gnu.org; Tue, 12 Jan 2021 18:53:18 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:51354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzTTO-0003YH-Ho for 45830-done@debbugs.gnu.org; Tue, 12 Jan 2021 18:53:16 -0500 Received: from nijino.local (217-149-169-137.nat.highway.telekom.at [217.149.169.137]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DFnT32m0Rz3x4Q; Wed, 13 Jan 2021 00:53:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1610495591; bh=nuuTj/BdDJxGLvkH/uvg2k6WHx5F7AEsl9CkazUapDc=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=kCNLyZf9P36uiOpySvLzoL9BZWIT/dAyqd2PQEGUizjOtG5QHo0FWmAFaz6qIcpQZ iqPP5vHm7q3qz8rUcw2u1WEw3KJL6uvq4jLXsRfL02QbzyvHIaRWgHZBRNNtWV51HD /5V7WgR+TEeNlqd+0ILWE54mxCRdKhej0bnyZWmU= Message-ID: From: Leo Prikler Date: Wed, 13 Jan 2021 00:53:10 +0100 In-Reply-To: <5563afb3edc7b5b2aba212e3b3faa9d7c0b45d8a.camel@student.tugraz.at> References: <5563afb3edc7b5b2aba212e3b3faa9d7c0b45d8a.camel@student.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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: , Cc: 45830-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=tugraz.at header.s=mailrelay header.b=kCNLyZf9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 41E4394021E X-Spam-Score: -1.26 X-Migadu-Scanner: scn1.migadu.com X-TUID: P4Q1/c3fPUHK Hello again, Am Mittwoch, den 13.01.2021, 00:23 +0100 schrieb Leo Prikler: > Hi Jonathan, > > Am Mittwoch, den 13.01.2021, 00:03 +0100 schrieb Jonathan Brielmaier: > > Hi Leo, > > > > your commit a3002104: > > system: Assert, that user and group names are unique. > > > > breaks `guix system reconfigure` for me and other people (at least > > two > > in IRC). > > > > $ guix system reconfigure config.scm > > guix system: error: the following groups appear more than once: lp > > > > $ sudo grep lp /etc/group > > lp:x:989: > > > > lpadmin:x:975: > > > > $ sudo grep lp /etc/passwd > > lp:!:18467:::::: > It would seem you have two or more services adding an lp group then. > Or one service and a manually defined one. > > > The same happend on my server with the `nginx` group. > Same problem here; you're probably adding an nginx group twice in > some > way. This is especially concerning, given that it's groups twice – > for > some reason nothing is adding additional users or else that check > would > have been triggered first. > > > I reverted it for the mean time, as I find it pretty grave... > I would have preferred, if you could instead have demoted it to a > warning. I understand, that stuff suddenly breaking can be > frustrating, but I doubt the configurations you're using are fine. > > > ~Jonathan > Regards, > Leo I've re-applied the patch with errors demoted to warnings. I hope you and the other people, who've reported this in IRC will be able to figure out where the duplicate groups come from. Regards, Leo