From mboxrd@z Thu Jan 1 00:00:00 1970 From: ison Subject: bug#36508: GDM files have incorrect owner after temporarily replacing with SDDM Date: Fri, 5 Jul 2019 02:36:21 -0600 Message-ID: <20190705083620.lbzu7a33awbymh3d@cf0> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57874) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjJiJ-0001Q2-8g for bug-guix@gnu.org; Fri, 05 Jul 2019 04:37:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjJiI-0001m7-Aj for bug-guix@gnu.org; Fri, 05 Jul 2019 04:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hjJiI-0001lo-6R for bug-guix@gnu.org; Fri, 05 Jul 2019 04:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hjJiI-0004cK-1M for bug-guix@gnu.org; Fri, 05 Jul 2019 04:37:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:57796) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjJho-0000eL-2T for bug-guix@gnu.org; Fri, 05 Jul 2019 04:36:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjJhm-0001QC-E9 for bug-guix@gnu.org; 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 ) id 1hjJhl-0001MI-RP for bug-guix@gnu.org; Fri, 05 Jul 2019 04:36:30 -0400 Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36508@debbugs.gnu.org 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)))) -------------------------------