unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 52051@debbugs.gnu.org
Subject: bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out)
Date: Wed, 08 Dec 2021 23:18:47 +0100	[thread overview]
Message-ID: <87a6hahha0.fsf@gnu.org> (raw)
In-Reply-To: <87mtlcun1h.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 07 Dec 2021 16:23:38 -0500")

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> Dec  7 15:55:02 localhost shepherd[1]: Service dbus-system has been started.
> [...]
> Dec  7 15:55:10 localhost shepherd[1]: Service ntpd has been started.
> [...]
> Dec  7 15:54:46 localhost ntpd[341]: ntpd 4.2.8p15@1.3728-o Thu Jan  1 12:00:01 AM UTC 1970 (1): Starting
> [...]
> Dec  7 15:55:14 localhost shepherd[1]: Service elogind has been started.
> [...]
> Dec  7 15:55:21 localhost shepherd[1]: Service upower-daemon has been started.
> [...]
> Dec  7 15:54:51 localhost dbus-daemon[335]: [system] Activating service name='org.freedesktop.login1' requested by ':1.1' (uid=0 pid=345 comm="/gnu/store/g1qlpzcfnk2r6186al2hfqjmq9yl7qkk-upower") (using servicehelper)

The key thing here is that dbus-daemon things elogind is not running and
thus considers it has to start it, which is bound to fail.

You can display the list of services known to the DBus system bus with:

  dbus-send --system --print-reply --dest=org.freedesktop.DBus \
    /org/freedesktop/DBus org.freedesktop.DBus.ListNames

I tried in a VM that had booted fine and it shows
“org.freedesktop.login1” as expected.  Could you check what that gives
for you when the bug above shows up?

I wonder if it’s possible for there to be a race, like elogind says
“hi!” to dbus-daemon but dbus-daemon is still sleepy and doesn’t notice.
Seems hard to believe though.

If it’s reproducible, could you instrument ‘elogind-service-type’ such
that elogind is started with “strace -f -o /elogind.log -s 700”?

HTH,
Ludo’.




  parent reply	other threads:[~2021-12-08 22:19 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 [this message]
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
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=87a6hahha0.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=52051@debbugs.gnu.org \
    --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).