On Tue, Nov 01, 2011 at 01:04:54PM +0200, Teodor MICU wrote: > 2011/10/31 Michael Vogt <m...@debian.org>: > > I think I found the issue now and fixed it in trunk. The issue is that > > the init scripts are run on upgrade, but they really should only run > > on actual shutdown. Its a bit confusing why this is happening as the > > header of the init script says that it should not run in any runlevel > > and only stop in runlevel 0 6. So there might be a bug in the init > > system here as well. Which one do you use? > > I'm using the default init system in Debian: sysvinit + insserv.
Thanks for this info! > > With the fix there will be one more hang on upgrade because the old > > (and buggy) prerm is run that will try to stop > > unattended-upgrades. But from that point on it should be fixed. > > Can be fixed by a targetted fix on Debian 6.0 squeeze? Could this > create a problem on manual dist-upgrade from Debian 6.0 to 7.0? The version in squeeze is not affected by this bug, only testing/unstable AFAICT. So people upgrading from there should be fine. Its just unfortunate for people running it on testing/unstable :/ I added some code now that will avoid the failure but given the way maintainer scripts are called I don't think I can do anything about the delay (the shutdown script will timeout after 10minutes automatically). It will have to timeout, then the error can be ignored by the updated script. Cheers, Michael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org