Sorry I could get back to it so late.

I've figured out a way to handle the problem with root privileges (at least, 
most cases).
Plugin now forks right after collecting data. Fork tries to find out who ran it 
really (by checking environment variables) and sets it's UID and GID like he 
was that user. This one works (I'm able to see events in GAJ as regular user).
Only case when it doesn't work is when yum is being executed with `su -` - 
whole environment gets replaced - any ideas how to fix it?

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data-Sources.
https://bugs.launchpad.net/bugs/769948

Title:
  Add support for yum

Status in Zeitgeist Data-Sources:
  New

Bug description:
  I'm not sure if adding this to Zeitgeist makes sense, but sometimes I would 
like to see what package (and when) I've installed without opening PackageKit 
and browsing logs.
  If Zeitgeist Data-Providers team also would like this in Zeitgeist, I'm 
willing to write a plugin.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist-datasources/+bug/769948/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to