Comment 9 for bug 769948

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote : Re: [Bug 769948] Re: Add support for yum

Just click on also affects and set it to zeitgeist. Seif and rainct should
decide now as rest are not so free for zg work
On 27-Apr-2011 1:21 AM, "Maciej Małecki" <email address hidden> wrote:
>
> For ls it's true, because ~ is expanded by bash. Python works in a bit
different way:
> $ sudo python
> >>> import os
> >>> os.getenv("HOME")
> '/root'
> >>> import os.path
> >>> os.path.expanduser("~")
> '/root'
>
> Yes, there are few environment variables preserved (like USERNAME), but
> sudo changes your working environment (you can easily check: compare
> `env` output with `sudo env` output).
>
> So, for zeitgeist-daemon running as root it's home directory is /root
> and we should decide what to do in this kind of a situation. Should I
> report this directly to Zeitgeist and see if daemon guys can figure
> something out?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/769948
>
> Title:
> Add support for yum
>
> Status in Zeitgeist Data-Providers:
> 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 unsubscribe from this bug, go to:
> https://bugs.launchpad.net/zeitgeist-dataproviders/+bug/769948/+subscribe