Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: udev and init.d. Should it be running now?
Date: Fri, 11 Sep 2009 01:26:12
Message-Id: 4AA9A72F.7070900@gmail.com
In Reply to: [gentoo-user] Re: udev and init.d. Should it be running now? by walt
1 walt wrote:
2 > On 09/10/2009 03:43 PM, Dale wrote:
3 >> Jonathan Callen (ABCD) wrote:
4 >>> Dale wrote:
5 >>>> Hi folks,
6 >>>
7 >>>> I was browsing around and noticed that I now have a udev in
8 >>>> /etc/init.d/. I checked, it is not running but udevd is not running
9 >>>> either. See below:
10 >>>
11 >>>>> root@smoker / # /etc/init.d/udev status
12 >>>>> * status: stopped
13 >>>>> root@smoker / #
14 >>>>> root@smoker / # ps aux | grep udev
15 >>>>> root 30451 0.0 0.0 1888 504 pts/0 R+ 16:04 0:00 grep
16 >>>>> --colour=auto udev
17 >>>>> root@smoker / #
18 >
19 >>>> Also, keep in mind, everything works fine. I just don't want to
20 >>>> add it
21 >>>> to boot or default runlevels and then break something.
22 >>>
23 >>> In baselayout-1, udev is started directly by baselayout itself, outside
24 >>> of any init scripts. In baselayout-2/openrc, an initscript is
25 >>> needed to
26 >>> start udev. If you actually read the script, you may notice that the
27 >>> script will immediately fail if you attempt to run it on a baselayout-1
28 >>> system, as it isn't needed...
29 >>
30 >> ...Anyway, I used ps and less to list those processes and noticed
31 >> that udev was not running. It used to be running in the past.
32 >
33 > I was surprised to read Jonathan's post, but I see he's right. On my
34 > x86 machine the status of udev is "stopped" and on ~amd64 it's "started".
35 >
36 > But both machines show that /sbin/udevd is indeed running, so I can see
37 > why you are uneasy about your status quo.
38 >
39 > Have you tried running /sbin/udevd --daemon from a command prompt? When
40 > I try it I get a message that udevd is already running.
41 >
42
43 OK. Now I feel better. I used your command and now it is running. I
44 hope it will run when I reboot. o_O
45
46 root@smoker / # /sbin/udevd --daemon
47 root@smoker / # ps aux | grep udev
48 root 2595 0.0 0.0 2204 780 ? S<s 20:23 0:00
49 /sbin/udevd --daemon
50 root 2599 0.0 0.0 1888 512 pts/0 S+ 20:23 0:00 grep
51 --colour=auto udev
52 root@smoker / #
53
54 At least I know udev works now. I was hoping that something hadn't been
55 broken and I just didn't notice it.
56
57 Thanks much for the info. I know how to start it if it is not running
58 at least.
59
60 Dale
61
62 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Re: udev and init.d. Should it be running now? Philip Webb <purslow@××××××××.net>