Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: baselayout 1.12 and runlevel changes Was: init scripts and custom signals
Date: Tue, 10 Jan 2006 17:17:02
Message-Id: pan.2006.01.10.17.11.51.202848@cox.net
In Reply to: Re: [gentoo-dev] baselayout 1.12 and runlevel changes Was: init scripts and custom signals by Roy Marples
1 Roy Marples posted <200601101131.21791.uberlord@g.o>, excerpted
2 below, on Tue, 10 Jan 2006 11:31:21 +0000:
3
4 > On Tuesday 10 January 2006 08:19, Duncan wrote:
5 >>
6 >> I've noticed that with baselayout-1.12 (not sure on <1.12 as I didn't
7 >> notice it, tho that might mean it's new behavior), changing runlevels
8 >> stops, then restarts, services that are in both runlevels. Is it
9 >> intended behavior on Gentoo to force them to stop, only to restart them
10 >> on the new runlevel, when they exist in both?
11 >
12 > Nope, that's an error. I think I have a patch that addresses that.
13
14 =8^)
15
16 Good. I was afraid it was supposed to be that way, for some reason.
17 I'm working on and off on scripting a working suspend-to-disk for my
18 system (non-trivial as it's dual CPU Opteron, and that's only beginning to
19 be supported, so I have to figure out what I can safely continue running
20 and what has to be manually killed to safely suspend, then manually
21 restarted afterward), and am using changes in runlevels to handle killing
22 the network and etc, as the interrupts from it interfere with the suspend
23 stuff. Watching it kill and restart the stuff in both runlevels every time
24 was getting irritating, so I'm glad it's not /supposed/ to be that way. <g>
25
26 So that means don't bother filing a bug, then, as you are already working
27 on it?
28
29 > I've also noticed that there is a lot of stuff in runscript.sh that
30 > doesn't need to be there anymore as rc now handles more of the ordering
31 > and dependency. Leaving runscript.sh with just what it "needs" means
32 > it's a whole load lighter :)
33
34 Always nice to be able to clear out a bunch of old cruft! =8^)
35
36 --
37 Duncan - List replies preferred. No HTML msgs.
38 "Every nonfree program has a lord, a master --
39 and if you use the program, he is your master." Richard Stallman in
40 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
41
42
43 --
44 gentoo-dev@g.o mailing list

Replies