Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Shutting down process hangs - how to proceed?
Date: Sun, 20 Sep 2009 19:17:23
Message-Id: 28271.1253474233@ccs.covici.com
In Reply to: Re: [gentoo-user] Shutting down process hangs - how to proceed? by Dale
1 Dale <rdalek1967@×××××.com> wrote:
2
3 > covici@××××××××××.com wrote:
4 > > meino.cramer@×××.de wrote:
5 > >
6 > >
7 > >> covici@××××××××××.com <covici@××××××××××.com> [09-09-19 15:19]:
8 > >>
9 > >> I solved the problem:
10 > >>
11 > >> /etc/slim.conf has the
12 > >>
13 > >> daemon = no
14 > >>
15 > >> flag, so the boot process seems optically ok but hangs right
16 > >> after slim hast started.
17 > >> Shutting down the system tries to stop services/processes/action,
18 > >> which never has been started...which fails in a hang.
19 > >>
20 > >> I dont know exactly...but...if that flag is the default configuration
21 > >> when installing slim I would suggest to change it to
22 > >>
23 > >> daemon = yes
24 > >>
25 > >> to prevent users like me to spend the weekend in searching for a
26 > >> problem in the shutdown process.
27 > >>
28 > >>
29 > > I don't have such a file, or as far as I know, such a package. My
30 > > shutdown does not hang, it just says no more processes left at this run
31 > > level and sits there forever and will not restart the system.
32 > >
33 > >
34 >
35 > Has the OP checked his inittab file? I ran into something like this
36 > once a long time ago and I had to replace the inittab file since some of
37 > it was gone. That file belongs to sysvinit so it may be worth
38 > re-emerging that to see if helps.
39 >
40 > I can post mine if you want something to compare to. Off list of
41 > course. Then again, it may not be to big.
42 >
43 > Dale
44 >
45 > :-) :-)
46 Here is my inittab, its pretty short.
47 #
48 # /etc/inittab: This file describes how the INIT process should set up
49 # the system in a certain run-level.
50 #
51 # Author: Miquel van Smoorenburg, <miquels@×××××××.nl>
52 # Modified by: Patrick J. Volkerding, <volkerdi@×××××××××.com>
53 # Modified by: Daniel Robbins, <drobbins@g.o>
54 # Modified by: Martin Schlemmer, <azarah@g.o>
55 #
56 # $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v 1.5 2005/12/22 02:03:23 vapier Exp $
57
58 # Default runlevel.
59 id:3:initdefault:
60
61 # System initialization, mount local filesystems, etc.
62 si::sysinit:/sbin/rc sysinit
63
64 # Further system initialization, brings up the boot runlevel.
65 rc::bootwait:/sbin/rc boot
66
67 l0:0:wait:/sbin/rc shutdown
68 l1:S1:wait:/sbin/rc single
69 l2:2:wait:/sbin/rc nonetwork
70 l3:3:wait:/sbin/rc default
71 l4:4:wait:/sbin/rc default
72 l5:5:wait:/sbin/rc default
73 l6:6:wait:/sbin/rc reboot
74 #z6:6:respawn:/sbin/sulogin
75
76 # TERMINALS
77 c1:12345:respawn:/sbin/agetty 38400 tty1 linux
78 c2:2345:respawn:/sbin/agetty 38400 tty2 linux
79 c3:2345:respawn:/sbin/agetty 38400 tty3 linux
80 c4:2345:respawn:/sbin/agetty 38400 tty4 linux
81 c5:2345:respawn:/sbin/agetty 38400 tty5 linux
82 c6:2345:respawn:/sbin/agetty 38400 tty6 linux
83 c7:2345:respawn:/sbin/agetty 38400 tty7 linux
84 c8:12345:respawn:/sbin/agetty 38400 tty8 linux
85 c9:2345:respawn:/sbin/agetty 38400 tty9 linux
86 c10:2345:respawn:/sbin/agetty 38400 tty10 linux
87 c11:2345:respawn:/sbin/agetty 38400 tty11 linux
88
89
90 # SERIAL CONSOLES
91 #s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
92 #s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100
93
94 # What to do at the "Three Finger Salute".
95 ca:12345:ctrlaltdel:/sbin/shutdown -r now
96
97 # Used by /etc/init.d/xdm to control DM startup.
98 # Read the comments in /etc/init.d/xdm for more
99 # info. Do NOT remove, as this will start nothing
100 # extra at boot if /etc/init.d/xdm is not added
101 # to the "default" runlevel.
102 x:a:once:/etc/X11/startDM.sh
103
104
105
106 --
107 Your life is like a penny. You're going to lose it. The question is:
108 How do
109 you spend it?
110
111 John Covici
112 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] Shutting down process hangs - how to proceed? Dale <rdalek1967@×××××.com>