GNU bug report logs - #36508
GDM files have incorrect owner after temporarily replacing with SDDM

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: ison <ison@HIDDEN>; dated Fri, 5 Jul 2019 08:37:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Jul 2019 08:36:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 05 04:36:36 2019
Received: from localhost ([127.0.0.1]:52342 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hjJhs-0004ba-Da
	for submit <at> debbugs.gnu.org; Fri, 05 Jul 2019 04:36:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:40454)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ison@HIDDEN>) id 1hjJhp-0004bQ-4Z
 for submit <at> debbugs.gnu.org; Fri, 05 Jul 2019 04:36:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57796)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <ison@HIDDEN>) id 1hjJho-0000eL-2T
 for bug-guix@HIDDEN; Fri, 05 Jul 2019 04:36:33 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ison@HIDDEN>) id 1hjJhm-0001QC-E9
 for bug-guix@HIDDEN; Fri, 05 Jul 2019 04:36:32 -0400
Received: from mx1.cock.li ([185.10.68.5]:57921 helo=cock.li)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ison@HIDDEN>) id 1hjJhl-0001MI-RP
 for bug-guix@HIDDEN; Fri, 05 Jul 2019 04:36:30 -0400
Date: Fri, 5 Jul 2019 02:36:21 -0600
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=airmail.cc; s=mail;
 t=1562315785; bh=p7HCKNhU2HswCeulPkEXT2m62X0y23+euKfPp/FoiW8=;
 h=Date:From:To:Subject:From;
 b=zN96teQzmCRL+ipAbEmiImLpkddnhyNEvaUUIZIURxaL+0Tvxr7vnI+POnSkpS9Al
 FAx0G1yfrIjHSDBivYxVQAtUwq+IQW1VH/q2z+PHIVEre2P90WinaxXUUyW0Zk7766
 2KDBJN+ywtbbyMkDqO4X3h7bUyhtrlL60tJmQyNzDAWhNYF9KYdozmjUiJ7JcKPPQn
 YdO0eLDkyqVh8DBA5mRrn6dmS7oAwZBh2LX9D8f2ICbHvI1U6rizAdUOMkax8o7k7L
 xvc+7zDO7BtZVHTDqEVPoy253hBrq/5eEAoYGDY6foNwm+rgaYzt6mNGjgkynriL09
 /E5vWeTpy3x1Q==
From: ison <ison@HIDDEN>
To: bug-guix@HIDDEN
Subject: GDM files have incorrect owner after temporarily replacing with SDDM
Message-ID: <20190705083620.lbzu7a33awbymh3d@cf0>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: NeoMutt/20180716
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 185.10.68.5
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

After replacing GDM with SDDM in my Guix System config (to test Wayland) and
then reverting back to my old config and reconfiguring GDM would crash
(printing out around 500 lines about creating a seat)
I also tried rolling back to the generation I had before using SDDM and it would
still crash.
In both instances I also tried "herd restart xorg-server" but same problem.

I then checked the log file /var/log/gdm/greeter.log which had errors such as:
-------------------
Fatal server error:
(EE) Cannot open log file "/var/lib/gdm/.local/share/xorg/Xorg.pid-720.log"
-------------------

And then I could verify that files inside of /var/lib/gdm had incorrect
ownership of 9##:gdm
where 9## was some 3-digit number I can't remember now.
(note: the directory itself /var/lib/gdm still had correct ownership gdm:gdm)

I then manually fixed the ownership with:
chown -R gdm:gdm /var/lib/gdm
and GDM successfully came up without crashing.

The relevant portion of my config when I replaced GDM with SDDM was:
-------------------------------
(operating-system
  ...
  (services
    (cons*
      ...
      (sddm-service
        (sddm-configuration
          (display-server "wayland")))

      ;; Return %desktop-services with GDM removed
      (remove (lambda (service)
                (eq? (service-kind service) gdm-service-type))
              %desktop-services))))
-------------------------------




Acknowledgement sent to ison <ison@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36508; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.