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

sbus: retry Hello if ERR_SBUS_NO_REPLY was received #7312

Closed
wants to merge 1 commit into from

Conversation

sumit-bose
Copy link
Contributor

@sumit-bose sumit-bose commented Apr 24, 2024

If the system is starting up it might happen that a time synchronisation
daemon changes the system time. If SSSD is starting at the same time and
one of the components is sending a D-Bus Hello message shortly before
the time change it might happen that libdbus will consider this request
as timed-out after the time change happened and returns
ERR_SBUS_NO_REPLY.

To avoid a complety startup failure under this condition this patch will
try to send the Hello message again.

@sumit-bose sumit-bose marked this pull request as draft April 24, 2024 15:58
If the system is starting up it might happen that a time synchronisation
daemon changes the system time. If SSSD is starting at the same time and
one of the components is sending a D-Bus Hello message shortly before
the time change it might happen that libdbus will consider this request
as timed-out after the time change happened and returns
ERR_SBUS_NO_REPLY.

To avoid a complety startup failure under this condition this patch will
try to send the Hello message again.
@sumit-bose sumit-bose marked this pull request as ready for review June 3, 2024 11:16
@alexey-tikhonov alexey-tikhonov added Waiting for review no-backport This should go to target branch only. labels Jun 3, 2024
@alexey-tikhonov
Copy link
Member

ACK

@pbrezina
Copy link
Member

pbrezina commented Jun 5, 2024

Pushed PR: #7312

  • master
    • 4cf9625 - sbus: retry Hello if ERR_SBUS_NO_REPLY was received

@pbrezina pbrezina added Pushed and removed Accepted Ready to push Ready to push labels Jun 5, 2024
@pbrezina pbrezina closed this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport This should go to target branch only. Pushed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants