Comment 7 for bug 1496773

Revision history for this message
Alberto Mardegan (mardy) wrote : Re: Dbus-daemon-system-fork on ota6 is using large amounts of CPU

Thanks Dave for this info. Also, I checked with Dave on IRC that PID 2522 (from which the request starts) is account-polld:

    phablet 2522 0.0 1.4 934112 14176 ? Ssl Sep09 9:38 /usr/bin/account-polld

online-accounts-service tries to create a trusted session having PID 2522 as initiatior, but since account-polld has no window associated with it, mir cannot create the trust session.
I think there are two problems here:
1) when talking to signond, account-polld should set the "UiPolicy" parameter to 2 (aka NoUserInteractionPolicy), so that we won't try to open a trust session for it.
2) account-polld should not continuosly retry authenticating if the previous attempt just failed.