← Back to team overview

zeitgeist team mailing list archive

[Bug 769948] Re: Add support for yum

 

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


References