[Fwd: augeas, dbus and policykit]
Harald Hoyer
harald at redhat.com
Tue May 6 09:17:43 PDT 2008
Moving this to the correct list :)
-------- Original Message --------
Subject: augeas, dbus and policykit
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
More information about the hal
mailing list