On 07/27/2011 12:34 PM, 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?
Vincent
for me if it's not noticed by a zypper ps, then it should be done by the rpm. After that, how much people will launch an update when their session will be open and then don't notice this change and will have random crash for whatever. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Ambassador GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org