Start MM service after Polkit service, if compiled with --with-polkit=yes
Hi,
I'm using ModemManager 1.10.0, started as a systemd service.
Occasionally, I can see that the ModemManager service starts before Polkit service, which results in D-Bus errors (permission denied).
To prevent this wrong start order during boot, I’ve added ‘Requires=polkit.service’ and ‘After=polkit.service’ to MM’s systemd unit file.
[Unit] Description=Modem Manager Requires=polkit.service After=polkit.service syslog.target
It would be fine, if the “service installer” adds the polkit.service dependency, if MM is compiled with --with-polkit=yes.
Best regards,
Carsten