From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MpRuT-00014U-4c for garchives@archives.gentoo.org; Sun, 20 Sep 2009 19:17:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18693E0851; Sun, 20 Sep 2009 19:17:20 +0000 (UTC) Received: from wlym.com (wlym.com [66.135.63.43]) by pigeon.gentoo.org (Postfix) with ESMTP id C2932E0851 for ; Sun, 20 Sep 2009 19:17:19 +0000 (UTC) Received: from ccs.covici.com (pool-70-109-54-11.clppva.fios.verizon.net [70.109.54.11]) (authenticated bits=128) by wlym.com (8.14.3/8.14.3/Debian-5) with ESMTP id n8KJHHbU001333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 20 Sep 2009 14:17:19 -0500 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.3/8.14.2) with ESMTP id n8KJHDrA028273 for ; Sun, 20 Sep 2009 15:17:16 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Shutting down process hangs - how to proceed? In-reply-to: <4AB67889.60306@gmail.com> References: <20090919013959.GA5295@solfire> <4AB43A71.5080805@gmail.com> <20090919020840.GB5295@solfire> <200909191028.14764.michaelkintzios@gmail.com> <5858.1253366175@ccs.covici.com> <20090920162331.GD5807@solfire> <26942.1253464941@ccs.covici.com> <4AB67889.60306@gmail.com> Comments: In-reply-to Dale message dated "Sun, 20 Sep 2009 13:46:33 -0500." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.1.1 Date: Sun, 20 Sep 2009 15:17:13 -0400 Message-ID: <28271.1253474233@ccs.covici.com> From: covici@ccs.covici.com Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: b303123d-0786-4094-85f6-aa2dce5ca015 X-Archives-Hash: b236fe0a5db4a2269945f26064fe6920 Dale wrote: > covici@ccs.covici.com wrote: > > meino.cramer@gmx.de wrote: > > > > > >> covici@ccs.covici.com [09-09-19 15:19]: > >> > >> I solved the problem: > >> > >> /etc/slim.conf has the > >> > >> daemon = no > >> > >> flag, so the boot process seems optically ok but hangs right > >> after slim hast started. > >> Shutting down the system tries to stop services/processes/action, > >> which never has been started...which fails in a hang. > >> > >> I dont know exactly...but...if that flag is the default configuration > >> when installing slim I would suggest to change it to > >> > >> daemon = yes > >> > >> to prevent users like me to spend the weekend in searching for a > >> problem in the shutdown process. > >> > >> > > I don't have such a file, or as far as I know, such a package. My > > shutdown does not hang, it just says no more processes left at this run > > level and sits there forever and will not restart the system. > > > > > > Has the OP checked his inittab file? I ran into something like this > once a long time ago and I had to replace the inittab file since some of > it was gone. That file belongs to sysvinit so it may be worth > re-emerging that to see if helps. > > I can post mine if you want something to compare to. Off list of > course. Then again, it may not be to big. > > Dale > > :-) :-) Here is my inittab, its pretty short. # # /etc/inittab: This file describes how the INIT process should set up # the system in a certain run-level. # # Author: Miquel van Smoorenburg, # Modified by: Patrick J. Volkerding, # Modified by: Daniel Robbins, # Modified by: Martin Schlemmer, # # $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v 1.5 2005/12/22 02:03:23 vapier Exp $ # Default runlevel. id:3:initdefault: # System initialization, mount local filesystems, etc. si::sysinit:/sbin/rc sysinit # Further system initialization, brings up the boot runlevel. rc::bootwait:/sbin/rc boot l0:0:wait:/sbin/rc shutdown l1:S1:wait:/sbin/rc single l2:2:wait:/sbin/rc nonetwork l3:3:wait:/sbin/rc default l4:4:wait:/sbin/rc default l5:5:wait:/sbin/rc default l6:6:wait:/sbin/rc reboot #z6:6:respawn:/sbin/sulogin # TERMINALS c1:12345:respawn:/sbin/agetty 38400 tty1 linux c2:2345:respawn:/sbin/agetty 38400 tty2 linux c3:2345:respawn:/sbin/agetty 38400 tty3 linux c4:2345:respawn:/sbin/agetty 38400 tty4 linux c5:2345:respawn:/sbin/agetty 38400 tty5 linux c6:2345:respawn:/sbin/agetty 38400 tty6 linux c7:2345:respawn:/sbin/agetty 38400 tty7 linux c8:12345:respawn:/sbin/agetty 38400 tty8 linux c9:2345:respawn:/sbin/agetty 38400 tty9 linux c10:2345:respawn:/sbin/agetty 38400 tty10 linux c11:2345:respawn:/sbin/agetty 38400 tty11 linux # SERIAL CONSOLES #s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100 #s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100 # What to do at the "Three Finger Salute". ca:12345:ctrlaltdel:/sbin/shutdown -r now # Used by /etc/init.d/xdm to control DM startup. # Read the comments in /etc/init.d/xdm for more # info. Do NOT remove, as this will start nothing # extra at boot if /etc/init.d/xdm is not added # to the "default" runlevel. x:a:once:/etc/X11/startDM.sh -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com