unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Timothy Sample <samplet@ngyro.com>
To: Josselin Poiret <dev@jpoiret.xyz>
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>, 52051@debbugs.gnu.org
Subject: bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out)
Date: Tue, 21 Dec 2021 04:31:27 -0500	[thread overview]
Message-ID: <87czlq1ez4.fsf@ngyro.com> (raw)
In-Reply-To: <8735msz9v8.fsf@jpoiret.xyz> (Josselin Poiret's message of "Thu,  16 Dec 2021 19:24:11 +0100")

Hello,

I dug out an old HDD, put it in my X200, and was able to reproduce this.
Eventually I was able to log in to the thing by fiddling with the
“auth_timeout” parameter in the D-Bus config.

Josselin Poiret <dev@jpoiret.xyz> writes:

> [...]
>
> Would it be possible to get both the elogind strace and the dbus log for
> the same session?  We could then simply `grep` the authentication cookie
> sent back by dbus to elogind to track the corresponding fd in the dbus
> log.

This is exactly what I did (thanks for posting the patches, Maxim).
While looking around in the D-Bus log, I noticed it complaining about
authentication expiry around where it mentions the PID of elogind.  This
is in Maxim’s log, too.  It counts down an authentication expiry with
messages like “Connection 0x23b9f50 authentication expires in ...”.
That brought me to the D-Bus NEWS file, which mentions adjusting
“auth_timeout” to fix a boot regression for users with older hardware
[1].  The NEWS file mentions a bug report [2] that discusses how this
might be related to hard disk speed.

[1] https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/NEWS#L2487
[2] https://bugs.freedesktop.org/show_bug.cgi?id=86431#c3

After reading that I tried with the timeout bumped up to a minute, and
the X200 booted into GDM just fine, twice in row, and then failed again
when I removed the change.  (I should add that it still printed the
“elogind is already running” messages, but it worked anyway.)

What’s weird is that this bug is very old (2014), and the default
timeout was increased at the time from 5s to 30s to solve the bug.  So
it’s part of the story, but not the whole story.


-- Tim




  reply	other threads:[~2021-12-21  9:32 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-23  6:47 bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out) Maxim Cournoyer
2021-11-24  9:02 ` Josselin Poiret via Bug reports for GNU Guix
2021-11-25  3:03   ` Maxim Cournoyer
2021-11-25 22:13     ` Ludovic Courtès
2021-11-25  4:07   ` Maxim Cournoyer
2021-11-25 22:07     ` Maxim Cournoyer
2021-11-26  9:35     ` Josselin Poiret via Bug reports for GNU Guix
2021-12-07 21:23       ` Maxim Cournoyer
2021-12-07 22:15         ` Maxim Cournoyer
2021-12-08 22:18         ` Ludovic Courtès
2021-12-09 14:18           ` Maxim Cournoyer
2021-12-09 22:15             ` Ludovic Courtès
2021-12-10  5:09               ` Maxim Cournoyer
2021-12-10 10:17                 ` Ludovic Courtès
2021-12-16 18:24                   ` Josselin Poiret via Bug reports for GNU Guix
2021-12-21  9:31                     ` Timothy Sample [this message]
2021-12-21 16:13                       ` Leo Famulari
2021-12-21 16:36                         ` Timothy Sample
2021-12-21 16:52                           ` Maxime Devos
2021-12-21 17:32                             ` Leo Famulari
2021-12-21 17:51                               ` Maxime Devos
2021-12-21 18:11                                 ` Leo Famulari
2021-12-21 17:37                           ` Leo Famulari
2021-12-21 17:44                             ` Leo Famulari
2021-12-08  2:12       ` Maxim Cournoyer
2021-12-15 19:27 ` Michael Rohleder
2021-12-16  3:36 ` Abhiseck Paira via Bug reports for GNU Guix
2021-12-16 13:09 ` ison
2021-12-16 17:59   ` bug#52051: [core-updates-frozen] cannot login Guillaume Le Vaillant
2021-12-16 18:53     ` bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out) Michael Rohleder
2021-12-20  0:40 ` Caleb Herbert
2021-12-22  1:46 ` Luis Felipe via Bug reports for GNU Guix
2021-12-22  2:19   ` Leo Famulari
2021-12-22 21:16     ` Leo Famulari
2021-12-22 23:38       ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czlq1ez4.fsf@ngyro.com \
    --to=samplet@ngyro.com \
    --cc=52051@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=maxim.cournoyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).