PolicyKit authorization error

Dan Williams dcbw at redhat.com
Wed Nov 2 16:11:53 UTC 2016


On Mon, 2016-10-24 at 13:43 -0600, matthew stanger wrote:
> 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.

Late reply, but anyway...

This happens when ModemManager can't talk to PolicyKit when it starts.
 Do you have logs earlier than this, like from right when MM has
started?  It should print out something like "failed to create
PolicyKit authority" with more useful error information.

Dan


> 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
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel


More information about the ModemManager-devel mailing list