public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: covici@ccs.covici.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Shutting down process hangs - how to proceed?
Date: Sun, 20 Sep 2009 15:17:13 -0400	[thread overview]
Message-ID: <28271.1253474233@ccs.covici.com> (raw)
In-Reply-To: <4AB67889.60306@gmail.com>

Dale <rdalek1967@gmail.com> wrote:

> covici@ccs.covici.com wrote:
> > meino.cramer@gmx.de wrote:
> >
> >   
> >> covici@ccs.covici.com <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, <miquels@cistron.nl>
# Modified by:  Patrick J. Volkerding, <volkerdi@ftp.cdrom.com>
# Modified by:  Daniel Robbins, <drobbins@gentoo.org>
# Modified by:  Martin Schlemmer, <azarah@gentoo.org>
#
# $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



  reply	other threads:[~2009-09-20 19:17 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-19  1:39 [gentoo-user] Shutting down process hangs - how to proceed? meino.cramer
2009-09-19  1:57 ` Dale
2009-09-19  2:08   ` meino.cramer
2009-09-19  2:42     ` Dale
2009-09-19  9:27     ` Mick
2009-09-19 11:11       ` Pupino
2009-09-19 11:25         ` meino.cramer
2009-09-19 11:47           ` pk
2009-09-19 12:31             ` meino.cramer
2009-09-19 20:17               ` Mick
2009-09-19 21:59               ` [gentoo-user] " walt
2009-09-20  0:07                 ` meino.cramer
2009-09-20  1:09                   ` walt
2009-09-20  2:17                     ` meino.cramer
2009-09-20 16:13                       ` walt
2009-09-20 16:15                         ` meino.cramer
2009-09-20 17:16                           ` walt
2009-09-21  2:40                             ` meino.cramer
2009-09-21 17:30                               ` walt
2009-09-21 17:43                                 ` meino.cramer
2009-09-21 17:52                                   ` Pupino
2009-09-21 18:30                   ` walt
2009-09-19 14:08           ` [gentoo-user] " Pupino
2009-09-19 13:16       ` covici
2009-09-20 16:23         ` meino.cramer
2009-09-20 16:42           ` covici
2009-09-20 18:46             ` Dale
2009-09-20 19:17               ` covici [this message]
2009-09-20 20:00                 ` Dale
2009-09-19 12:25 ` Frank Steinmetzger
2009-09-19 12:47   ` meino.cramer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28271.1253474233@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox