From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org> Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aDWZFBXlJGNPOwAAbAwnHQ (envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Fri, 16 Sep 2022 23:05:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WA6ZFBXlJGO3fgEAauVa8A (envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Fri, 16 Sep 2022 23:05:25 +0200 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 F0B562360C for <larch@yhetil.org>; Fri, 16 Sep 2022 23:05:24 +0200 (CEST) Received: from localhost ([::1]:51260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>) id 1oZIWZ-00034B-SV for larch@yhetil.org; Fri, 16 Sep 2022 17:05:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oZIWF-0002f0-DV for bug-guix@gnu.org; Fri, 16 Sep 2022 17:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oZIWF-0000x0-4X for bug-guix@gnu.org; Fri, 16 Sep 2022 17:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oZIWE-0000c0-M5 for bug-guix@gnu.org; Fri, 16 Sep 2022 17:05:02 -0400 Subject: bug#44944: Unable to log into X session via gdm Resent-From: Maxim Cournoyer <maxim.cournoyer@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-To: bug-guix@gnu.org Resent-Date: Fri, 16 Sep 2022 21:05:02 +0000 Resent-Message-ID: <handler.44944.D44944.16633622422270.done@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44944 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic <dannym@scratchpost.org> Cc: 44944-done@debbugs.gnu.org Mail-Followup-To: 44944@debbugs.gnu.org, maxim.cournoyer@gmail.com, dannym@scratchpost.org Received: via spool by 44944-done@debbugs.gnu.org id=D44944.16633622422270 (code D ref 44944); Fri, 16 Sep 2022 21:05:02 +0000 Received: (at 44944-done) by debbugs.gnu.org; 16 Sep 2022 21:04:02 +0000 Received: from localhost ([127.0.0.1]:44458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1oZIVF-0000aX-Ri for submit@debbugs.gnu.org; Fri, 16 Sep 2022 17:04:02 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:34348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@gmail.com>) id 1oZIVC-0000a2-KK for 44944-done@debbugs.gnu.org; Fri, 16 Sep 2022 17:04:00 -0400 Received: by mail-qk1-f174.google.com with SMTP id g2so13861266qkk.1 for <44944-done@debbugs.gnu.org>; Fri, 16 Sep 2022 14:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date; bh=tmsN7LB/nce4RXt2DY89FIjFsolWfuT3uDJbVSmQ+o8=; b=fNSaR4W9Uo6G3xvgF1EgxVwzqOMS9Ud98c3mELdi1esFnFEEYNLnw4SjbIPsBR9dji s/RWumRViWSwXp3BMlZLEm718JnfsBjVV50i0hPD/eKEXZ4roZwlHZYqU584UXHCMjqh I8xbBpfe2pQYoAqRC6hyhvt+E2ICXhiPiY96HG79iBU8jFlfC2/QXIPdI/o7B5glgOO0 8iRnYLM6XFgu5BqBbUUAbMSBBgsyEemwmcc4jcA9NTSFzVNIsplGvxptR98wPp+maUBX sTNh0FJs49JFiFoyvCjBeaerOJwaBH0ZuaC3+4hppjWPeGaK85jr+21lVN+VCkglm0S0 FXoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=tmsN7LB/nce4RXt2DY89FIjFsolWfuT3uDJbVSmQ+o8=; b=h+z0MymggmHhXD93sN2+XS+dg8o6WolwNIoPf8+DsRchBPlFa7D/GK9Y/N4On+1Yob tJtaVGTkN0yxM8KuX0FXbkOa8DcwXY6Ds5/zuKN0EHZuLthUFpFTk4w+HQsYXpMY4Glw lr1kgbIhykiuq22dVTluXQMgorQ2m2uSGTR8eqy4ILUto0/8ypTqod5zAoVm2Hnt3kZY AIyK0+UAocc+drelsNZ46wpQ6QRX3dHLDeiq3fsc0+I3Lt/i2M+KSru5yDrvJSxCwh2/ aMChXDF45jCRUR8g8fSDF5VFe0MUn9bECEB3+o6ta8OhIXQUaSaNrF8FtVIwenwrITh0 riNQ== X-Gm-Message-State: ACrzQf04JcTTNC1OUfQbqo3Bq8hSv7yubsdeieCYPE5V0hM1vfVNdW0G I95oRAd6b4a2iI/I0rqxeEQHEOAqe+k= X-Google-Smtp-Source: AMsMyM7f6uGqTmCcetYsSQC3e+1SJu5uCic6NbJdgHO8PrPnFNUq+pojohFisLlMdAZWd8P9HOoPVw== X-Received: by 2002:a37:6c03:0:b0:6ce:a0b5:461e with SMTP id h3-20020a376c03000000b006cea0b5461emr5276614qkc.343.1663362232791; Fri, 16 Sep 2022 14:03:52 -0700 (PDT) Received: from hurd (dsl-155-48.b2b2c.ca. [66.158.155.48]) by smtp.gmail.com with ESMTPSA id bp44-20020a05622a1bac00b0034456277e3asm5736212qtb.89.2022.09.16.14.03.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 14:03:52 -0700 (PDT) From: Maxim Cournoyer <maxim.cournoyer@gmail.com> References: <20201129140240.546b1403@scratchpost.org> <8735crdu0p.fsf@gmail.com> Date: Fri, 16 Sep 2022 17:03:50 -0400 In-Reply-To: <8735crdu0p.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 16 Sep 2022 15:00:22 -0400") Message-ID: <87k063jakp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 <bug-guix.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>, <mailto:bug-guix-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/bug-guix> List-Post: <mailto:bug-guix@gnu.org> List-Help: <mailto:bug-guix-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>, <mailto:bug-guix-request@gnu.org?subject=subscribe> Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" <bug-guix-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663362325; 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:resent-to: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=tmsN7LB/nce4RXt2DY89FIjFsolWfuT3uDJbVSmQ+o8=; b=Suet5nADZq5+qRz9V68Xy/GrsGdGhHJOerfu5bXz/HScLOIxDVGTi4vtYe90J1RCncopWL Q0i3N07D/TObNGJld2MyQ3aaKQCJG25iNvwRwUEtAPMQONPOfdgTOJoPN3qHbwo6CUhTRt PW5xrEY86QXvPNvHuP8yYBxCm+EcOJjFbSHuZBb3mhXZ4wGCOol5iikHCPs/fbNbTMhJVm qQRJZOQUckXjkTWITbxvho4JPYo9zLm1bUkTLihR1pMMkAKRbQuNTlb29qYFOFCa6k8vLZ O6N+SAIYxPqy4gCx/2k/v7eMsiuZQ4ZWDEATxoYQam9orKsxJ6BI7zyPR+sZnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663362325; a=rsa-sha256; cv=none; b=nVM9G56vVRPdfOTLWSsNSdqo0KLkZQiic/xwl2mqqcEjlwF9yG9DFE6SxU5/3wlw+rz3w0 sVgRe6lBugK2q6XncRKsUVbvyvtGWs0ICWxUjfytBe9vYETRL+nmOxjMBAe18b/t9GxMbF Bm35mB5LlAsXcJ29w21A0Fj3lHy3tGYy2TILA9dUlGMBIjNdnk1ANTNzp/gQlEnjVxxye8 N3hgTiz96wOA6S2EmgyuWF1G3UcPsVrufWvggSjtGLgAbayD8M1yVEa1ChZBqd8znqLP9n 4ni21tRXFcmjsogyrO26AaynbL9VcaOvyoqVWkxc+Mamt9TNkdE9ooLROCNDFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fNSaR4W9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 6.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fNSaR4W9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: F0B562360C X-Spam-Score: 6.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: S6X1zwcQrVDq Hi, Maxim Cournoyer <maxim.cournoyer@gmail.com> writes: [...] > /var/lib/gdm/.local/share/xorg: > total 132 > drwxr-xr-x 1 nixbld04 opendht 96 Dec 8 2021 . > drwxr-xr-x 1 nixbld04 opendht 72 Dec 7 2021 .. > -rw-r--r-- 1 nixbld04 opendht 52932 Dec 8 2021 Xorg.0.log > -rw-r--r-- 1 nixbld04 opendht 53878 Dec 8 2021 Xorg.0.log.old > -rw-r--r-- 1 nixbld04 opendht 10481 Dec 8 2021 Xorg.1.log > -rw-r--r-- 1 nixbld04 opendht 10481 Dec 8 2021 Xorg.1.log.old > > We have some logic in %gdm-activation that was supposed to fix that, but > it doesn't kick in, because it has some optimization to not recurse if > the top dir has the correct permissions, and since d429878daf3 the top > directory permissions are always controlled at system activation time > (and this must happen before the gdm activation script runs). > > I'll follow-up with a patch that puts /var/lib/gdm on a tmpfs. This > should avoid many pitfalls people have had. Pushed as d7e56aebec. This should fix the issue for good! Closing. Maxim