From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AH3OMQJNeGA7fwEAgWs5BA (envelope-from ) for ; Thu, 15 Apr 2021 16:26:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SC+AKwJNeGCnUwAAbx9fmQ (envelope-from ) for ; Thu, 15 Apr 2021 14:26:10 +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 2C1DE2B9DF for ; Thu, 15 Apr 2021 16:26:10 +0200 (CEST) Received: from localhost ([::1]:45008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lX2wa-00026r-Ug for larch@yhetil.org; Thu, 15 Apr 2021 10:26:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lX2wU-00026j-1J for bug-guix@gnu.org; Thu, 15 Apr 2021 10:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lX2wT-0001cD-Pz for bug-guix@gnu.org; Thu, 15 Apr 2021 10:26:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lX2wT-0002eF-Lx for bug-guix@gnu.org; Thu, 15 Apr 2021 10:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#36508: GDM files have incorrect owner after temporarily removing service Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 15 Apr 2021 14:26: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: Brendan Tildesley Received: via spool by 36508-submit@debbugs.gnu.org id=B36508.161849670210093 (code B ref 36508); Thu, 15 Apr 2021 14:26:01 +0000 Received: (at 36508) by debbugs.gnu.org; 15 Apr 2021 14:25:02 +0000 Received: from localhost ([127.0.0.1]:38826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lX2vW-0002cb-19 for submit@debbugs.gnu.org; Thu, 15 Apr 2021 10:25:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lX2vT-0002cD-7J for 36508@debbugs.gnu.org; Thu, 15 Apr 2021 10:25:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37295) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lX2vN-0000ou-4j; Thu, 15 Apr 2021 10:24:53 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37672 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lX2vM-0005ij-L9; Thu, 15 Apr 2021 10:24:52 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190705083620.lbzu7a33awbymh3d@cf0> <1576552162.14721.1618320275616@office.mailbox.org> <87czuxsya5.fsf@netris.org> <875z0pgnqn.fsf@gnu.org> <262720830.30369.1618402863721@office.mailbox.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Germinal an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 15 Apr 2021 16:24:51 +0200 In-Reply-To: <262720830.30369.1618402863721@office.mailbox.org> (Brendan Tildesley's message of "Wed, 14 Apr 2021 14:21:03 +0200 (CEST)") Message-ID: <87o8ef8w24.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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: 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=1618496770; 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=gc2BKcpqmA6DLfaNVnQDO87vMuEuO5f4ldcWuydZvvE=; b=SxGlmYhC4UE4GH5vbAvOSwbOwG//9K30p8U48UxugLbCNxhi/sBh4FNtOdLg24BUNqMqiw QwS5mU39sWWJfgxydKl4fjb5dWdkkJAFJ+MicM9cMQ4s4QGn2EOGdeL2RWnrXTIqpdrgHY JVHFIs9RtG6BOGnIiPoTCjbBpVks2DajoEJABGqVFP/Za8blwySAUwVt5Jf6Z+hj8zr36Y gN0wg4mFN3BLUcYZHuGqlPlCPV8+VYEcQXoDHawPpRIr5VTkK8SI2CWL1z5AJkNVcODRBn CEEljJ0m/CmuGd2Fc89hbTVJ+cUwj+tmL5sbhXPIq4BkH5B93EdultMk37hY6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618496770; a=rsa-sha256; cv=none; b=bdZ8GK21sUJ/3GZ2lblWmjYjx7BOtkS0iJ2VFW97XOMczFW5XjAgzRtRLZM7VEwAd8QXs2 3LC6bYcFRsYLsi39MaU/7qDS8j7i4BR6yNObSW1my8H/KuQ2yJyr1McI8VPxF506tPCjgG wefwpNn4ibP3XfLx+oT19g06ID98Xd7x4FCAFjfcx5JWcvjqOJV7Zf1urKdsse+h2tRShP yk7T1U1+KZFQVVRzUBXU1unOcU3EyDvnddUI1wCUBASa4eU4dKg7owlY0L3WmP8nt4y4jw SPKfDkAhDuhd6+Pd3ZEGteisl/Kw54gGW93cNWTByTYl/W7rf9d2x3lSpdzxtQ== 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: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 2C1DE2B9DF X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1dR18YYhmnhz Hi, Brendan Tildesley skribis: >> On 04/14/2021 12:32 PM Ludovic Court=C3=A8s wrote: [...] >> The patch Brendan posted LGTM (though I=E2=80=99m surprised the director= y itself >> can have the right UID/GID while files inside it don=E2=80=99t; perhaps = this was >> made possible by 2161820ebbbab62a5ce76c9101ebaec54dc61586, which chowns >> the home directory unconditionally.) >>=20 >> Note that there are other places, in addition to GDM, where we >> forcefully reset the UID/GID of the home directory (e.g., for the >> =E2=80=98knot-resolver=E2=80=99 service.) >>=20 >> My preferred solution to this would be to unconditionally chown -R home >> directories upon activation (for efficiency, it would be best if we >> could do that if and only if the home directory itself has wrong >> ownership). Thoughts? >>=20 > I'm confused. It sounds like you're suggesting to add the very IF conditi= on that my > patch removes from %gdm-activation in order to fix the problem. I=E2=80=99d like to understand why the =E2=80=98if=E2=80=99 the patch remov= es was problematic. I think it relates to the commit above, but that needs more investigation. Ludo=E2=80=99.