Gentoo Archives: gentoo-user

From: JDM <jdm@×××××××××××××××××××.uk>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Init
Date: Tue, 07 Jun 2011 09:04:42
Message-Id: 297486236-1307436331-cardhu_decombobulator_blackberry.rim.net-1810568657-@b11.c20.bise7.blackberry
In Reply to: Re: [gentoo-user] Init by Dale
1 Thanks Dale. Will try tonight when I get home. After using Gentoo for a number of years you get used to doing things a certain. These mailing lists really help expand knowledge. Regards
2 JDM
3
4 -----Original Message-----
5 From: Dale <rdalek1967@×××××.com>
6 Date: Tue, 07 Jun 2011 02:22:27
7 To: <gentoo-user@l.g.o>
8 Reply-to: gentoo-user@l.g.o
9 Subject: Re: [gentoo-user] Init
10
11 Dale wrote:
12 > JDM wrote:
13 >> When switching from runlevel 3 to 1 "init 1" seems to work as I
14 >> would expect. When I "init 3" applications hang, I have to keep
15 >> hitting return to get any progress. Usually I end up rebooting as X
16 >> won't start.
17 >>
18 >> Question - should I be using init to change runlevels or is there a
19 >> better way of doing this?
20 >>
21 >> This has been happening for a long time and definitely before openrc.
22 >> I usually reboot to avoid the hang ups.
23 >> JDM
24 >
25 > You should be using the rc command tho init should work in theory.
26 > Example, "rc single" or "rc default" or whatever runlevel you want to
27 > switch to. That is without the quotes tho.
28 >
29 > I did notice earlier that when I switch to single, it is not
30 > unmounting some file systems for some reason. When I try to switch
31 > back to default, rc sort of pukes. If I unmount everything first, it
32 > switches cleanly. I think openrc has some . . . weirdness still.
33 >
34 > You can check out the rc man page for more info. That help any?
35 >
36 > Dale
37 >
38 > :-) :-)
39 >
40
41 Let me add this, if you type rc then hit tab twice, you should see some
42 more rc type commands. You may want to check into some of them too.
43 They provide info and do other things, including adding/removing things
44 from a runlevel. I'm assuming you are a bit new to Gentoo. I may be
45 wrong and it wouldn't be the first time either.
46
47 Dale
48
49 :-) :-)