[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tty heuristics in lib/readutmp.c exclude "web" sessions
From: |
Bruno Haible |
Subject: |
Re: tty heuristics in lib/readutmp.c exclude "web" sessions |
Date: |
Mon, 26 Aug 2024 16:43:51 +0200 |
Allison Karlitskaya wrote:
> This impacts the output of the "who" command when someone is logged in via
> Cockpit. The old version printed:
>
> admin web console 2024-08-26 08:46 (::ffff:172.27.0.2)
>
> and the new version simply doesn't list the login.
The goal of the new readutmp implementation is to simulate what the old one
gave, while at the same time cleaning up historic inconsistencies.
In this case, it sounds like we would want to list web sessions.
Since I don't have Cockpit installed, can you please provide me with the
necessary info:
1. Before starting a Cockpit session, do
$ tar cvfz /tmp/data-before.tar.gz /var/run/systemd/seats
/var/run/systemd/sessions
2. Start a Cockpit session.
3. Do
$ tar cvfz /tmp/data-after.tar.gz /var/run/systemd/seats
/var/run/systemd/sessions
4. Send both tarfiles as mail attachments (via private mail if they
contain confidential details).
Thanks.
Bruno