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

Re: packages with hook interfaces and no documented hook policy



On Mon, Jan 17, 2011 at 12:43 PM, Bjørn Mork <bjorn@mork.no> wrote:
> My claim is that packages like unattended-upgrades and pm-utils are
> completely unrelated to each other, and that a hook in
> unattended-upgrades which breaks pm-utils by preventing hibernation is a
> critical bug, even if the breakage seems intentional.

Is this just a case of an upgrade pulling in a new kernel, which could
cause pm-hibernate to disallow a hibernate[0]?  If so, this isn't
unattended-upgrades breaking pm-utils, but pm-utils properly preventing
you from hibernating in a situation that you wouldn't be able to
recover.  The proper fix is to configure the unattended upgrade not to
upgrade kernels, if possible.

[0]: See /usr/lib/pm-utils/sleep.d/000kernel-change
-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@debian.org>


Reply to: