Add interface to access to Zeitgeist

Bug #1761363 reported by Marco Trevisan (Treviño)
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd
Confirmed
Medium
Unassigned

Bug Description

Things like diodon need access to Zeitgeist log, but there's no interface that provides access to that.

Here's what I'm getting in a snap for that.

** (diodon:2744): WARNING **: zeitgeist-clipboard-storage.vala:313: Get recent items not successful, error: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.967" (uid=1000 pid=2744 comm="diodon ") interface="org.gnome.zeitgeist.Log" member="FindEvents" error name="(unset)" requested_reply="0" destination="org.gnome.zeitgeist.Engine" (uid=1000 pid=4965 comm="/usr/bin/zeitgeist-daemon ")

** (diodon:2744): WARNING **: zeitgeist-clipboard-storage.vala:125: Could not determine state of privacy mode: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.967" (uid=1000 pid=2744 comm="diodon ") interface="org.gnome.zeitgeist.Blacklist" member="GetTemplates" error name="(unset)" requested_reply="0" destination="org.gnome.zeitgeist.Engine" (uid=1000 pid=4965 comm="/usr/bin/zeitgeist-daemon ")

** (diodon:2744): WARNING **: zeitgeist-clipboard-storage.vala:382: Add item **: zeitgeist-clipboard-storage.val not successful, error: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.967" (uid=1000 pid=2744 comm="diodon ") interface="org.gnome.zeitgeist.Log" member="InsertEvents" error name="(unset)" requested_reply="0" destination="org.gnome.zeitgeist.Engine" (uid=1000 pid=4965 comm="/usr/bin/zeitgeist-daemon ")

** (diodon:2744): WARNING **: zeitgeist-clipboard-storage.vala:382: Add item ** (diodon:2744): WARNING **: zeitgeist-clipboard-storage.vala:313: Get recent items not successful, error: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.967" (uid=1000 pid=2744 comm="diodon ") interface="org.gnome.zeitgeist.Log" member="FindEvents" error name="(unset)" requested_reply="0" destination="org.gnome.zeitgeist.Engine" (uid=1000 pid=4965 comm="/usr/bin/zeitgeist-daemon ")

** (diodon:2744): WARNING **: zeitgeist-clipboard-storage.vala:125: Could not determine state of privacy mode: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.967" (uid=1000 pid=2744 comm="diodon ") interface="org.gnome.zeitgeist.Blacklist" member="GetTemplates" error name="(unset)" requested_reply="0" destination="org.gnome.zeitgeist.Engine" (uid=1000 pid=4965 comm="/usr/bin/zeitgeist-daemon ")

** (diodon:2744): WARNING **: zeitgeist-clipboard-storage.vala:382: Add item **: zeitgeist-clipboard-storage.val not successful, error: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.967" (uid=1000 pid=2744 comm="diodon ") interface="org.gnome.zeitgeist.Log" member="InsertEvents" error name="(unset)" requested_reply="0" destination="org.gnome.zeitgeist.Engine" (uid=1000 pid=4965 comm="/usr/bin/zeitgeist-daemon ") not successful, error: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.967" (uid=1000 pid=2744 comm="diodon ") interface="org.gnome.zeitgeist.Log" member="InsertEvents" error name="(unset)" requested_reply="0" destination="org.gnome.zeitgeist.Engine" (uid=1000 pid=4965 comm="/usr/bin/zeitgeist-daemon ")

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

There's no interface for zeitgeits as of snapd 2.42. I'm marking this as confirmed.

affects: snappy → snapd
Changed in snapd:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.