[Pkg-sysvinit-devel] Bug#712953: sysvinit: System Restarts Instead of Powering Off

Alan Chandler alan at chandlerfamily.org.uk
Fri Jun 21 16:16:36 UTC 2013


On 21/06/13 16:44, Roger Leigh wrote:
> On Fri, Jun 21, 2013 at 04:06:04PM +0100, Alan Chandler wrote:
>>>> When I attempt to power off the machine (either logging out of gnome3, or via shutdown now typed in at a terminal)
>>>> the system goes through the shutdown sequence (it does seem to pause after telling all processes to terminate and
>>>> then reports that some processes are still running). It finally reports it is about to power off.
>>>>
>>>> But the computer then restarts and reboots.
>>>>
>>>> If I load up Debian Wheezy and shut that down, the computer powers off properly.
>>> I don't think this is a change in sysvinit/initscripts.  There have
>>> been no significant changes made since the wheezy release.
>>>
>>> Could you possibly try booting with the wheezy kernel and then trying
>>> to reboot?  This will identify whether it's due to a change in the
>>> kernel or something in userspace.
>> I am not sure precisely what you want me to do.  I tried the following
>>
>> SID (with kernel 3.9.1) installed on /dev/sda1 (an SSD)
>> Wheezy (with kernel (3.2.0) on /dev/sdb1 (Sata Hard Drive)
> I'd like you to install the wheezy kernel on the sid system, and
> then start the system using this kernel (should be selectable
> using GRUB), and then see if rebooting works.  This will tell us
> if the sid kernel is at fault here.
>
You are correct - its the kernel.  I installed the 3.2.0-4 kernel from 
wheezy into my sid system and booted from it and it shuts down perfectly 
(presumably using the same sysvinit scripts.)

Just one potential proviso.  I run virtual box and then makes a kernel 
module which is installed into 3.9.0.  However it failed to find the 
correct dkms.conf file and failed to build and install this module into 
the older kernel.

I suspect I would need to take more time to try that out.  However, 
although I have lived with SID and its issues for many years now, I am 
currently doing paid work (that is what Virtual Box is for - I am 
booting into Windows) which requires a somewhat more reliable platform.  
When wheezy was first released I had frequent problems with 
gnome-shell/X locking up solid - but this recent attempt to try to boot 
into wheezy has shown me that there is some upgrades which look like 
they address this issue. So I am likely to move away from Sid this 
weekend and install Wheezy permanently on my SSD.

Alan



More information about the Pkg-sysvinit-devel mailing list