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

pam: fix cache id #310

Merged

Conversation

valentindavid
Copy link
Contributor

Something went wrong in the cherry-picking for
3fc9c41. Bus is not stored correctly in the cache. Because authentication calls pam_acquire_bus_connection twice, and the first created bus is used after the second one is created, pam_set_data disconnects the first one. This results in the following error:

Failed to acquire home for user test-user: Transport endpoint is not connected

Something went wrong in the cherry-picking for
3fc9c41. Bus is not stored correctly in the
cache. Because authentication calls `pam_acquire_bus_connection` twice, and the
first created bus is used after the second one is created, `pam_set_data`
disconnects the first one. This results in the following error:

```
Failed to acquire home for user test-user: Transport endpoint is not connected
```
@keszybz keszybz merged commit 83ecef0 into systemd:v251-stable Aug 9, 2023
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants