• spiiroin's avatar
    [systemd] Use cached SystemBus connection. Fixes MER#1694 · bae87438
    spiiroin authored
    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: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
usb_moded-systemd.c 4.53 KB