Skip to content

dir: Reload DBus daemon config to ensure services get picked up - #5720

Merged
smcv merged 1 commit into
flatpak:mainfrom
swick:wip/maybe-reload-dbus-config
Mar 20, 2024
Merged

smcv merged 1 commit into
flatpak:mainfrom
swick:wip/maybe-reload-dbus-config

Conversation

@swick

@swick swick commented Mar 11, 2024

Copy link
Copy Markdown
Collaborator

This is best effort. There is a 2s timeout and if something fails everything continues on.

This is called from flatpak_dir_run_triggers because it gets called whenever we might have changes to the exported service files.

@TingPing
TingPing requested a review from smcv March 11, 2024 14:57

@smcv smcv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This seems generally fine, just a style issue.

Comment thread common/flatpak-dir.c Outdated
This is best effort. There is a 2s timeout and if something fails
everything continues on.

This is called from flatpak_dir_run_triggers because it gets called
whenever we might have changes to the exported service files.

Fixes flatpak#3342

Signed-off-by: Sebastian Wick <[email protected]>
@swick
swick force-pushed the wip/maybe-reload-dbus-config branch from e8b10f1 to 79d404f Compare March 15, 2024 18:55
@smcv

smcv commented Mar 20, 2024

Copy link
Copy Markdown
Collaborator

This looks good, but I notice that some of the tests timed out. I've retried in the hope that this was a transient CI issue, rather than this change causing the tests to get stuck for whatever reason.

@hfiguiere

Copy link
Copy Markdown
Collaborator

all my recent PR have been stuck like that. Including changes in doc.

@smcv
smcv merged commit 9532c8d into flatpak:main Mar 20, 2024
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.

3 participants