On Wed, Jul 27, 2011 at 12:34:37PM +0200, Vincent Untz wrote:
Hi,
I'm wondering if it's fine to kill processes in %post. Obviously, it should be avoided in general, but I'm faced with a case where it could be appropriate.
Here's some bits from the NEWS file in dconf 0.9:
========= There has been an extremely minor incompatible change in the D-Bus API of dconf this release. From a practical standpoint, this change will have no effect. However, it serves as a reminder that the dconf D-Bus API is private and can change from version to version (and will likely change in the future).
As such, it is appropriate for those packaging dconf to kill all running instances of dconf ('killall dconf-service') as part of their postinst for the package. It will be dbus-activated again on the next use. =========
How do people feel about this?
It is a bad idea I think, you can not easily know if its your dconf-service binary. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org