Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[systemd] Use cached SystemBus connection. Fixes MER#1694
Usb-moded opens and closes a private peer-to-peer dbus connection for each systemd unit start/stop it needs to perform. This is relatively heavy operation and seems to cause problems with systemd v225 during bootup. Since usb-moded no longer has any reason to communicate with systemd before it can connect to SystemBus, we can drop the private connections and use cached SystemBus connection instead. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
3 changed files
with
128 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters