Vincent Untz write:
Le mercredi 01 décembre 2010, à 11:30 +0100, Guido Berhoerster a écrit :
* Vincent Untz <vuntz@opensuse.org> [2010-12-01 09:37]:
Le mardi 30 novembre 2010, à 18:35 +0100, Guido Berhoerster a écrit :
* Vincent Untz <vuntz@opensuse.org> [2010-11-30 17:25]:
But again, this is just for gpk. What about all the other apps using polkit services? They don't require a polkit agent directly either.
IMHO they should, or at least recommend.
Again, I disagree: this implies knowing that the service you are using will use polkit for authentication. There is absolutely *no* dependency on polkit in gnome-packagekit. Look at the code.
The dependency would be in PackageKit. And then we can really just say "if you have polkit installed, you should have a polkit-agent installed too", so we can simply move the dependency to polkit.
OK, that makes sense, would a recommends dependency be justified?
Makes sense to me. So let's do the virtual provides you proposed earlier in polkit-gnome & friends, and a recommends on this virtual provides.
I wonder: is polkit installed on a server install, with no X? It'd be a shame to have X installed because of this.
Yes, it is. PolicyKit e.g. Webyast which don't need X and use policyKit mainly as two state permission tool, which say grant or deny. So it doesn't need any agent. ( if authorization is required it is considered as denied). Josef
Cheers,
Vincent
-- Josef Reidinger Appliance Toolkit team maintainer of perl-Bootloader, yast2-bootloader and parts of webyast and SLMS -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org