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

krb5: make sure sockets are closed on timeouts #6745

Closed

Conversation

sumit-bose
Copy link
Contributor

If krb5_child runs into a timeout the backend currently does not close
the I/O sockets because handle_child_done() is not called when the
timeout handlers are acting. To make sure the signal handler can close
the sockets the 'in_use' member of struct child_io_fds is set to
'false'.

Resolves: #6744

If krb5_child runs into a timeout the backend currently does not close
the I/O sockets because handle_child_done() is not called when the
timeout handlers are acting. To make sure the signal handler can close
the sockets the 'in_use' member of struct child_io_fds is set to
'false'.

Resolves: SSSD#6744
@alexey-tikhonov
Copy link
Member

Thank you, ACK.

Copy link
Contributor

@aplopez aplopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you.

@alexey-tikhonov
Copy link
Member

Pushed PR: #6745

  • master
    • 4556119 - krb5: make sure sockets are closed on timeouts
  • sssd-2-9
    • 4d2cf0b - krb5: make sure sockets are closed on timeouts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-stable Targets also latest stable branch Bugzilla Pushed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sssd-be tends to run out of system resources, hitting the maximum number of open files
3 participants