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

fix: Ensure user linger is closed on EL10 #165

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

richm
Copy link
Contributor

@richm richm commented Aug 1, 2024

Cause: There is an issue with loginctl on EL10 - doing cancel-linger
will leave the user session in the closing state.

Consequence: User sessions accumulate, and the test user cannot
be removed.

Fix: As suggested in the systemd issue, the fix is to shutdown and
restart systemd-logind in this situation.

Result: User cancel-linger works as expected.

Signed-off-by: Rich Megginson [email protected]

Cause: There is an issue with loginctl on EL10 - doing cancel-linger
will leave the user session in the closing state.

Consequence: User sessions accumulate, and the test user cannot
be removed.

Fix: As suggested in the systemd issue, the fix is to shutdown and
restart systemd-logind in this situation.

Result: User cancel-linger works as expected.

Signed-off-by: Rich Megginson <[email protected]>
@richm
Copy link
Contributor Author

richm commented Aug 1, 2024

workaround for systemd/systemd#26744

@richm
Copy link
Contributor Author

richm commented Aug 1, 2024

[citest]

@richm richm merged commit 0ceea96 into linux-system-roles:main Aug 1, 2024
20 of 24 checks passed
@richm richm deleted the el10-fix-lingering branch August 1, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant