Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: What magic does portage use?
Date: Sun, 13 Dec 2009 22:58:39
Message-Id: 4B257174.20108@gmail.com
In Reply to: [gentoo-user] Re: What magic does portage use? by "»Q«"
1 »Q« wrote:
2 > On Fri, 11 Dec 2009 12:57:30 -0600
3 > Dale <rdalek1967@×××××.com> wrote:
4 >
5 >
6 >> »Q« wrote:
7 >>
8 >>> On Fri, 11 Dec 2009 08:38:02 -0600
9 >>> Dale <rdalek1967@×××××.com> wrote:
10 >>>
11 >>>
12 >>>> Actually, you can kill udev and restart it. Kill the process and
13 >>>> then run "/sbin/udevd --daemon" and it will be started again.
14 >>>>
15 >>>>
16 >>> If you're restarting services yourself instead of switching
17 >>> runlevels to get them all at once, you can still use the
18 >>> initscripts.
19 >>>
20 >>> # /etc/init.d/udev restart
21 >>>
22 >> That doesn't work in baselayout 1 tho. If I switch to single user,
23 >> udevd is still running. The only way to stop it is to kill it.
24 >>
25 >> root@smoker / # /etc/init.d/udev start
26 >> * The udev init-script is written for baselayout-2!
27 >> * Please do not use it with baselayout-1!.
28 >> root@smoker / #
29 >>
30 >
31 > That looks like a bug. Heh, it would be nice if the initscripts worked
32 > with the current stable version of baselayout.
33 >
34
35 The devs intended for it not to work with baselayout 1 so they know
36 this. I think it is in a Gentoo doc somewhere. I was trying to figure
37 out how udev was starting when the script was not in any runlevel and
38 was stopped, while udev had a process running. I ran up on the doc when
39 trying to figure this mess out.
40
41 So, for baselayout 2, use the script. For baselayout 1, just kill the
42 process and restart with udevd --daemon.
43
44 Dale
45
46 :-) :-)