augeas, dbus and policykit

David Zeuthen david at fubar.dk
Tue May 6 09:02:44 PDT 2008


On Tue, 2008-05-06 at 11:32 -0400, John (J5) Palmieri wrote:
> On Tue, 2008-05-06 at 08:19 +0200, Harald Hoyer wrote:
> > Because augeas ( http://augeas.net ) enables us to read/modify/write config files easily, I envision a dbus 
> > service which provides the augeas interface filtered by config files and checks access with policykit.
> > 
> > That means, if you want to modify e.g. /etc/grub.conf, you first acquire the action_id 
> > "com.redhat.conf.grub.write" and then talk to the "com.redhat.conf.grub.Mechanism". This can be done easily 
> > already. In fact, 
> > http://git.fedorahosted.org/git/?p=system-config-boot.git;a=tree;h=experimental;hb=experimental does this.
> > 
> > What I thought of, is a generic mechanism for _all_ config files with generated action ids. Is this possible? 
> > Can action ids be generated on the fly, or does every action_id have to be specified in a policy file?
> > 
> > ru
> > Harald
> 
> Hey Harald, not sure what you are asking.  It may have nothing to do
> with D-Bus.  action_id's are not a part of D-Bus.  If it is a PolicyKit
> thing then you should post to the PolicyKit mailing list.  Talk to David
> Zeuthen.  

Right, PolicyKit discussions should (currently) happen on the hal list.

     David




More information about the dbus mailing list