From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cEjQF5gKe2BX4gAAgWs5BA (envelope-from ) for ; Sat, 17 Apr 2021 18:19:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wFRREpgKe2BCSwAAB5/wlQ (envelope-from ) for ; Sat, 17 Apr 2021 16:19:36 +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 C69D4B1C8 for ; Sat, 17 Apr 2021 18:19:35 +0200 (CEST) Received: from localhost ([::1]:37546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXnfS-0003Rj-Oe for larch@yhetil.org; Sat, 17 Apr 2021 12:19:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXnf2-0003Ra-34 for bug-guix@gnu.org; Sat, 17 Apr 2021 12:19:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXnew-0004Pf-4u for bug-guix@gnu.org; Sat, 17 Apr 2021 12:19:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXnew-0004JR-0n for bug-guix@gnu.org; Sat, 17 Apr 2021 12:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#36508: GDM files have incorrect owner after temporarily removing service Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 17 Apr 2021 16:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36508 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 36508-submit@debbugs.gnu.org id=B36508.161867632216550 (code B ref 36508); Sat, 17 Apr 2021 16:19:01 +0000 Received: (at 36508) by debbugs.gnu.org; 17 Apr 2021 16:18:42 +0000 Received: from localhost ([127.0.0.1]:44212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXneb-0004Is-Oe for submit@debbugs.gnu.org; Sat, 17 Apr 2021 12:18:41 -0400 Received: from world.peace.net ([64.112.178.59]:45424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXnea-0004If-6i for 36508@debbugs.gnu.org; Sat, 17 Apr 2021 12:18:40 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lXneT-0003aW-22; Sat, 17 Apr 2021 12:18:33 -0400 From: Mark H Weaver In-Reply-To: <87tuo645sh.fsf@gnu.org> References: <20190705083620.lbzu7a33awbymh3d@cf0> <1576552162.14721.1618320275616@office.mailbox.org> <87czuxsya5.fsf@netris.org> <875z0pgnqn.fsf@gnu.org> <87lf9jiems.fsf@netris.org> <878s5j8ga7.fsf@gnu.org> <87zgxzgpbf.fsf@netris.org> <87tuo645sh.fsf@gnu.org> Date: Sat, 17 Apr 2021 12:16:43 -0400 Message-ID: <87blac9989.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Brendan Tildesley , 36508@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618676375; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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; bh=a2tGtM7Hs6/jPm+GIRuFL5k46v99+jx9/Fds7C7uhlc=; b=AAw2eMYKkia8fxm4tUDXhLld6krVyVeV5XePqvS+qyyJsFQdwMK70ct1aMpoV2qRK3KD2N ecQ3sOpi6TE2KC3uImt46H65F+G5WZ2fwlJGlMrhKnVZXBka0BS1nVBlHvwOomHg1YpM/Q /Pqr/vJ7ATBJQWUgrVF2HGQz9FnbX7kvb2q1He1txgI8rN0GNCNMS+Z3yQhGl1DgyYct3k VcGdEFD327fG3pPo4jsw9xOnqgnKN0Uls7WnRVE8jkCSu82trb3yuv13woYUlPMHsijcHy bKeuBtQT5aK6QUqkOG/sOUvc7Lvnkw+72FnYaDwUQwcCDN/eiJBEqnpaTTS5cw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618676375; a=rsa-sha256; cv=none; b=hPDS8XneHtwdKIpiM80PFbTIha2cgONotIbG2aTfqqKvJx5si1v0uw7Z6YAXFf9BrgXKx0 ZHFQyjqlgBaSimMCDI2dPD8Gnb+pzayD5q7UpxrRnJuLA46C+0I92ob6ZcoIyjZ2rFfWJa T7324NC1pbLatzXgl4BXGeELlrpnCGe3u9hfr0GrbKRKjI74YZN13Xd/eEeOR8NCdRaOO1 DomXH6+EKyEIWZzMbly/drbWvsua8wCeG4XN2Y7TkXnzXfkVmewKtq4t/xAViZq2WCDjC/ r+PucB2Ry78L9GxAY9FlicGqXHy0Wz/Br8izaQWhH6+KDSs4D+6w+FNs5p677g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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-Spam-Score: -0.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: C69D4B1C8 X-Spam-Score: -0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: vkC/FBSZ/9pM Hi Ludovic, Ludovic Court=C3=A8s writes: > Mark H Weaver skribis: > >>> Maintain historical mappings from user/group names to UIDs/GIDs, perhaps >>> in some file in /etc, where entries are added but *never* automatically >>> removed. When allocating UIDs/GIDs, we would avoid any UIDs/GIDs in the >>> range of those mappings. > > If we=E2=80=99re just worried about ID allocation, we could keep state in= , say, > /etc/previous-uids, and feed that as input to the (gnu build accounts) > allocation code. Sounds good to me, or at least better than the other available options. Thanks, Mark