PolicyKit authorization error

matthew stanger stangerm2 at gmail.com
Mon Oct 24 19:43:03 UTC 2016


Hi all,

I just upgraded our little box with MM 1.6 to systemd 230 and I'm now
getting a PolicyKit error from mmcli. The issue only happens about 1 out of
10 times after a reboot. The other 9 times everything is fine, weird. When
I do a simple connect I get the error  "PolicyKit authorization error:
authority not found". Right now polkit is version 0.112 and I have MM set
to start After=polkit.service. I'm thinking I just need to upgrade polkit
but before hacking that recipe in Yocto I just wanted to see what you're
opinions where. The goal of this has been to get the 1.6MM recipe pushed to
back to Yocto since no one has done that yet. Anyways I just wanted to see
what you guys think before digging in the code. Let me know where you think
I should look.

Here's the last little spinet from debug logs though it's not too helpful.

2016-10-24T19:23:43.722766+00:00 renew ModemManager[1635]: <debug>
(ttyACM1) device open count is 0 (close)
2016-10-24T19:23:43.730435+00:00 renew ModemManager[1635]: <debug>
(ttyACM1) closing serial port...
2016-10-24T19:23:43.737704+00:00 renew ModemManager[1635]: <debug>
(ttyACM1) serial port closed
2016-10-24T19:23:43.745185+00:00 renew ModemManager[1635]: <debug> modem
properly initialized
2016-10-24T19:23:43.752817+00:00 renew ModemManager[1635]: <debug> Exported
modem '/sys/devices/ahb.0/a00000.ohci/usb1/1-1' at path
'/org/freedesktop/ModemManager1/Modem/0'
2016-10-24T19:23:43.759875+00:00 renew ModemManager[1635]: <debug>
(/org/freedesktop/ModemManager1/Modem/0): 'Cinterion' modem, VID 0x1E2D PID
0x0061 (usb)
2016-10-24T19:23:43.773026+00:00 renew modem_monitor[1993]: Call to
g_dbus_connection_call_sync failed:
GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: PolicyKit
authorization error: 'authority not found'
2016-10-24T19:23:48.739557+00:00 renew modem_monitor[1993]: Call to
g_dbus_connection_call_sync failed:
GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: PolicyKit
authorization error: 'authority not found'

Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20161024/b9ef3e05/attachment.html>


More information about the ModemManager-devel mailing list