[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1'
From: |
Josselin Poiret |
Subject: |
bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out) |
Date: |
Thu, 16 Dec 2021 19:24:11 +0100 |
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
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Maxim Cournoyer, 2021/12/07
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Maxim Cournoyer, 2021/12/07
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Ludovic Courtès, 2021/12/08
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Maxim Cournoyer, 2021/12/09
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Ludovic Courtès, 2021/12/09
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Maxim Cournoyer, 2021/12/10
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Ludovic Courtès, 2021/12/10
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out),
Josselin Poiret <=
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Timothy Sample, 2021/12/21
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Leo Famulari, 2021/12/21
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Timothy Sample, 2021/12/21
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Maxime Devos, 2021/12/21
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Leo Famulari, 2021/12/21
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Maxime Devos, 2021/12/21
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Leo Famulari, 2021/12/21
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Leo Famulari, 2021/12/21
- bug#52051: [core-updates-frozen] cannot login ('org.freedesktop.login1' service times out), Leo Famulari, 2021/12/21