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

iked: fix vroute_dbus_dns: System.Error.ENOTCONN #132

Merged
merged 1 commit into from
Feb 11, 2024

Conversation

mfriedl
Copy link
Contributor

@mfriedl mfriedl commented Feb 8, 2024

move sd_bus_open_system() to vroute_do_dns(), otherwise we keep the dbus handle for the lifetime of iked and dbus calls fail with ENOTCONN.

the dbus handle could also be moved to the stack instead.

maybe ENTOCONN is triggered if a dbus component restarts?

move sd_bus_open_system() to vroute_do_dns(), otherwise
we keep the dbus handle for the lifetime of iked and dbus
calls fail with ENOTCONN.
@tobhe tobhe merged commit a0fc2e0 into openiked:master Feb 11, 2024
3 of 6 checks passed
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.

2 participants