GNU bug report logs - #40411
Auto-login prevents GDM from starting

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Fri, 3 Apr 2020 16:55:02 UTC

Severity: normal

Merged with 35674

Done: Alex Griffin <a <at> ajgrf.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40411 in the body.
You can then email your comments to 40411 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40411; Package guix. (Fri, 03 Apr 2020 16:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 03 Apr 2020 16:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: bug-guix <at> gnu.org
Subject: Auto-login prevents GDM from starting
Date: Fri, 03 Apr 2020 18:54:04 +0200
[Message part 1 (text/plain, inline)]
With the following GDM service:

--8<---------------cut here---------------start------------->8---
(gdm-service-type
 (gdm-configuration
  (default-user "doe")
  (auto-login? #t)))
--8<---------------cut here---------------end--------------->8---

GDM fails to start (nothing happens, nothing is printed in the TTY).

If I set auto-login? to #f, GDM starts properly (but of course does not
log me in automatically).

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#40411; Package guix. (Fri, 03 Apr 2020 16:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 40411 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 40411 <at> debbugs.gnu.org
Subject: Re: bug#40411: Acknowledgement (Auto-login prevents GDM from starting)
Date: Fri, 03 Apr 2020 18:58:42 +0200
[Message part 1 (text/plain, inline)]
Oops, I did look for similar issues and somehow I missed
https://issues.guix.info/issue/35674
which seems to be very similar to what Alex is experiencing.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#40411; Package guix. (Fri, 03 Apr 2020 17:23:02 GMT) Full text and rfc822 format available.

Message #11 received at 40411 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 40411 <at> debbugs.gnu.org
Subject: Re: bug#40411: Acknowledgement (Auto-login prevents GDM from starting)
Date: Fri, 3 Apr 2020 13:22:25 -0400
On Fri, Apr 03, 2020 at 06:58:42PM +0200, Pierre Neidhardt wrote:
> Oops, I did look for similar issues and somehow I missed
> https://issues.guix.info/issue/35674
> which seems to be very similar to what Alex is experiencing.

If appropriate, please merge the bugs :)




Information forwarded to bug-guix <at> gnu.org:
bug#40411; Package guix. (Fri, 03 Apr 2020 18:27:02 GMT) Full text and rfc822 format available.

Message #14 received at 40411 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Leo Famulari <leo <at> famulari.name>
Cc: 40411 <at> debbugs.gnu.org
Subject: Re: bug#40411: Acknowledgement (Auto-login prevents GDM from starting)
Date: Fri, 03 Apr 2020 20:26:34 +0200
[Message part 1 (text/plain, inline)]
Done.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Merged 35674 40411. Request was from Pierre Neidhardt <mail <at> ambrevar.xyz> to control <at> debbugs.gnu.org. (Fri, 03 Apr 2020 18:27:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#40411; Package guix. (Sun, 14 Jun 2020 23:26:02 GMT) Full text and rfc822 format available.

Message #19 received at 40411 <at> debbugs.gnu.org (full text, mbox):

From: Alex Griffin <a <at> ajgrf.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Cc: "35674 <at> debbugs.gnu.org" <35674 <at> debbugs.gnu.org>,
 "40411 <at> debbugs.gnu.org" <40411 <at> debbugs.gnu.org>
Subject: [PATCH] services: Fix gdm-autologin pam service.
Date: Sun, 14 Jun 2020 23:24:56 +0000
[Message part 1 (text/plain, inline)]
This patch fixes GDM's auto-login feature.

See the discussions in #35674 and #40411. It works for me, but I don't want to just commit it because I don't really understand PAM. (Then again, who does?)

--
Alex Griffin
[0001-services-Fix-gdm-autologin-pam-service.patch (text/x-patch, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#40411; Package guix. (Fri, 02 Oct 2020 17:55:02 GMT) Full text and rfc822 format available.

Message #22 received at 40411 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <marius <at> gnu.org>
To: Alex Griffin <a <at> ajgrf.com>, 41863 <at> debbugs.gnu.org
Cc: "35674 <at> debbugs.gnu.org" <35674 <at> debbugs.gnu.org>,
 "40411 <at> debbugs.gnu.org" <40411 <at> debbugs.gnu.org>
Subject: Re: [bug#41863] [PATCH] services: Fix gdm-autologin pam service.
Date: Fri, 02 Oct 2020 19:54:28 +0200
[Message part 1 (text/plain, inline)]
Alex Griffin via Guix-patches via <guix-patches <at> gnu.org> writes:

> This patch fixes GDM's auto-login feature.
>
> See the discussions in #35674 and #40411. It works for me, but I don't want to just commit it because I don't really understand PAM. (Then again, who does?)

[...]

> @@ -925,7 +926,7 @@ the GNOME desktop environment.")
>      (inherit (unix-pam-service "gdm-autologin"
>                                 #:login-uid? #t))
>      (auth (list (pam-entry
> -                 (control "[success=ok default=1]")
> +                 (control "optional")

This is one of the alternatives Timothy proposed in #35674 back in May
last year(!).  As long as GDM still rejects wrong or blank passwords, I
think it is good to go.

It would be good to get it in 1.2.0.  :-)
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 35674 <at> debbugs.gnu.org and "Alex Griffin" <a <at> ajgrf.com> Request was from Alex Griffin <a <at> ajgrf.com> to control <at> debbugs.gnu.org. (Fri, 18 Feb 2022 16:29:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 19 Mar 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 37 days ago.

Previous Next


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