Comment 6 for bug 769948

Revision history for this message
Maciej MaƂecki (maciej-malecki) wrote :

Oops. Now I'm facing a problem which I haven't thought about before and which I haven't noticed before latest commit.
Zeitgeist-daemon is running with privileges of current user, whilst yum needs root privileges to run, so yum plugin tries to talk to nonexistent zeitgeist-daemon in context of root user. As far as I see, this daemon is then started, however it uses database in /root/.local/share/zeitgeist. I can see commited events when starting GAJ as root, but not as regular user.
Now, I have no idea what to do with this. Basic possibilities are:
 * change zeitgeist-daemon behaviour to make him create his database in a location which regular user can read and allow daemons running in user-space to transparently read it and serve it's content to clients,
 * make zeitgeist-daemon running as root to proxy all the communication to all daemons running in contexts of non-root users,
 * do the magic and find out somehow who started current sudo or su process and connect to his zeitgeist-daemon (is it even possible?).

Maybe I should report new bug regarding this situation outside zeitgeist-dataprovides? I don't know if zeitgeist-daemon guys observe bugs reported here.