From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Sample Subject: bug#37423: Changing the login service from GDM to SLiM and then back to GDM causes a really bad loop Date: Tue, 17 Sep 2019 00:45:58 -0400 Message-ID: <871rwf5y49.fsf@ngyro.com> References: <20190916005154.41b74430@interia.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57661) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iA5OJ-0007QF-NI for bug-guix@gnu.org; Tue, 17 Sep 2019 00:47:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iA5OI-0000et-AD for bug-guix@gnu.org; Tue, 17 Sep 2019 00:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iA5OI-0000en-5M for bug-guix@gnu.org; Tue, 17 Sep 2019 00:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iA5OI-0002QG-1k for bug-guix@gnu.org; Tue, 17 Sep 2019 00:47:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190916005154.41b74430@interia.pl> (Jan's message of "Mon, 16 Sep 2019 00:51:54 +0200") 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: Jan Cc: 37423@debbugs.gnu.org Hi Jan, Jan writes: > Hi. > > Changing the login service from GDM to SLiM and then back to GDM makes > GDM to loop like this: > "New session c1 of user gdm." > "Removed session c1." > "New session c2 of user gdm." > "Removed session c2." > ... > > And it continues like this to relatively high numbers like c167. Didn't > check how far it could go, but that's not important anyway. > Reverting to the previous definition of the system by using=20 > "guix system switch-generation" or using grub menu entries doesn't help, > changing /etc/config.scm back to the default gdm configuration and > running=20 > "guix system reconfigure" doesn't help either. Could this be the same issue as ? In short, Guix doesn=E2=80=99t guarantee that the =E2=80=9Cgdm=E2=80=9D user will hav= e the same UID if it gets deleted and recreated (which happens when you remove the GDM service and add it again). You can fix this by ensuring the owner of the files under =E2=80=9C/var/lib/gdm=E2=80=9D is the current =E2=80=9Cgdm= =E2=80=9D user. -- Tim