On Tue, 2010-02-23 at 12:01 +0100, ermo | Rune Morling wrote:
> People,
> 
> Last night I digged around in the PolicyKit documentation and found a
> solution for the issue where PolicyKit asks for the root password
> instead of the user password when elevated privileges are needed.
> 
> Please check https://issues.foresightlinux.org/browse/FL-2382 and report
> back if it works for you.
> 
> - ermo
> 

This just in from #foresight-devel re. the root password / polkit
privilege granting woes (transcript edited slightly):

14:21 < doniphon> ermo^: other than that it looks sober. We should
probably tag those files as NOT config. r.Config(exceptions='...') would
do that
14:22 < doniphon> (--enable-debug above not your fault; mine earlier)

# Brief interlude: Building stuff with 'waf' (python build framework)

14:22 < doniphon> fayek: ping
14:23 < fayek> doniphon: pong
14:23 < doniphon> r.Run('./waf configure --prefix=%(prefix)s/ --libdir=
%(libdir)s/')  -> r.Configure('configure ', configureName='waf')
14:23 < doniphon>  r.Make(makeName='./waf build')  ->  r.Make('build',
makeName='./waf')
14:24 < fayek> i tried that but it stopped with "unknown option
--exec-prefix"
14:24 < fayek> wrong recipe type?
14:24 < doniphon> ManualConfigure then
14:24 < fayek> ah, forgot about that
14:24 < fayek> thanks
14:24 < doniphon>  r.ManualConfigure('configure --prefix=%(prefix)s/
--libdir=%(libdir)s/', configureName='waf')
14:25 < doniphon> idem for makeInstall

# Back to root password fix

14:25 < ermo^> doniphon: I understand why you'd say that. I'm putting it
in /etc/ for now because I want people to be able to fiddle with it
before we decide to put it in /var/lib and forget about it.
14:26 < doniphon> ermo^: my worry is about later updates...
14:26 < ermo^> and because it's a temporary fix as upstream clearly is
looking for a finer grained approach than using wheel willy nilly
14:26 < ermo^> well, we can always mark it later, can we not?
14:26 < doniphon> as conary will try to merge things if they are tagged
as :config
14:26 < ermo^> I know, that's why I'm asking 'we can always mark it
later, can we not?'
14:26 < ermo^> ISTR that that's what we did with PAM.
14:27 < doniphon> i'd like to avoid that kind of issues _again_ :)
14:27 < doniphon> so un :config them makes sense imho
14:27 < doniphon> (even if they are under /etc/
14:28 < ermo^> doniphon: This is only a proposed fix.
14:28  * ermo^ is not yet comfortable enough with polkit to set this
'fix' in stone and hide it away in /var/lib/polkit-1
14:29 < doniphon> i'm turning it in a final one ;) ... go ahead plz.
shouldn't break anything nor cause any regression afaik
14:29 < doniphon> be back in a bit - lunch time.
14:29 < ermo^> un :config it is

# In closing 

The changes should land in the next group update/promote in
fl:2-devel/fl:2-qa

- ermo

_______________________________________________
Foresight-devel mailing list
Foresight-devel@lists.rpath.org
http://lists.rpath.org/mailman/listinfo/foresight-devel

Reply via email to