Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218576

Summary: sys-apps/openrc: no poweroff after syslog-ng shutdown
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alonbl, facorread, roy
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: p4180009.jpg

Description Martin Mokrejš 2008-04-20 13:24:56 UTC
Since I have upgraded to baselayout-2.0.0 on ~x86 my laptop does not power off. It appears according to alt+sysrq+i no more processes are left in the runlevel and that the syslog-ng was the last process to be quit. Maybe related to bug #218572?
Comment 1 Martin Mokrejš 2008-04-20 13:28:09 UTC
Created attachment 150392 [details]
p4180009.jpg

In the system log console I see (alt+F12)
Comment 2 nietonfir 2008-04-21 00:01:50 UTC
I don't think it is baselayout2 related, it happend to me before with the latest stable baselayout on amd64. I just upgraded to baselayout2 and will report back if this happens again.

Personally I think it is somehow related with suspend-to-ram/suspend-to-disk.
Comment 3 Martin Mokrejš 2008-04-21 08:29:01 UTC
I do not use suspend-to-ram nor suspend-to-disk. It powers off fine if I shutdown xdm first and then do 'init 0'.
Comment 4 Martin Mokrejš 2008-04-21 08:30:21 UTC
Although I do not understand why kernel says 'no more processes in this runlevel'. But maybe still in a runlevel 1 or 2 or 3? Who knows?
Comment 5 SpanKY gentoo-dev 2008-04-21 09:48:06 UTC
the kernel doesnt know anything about runlevels.  that message is coming from the sysvinit binary.
Comment 6 Martin Mokrejš 2008-04-28 13:36:57 UTC
The power-off goes fine when I shutdown openvpn before 'init 6'. 
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2008-04-29 18:19:04 UTC
I don't see how bug#218570 is related.
Comment 8 Martin Mokrejš 2008-05-09 08:46:23 UTC
The problem with shutdown is gone with upgrade to some of these:

x11-wm/fvwm-2.5.25
x11-apps/xinit-1.0.8-r3
sys-apps/busybox-1.10.1-r2
app-shells/bash-3.2_p39
dev-libs/libevent-1.4.3
Comment 9 Fabio Correa 2008-12-16 12:33:29 UTC
Hello, you should also update to >=sys-apps/sysvinit-2.86-r11. It includes support for baselayout-2.
Comment 10 Martin Mokrejš 2008-12-16 17:20:06 UTC
Needless to say I haven't seen this issue since a loong time. I believe it
really disappeared with the upgrades mentioned in comment #8.