On Mon, Jan 17, 2011 at 06:30:38PM +0100, Bjørn Mork wrote:
> Package: unattended-upgrades
> Version: 0.62.2
> Severity: critical
> Justification: breaks unrelated software
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> The hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate deliberately breaks
> pm-utils by preventing the system from hibernating while unattended-upgrades
> is running. There is absolutely *no* relation between unattended-upgrades and
> pm-utils.  Any process running at the time of hibernation could consider 
> itself
> just as important as unattended-upgrades, thereby preventing the system from 
> ever hibernating.
> 
> Please refrain from abusing such hook interfaces, even if they lack a proper
> policy.  Thanks.
 
Thanks for your bugreport.

unattended-upgrades is special in the way that while it runs packages
are "broken" if you shutdown during a long package install your system
is unbootable in the worst case (because of kernel/X upgrade that has
not quite finished). The intention of the hook is to delay the
hibernation until the packages have finished installing.

I'm open for better suggestions but it seems preferable to delay
hibernation than to potentially break the system.

Cheers,
 Michael



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to