Gentoo Forums
Gentoo Forums
Quick Search: in
'shutdown -hP now' sometimes reboots
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dman777
l33t
l33t


Joined: 10 Jan 2007
Posts: 621

PostPosted: Tue Feb 09, 2010 8:25 am    Post subject: 'shutdown -hP now' sometimes reboots Reply with quote

is this a bug in baselayout 2.0 or in openrc? sometimes when I use !shut to expand the last matching string in my command histroy which would be 'shutdown -hP now' my system reboots. I verified it was shutdown -hP now that was executed by looking at my command history when the system came back up.

Code:

three@localhost ~ $ fc -l
272    cat self/mounts
273    mount
274    cat /proc/mounts
275    shutdown -hP now
276    conky &
277    audacious2
278    audacious2
279    conky &
280    audacious &
281    ~/
282    ?
283    ~/
284    /
285    ?
286    ?
287    fc -l -1000
three@localhost ~ $
Back to top
View user's profile Send private message
dman777
l33t
l33t


Joined: 10 Jan 2007
Posts: 621

PostPosted: Wed Feb 10, 2010 12:55 pm    Post subject: Reply with quote

Can anyone help please? This is a really annoying problem. It doesn't happen every time, but 80% of the time. last time it did it was with the command shutdown -hP +120 and sure enough it rebooted :(
Back to top
View user's profile Send private message
dman777
l33t
l33t


Joined: 10 Jan 2007
Posts: 621

PostPosted: Sat Feb 13, 2010 3:20 pm    Post subject: Reply with quote

It did it again. Here is the output of /var/log/messages:

Code:
2010-02-13T04:23:55.984028-06:00 localhost kernel: [54453.776724] audacious2[4414]: segfault at 18 ip 00007f359c13c911 sp 00007fff48978090 error 4 in libc-2.10.1.so[7f359c0c9000+14f000]
2010-02-13T04:24:28.511063-06:00 localhost sudo:    three : TTY=pts/4 ; PWD=/home/three ; USER=root ; COMMAND=/sbin/shutdown -hP now
2010-02-13T04:24:28.520146-06:00 localhost shutdown[4700]: shutting down for system halt
2010-02-13T04:24:28.549416-06:00 localhost init: Switching to runlevel: 0
2010-02-13T04:24:28.550136-06:00 localhost rc[1594]: rc: caught SIGTERM, aborting
2010-02-13T04:24:28.550838-06:00 localhost /etc/init.d/local[3198]: local: caught SIGTERM, aborting
2010-02-13T04:24:29.924593-06:00 localhost three: Shorewall Stopped
2010-02-13T04:24:30.065459-06:00 localhost dhcpcd[1729]: eth0: received SIGTERM, stopping
2010-02-13T04:24:30.459754-06:00 localhost kernel: Kernel logging (proc) stopped.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum