[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: restarting processes when python libraries are upgraded?



On 06/20/2011 10:50 AM, Lars Wirzenius wrote:
> On Mon, Jun 20, 2011 at 11:51:30AM +0800, Paul Wise wrote:
>> Since python doesn't keep .py files open its hard to use things like
>> checkrestart to find out which servers to restart when upgrading a
>> python library for security updates. I wonder if a dpkg triggers based
>> mechanism could perform this function. Any thoughts?
> 
> For packaged Python stuff, surely dependencies give sufficient
> indication of what may need restarting?

Not necessarily. Some packages have dependencies which are only used by
a part of the modules in the package, or they have recommended packages
which are installed but not used by your daemon... and so on.


-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprints: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F


Reply to: