all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "Maxim Cournoyer" <maxim.cournoyer@gmail.com>,
	"Ludovic Courtès" <ludo@gnu.org>
Cc: dev@jpoiret.xyz, 52051@debbugs.gnu.org
Subject: bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out)
Date: Thu, 16 Dec 2021 19:24:11 +0100	[thread overview]
Message-ID: <8735msz9v8.fsf@jpoiret.xyz> (raw)
In-Reply-To: <87k0gcbw79.fsf@gnu.org>

Hello Maxim and Ludovic,

Seeing all the new activity on this bug, I decided to take a closer
look.

It doesn't seem to me that the credential byte read is the problem, as
can be seen by the elogind strace: it sends

--8<---------------cut here---------------start------------->8---
374   sendmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0AUTH EXTERNAL\r\nDATA\r\n", iov_len=22}, {iov_base="NEGOTIATE_UNIX_FD\r\n", iov_len=19}, {iov_base="BEGIN\r\n", iov_len=7}], msg_iovlen=3, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 48
--8<---------------cut here---------------end--------------->8---

to which dbus answers with

--8<---------------cut here---------------start------------->8---
374   recvmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="DATA\r\nOK ea94265b9365f7158f1d81ee61b20dab\r\nAGREE_UNIX_FD\r\n", iov_len=256}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 58
--8<---------------cut here---------------end--------------->8---

so dbus doesn't seem to choke on the initial authentication (where the
credentials read happens) and it's clear that the byte 0 is properly
sent at the beginning of the handshake procedure.

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

> I'm sorry for my lack of deep analysis here, I've spent most of my
> evening attempting to fix my system just to boot ^^'.  I've at least
> managed to collect the following verbose D-Bus log (54 MiB uncompressed)
> which hopefully can shed some light onto how this failure came to be.

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.

Best,
Josselin Poiret




  reply	other threads:[~2021-12-16 18:25 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 [this message]
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

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

  git send-email \
    --in-reply-to=8735msz9v8.fsf@jpoiret.xyz \
    --to=bug-guix@gnu.org \
    --cc=52051@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=ludo@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.