Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Last active" column in the Accounts page is not updated after logging in #21104

Open
chim678 opened this issue Oct 10, 2024 · 0 comments
Open
Labels

Comments

@chim678
Copy link

chim678 commented Oct 10, 2024

Explain what happens

We are running Cockpit as a Postman container on RHEL 9.4. We found some issues with the Accounts tab. In the example below I am logged as user "test4" but the UI still shows "Never logged in",even after switching between users, and restarting cockpit- it still shows "Never logged in". As you see it still shows the user optimax as "Logged in" even though this user is not logged in at the moment.

image

Important that when we log in via SSH or TTY then the account page reflects the actual changes. Above we loged in using the UI.

image
image

  1. Go to the "Accounts" page.
  2. Click "Create new account" and fill in the needed fields.
  3. Log out the current user and log in with the newly created user.
  4. Go again to the "Accounts" page.
  5. Check the column "Last active".
  6. Try to log in several times with different users to see that the column is not updating.
  7. Try to log in with the same credentials via SSH or TTY and see that the column is updated (optional).

Version of Cockpit

cockpit-bridge 311.2; cockpit-podman 84.1; cockpit-system 311.2

Where is the problem in Cockpit?

Accounts

Server operating system

Red Hat Enterprise Linux

Server operating system version

RHEL 9.4

What browsers are you using?

Edge

System log

No response

@chim678 chim678 added the bug label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant