[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Enviroment variables and KAuth
From:       Dario Freddi <drf54321 () gmail ! com>
Date:       2011-07-22 9:28:13
Message-ID: CAFFVnfMuyW2rb8Hbjg30WBXfMt95OPi1F82WGLRCqMkozFgTTw () mail ! gmail ! com
[Download RAW message or body]

2011/7/5 Konstantinos Smanis <konstantinos.smanis@gmail.com>

> Is it a bug or feature that no enviroment variables (most notably
> $PATH) are set for DBus-activated KAuth helpers?
> Manually launching the helper from a shell doesn't lead to this
> behaviour: enviroment variables are properly set.
>

KAuth helpers are always triggered by DBus, so they follow DBus activation's
paradigm.
Besides that, no environment variables should be relevant to an helper, and
can instead be harmful, so you can indeed consider that a feature.


>
> Konstantinos Smanis
>

[Attachment #3 (text/html)]

<div class="gmail_quote">2011/7/5 Konstantinos Smanis <span dir="ltr">&lt;<a \
href="mailto:konstantinos.smanis@gmail.com">konstantinos.smanis@gmail.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;"> Is it a bug or feature that no enviroment variables (most \
notably<br> $PATH) are set for DBus-activated KAuth helpers?<br>
Manually launching the helper from a shell doesn&#39;t lead to this<br>
behaviour: enviroment variables are properly set.<br></blockquote><div><br>KAuth \
helpers are always triggered by DBus, so they follow DBus activation&#39;s \
paradigm.<br>Besides that, no environment variables should be relevant to an helper, \
and can instead be harmful, so you can indeed consider that a feature.<br>  \
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: \
1px solid rgb(204, 204, 204); padding-left: 1ex;"> <font color="#888888"><br>
Konstantinos Smanis<br>
</font></blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic