Gentoo Archives: gentoo-user

From: ABCD <en.ABCD@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: dbus running but who started it?
Date: Tue, 14 Apr 2009 23:15:16
Message-Id: gs35d7$ju6$1@ger.gmane.org
In Reply to: [gentoo-user] dbus running but who started it? by "Michael P. Soulier"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Michael P. Soulier wrote:
5 > Hi,
6 >
7 > I'm looking at my system and I'm surprised to find dbus running, since I put
8 > -dbus -hal in my /etc/make.conf.
9 >
10 > msoulier@anton:~$ ps -ef | grep dbus | grep -v grep
11 > msoulier 9221 1 0 Apr12 ? 00:00:00 /usr/bin/dbus-daemon --fork
12 > --print-pid 4 --print-address 6 --session
13 > msoulier 9222 1 0 Apr12 tty1 00:00:00 /usr/bin/dbus-launch
14 > --sh-syntax --exit-with-session
15 >
16 > msoulier@anton:~$ rc-config list | grep dbus
17 > dbus
18 >
19 > I didn't configure it to start, so something started it. I'm running XFCE4 so
20 > I suspect it started it, since it's running as me and not root.
21 >
22 > So lets see who needs it.
23 >
24 > msoulier@anton:~$ equery belongs /usr/bin/dbus-daemon
25 > [ Searching for file(s) /usr/bin/dbus-daemon in *... ]
26 > sys-apps/dbus-1.2.3-r1 (/usr/bin/dbus-daemon)
27 > msoulier@anton:~$ emerge --pretend --verbose --depclean sys-apps/dbus
28 >
29 > Calculating dependencies... done!
30 > sys-apps/dbus-1.2.3-r1 pulled in by:
31 > dev-libs/dbus-glib-0.76
32 >
33 >>>> No packages selected for removal by depclean
34 > Packages installed: 631
35 > Packages in world: 155
36 > Packages in system: 51
37 > Required packages: 631
38 > Number to remove: 0
39 > msoulier@anton:~$ emerge --pretend --verbose --depclean sys-apps/dbus-glib
40 >>>> No packages selected for removal by depclean
41 >
42 > That's odd. Nothing needs it? Then who started it?
43 >
44 > It's daemonized so I don't see a parent process beyond init.
45 >
46 > Mike
47
48 What is the output of `/etc/init.d/dbus needsme` and `/etc/init.d/dbus
49 usesme`, and are any of the listed services started?
50
51 - --
52 ABCD
53 -----BEGIN PGP SIGNATURE-----
54 Version: GnuPG v2.0.11 (GNU/Linux)
55 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
56
57 iEYEARECAAYFAknlGMYACgkQOypDUo0oQOrTYQCfR8tnx21lO3N7vDjZPUuNxUCc
58 veQAoIj1SQpD6mpr7D/CzeYfuGMPihwg
59 =QsjF
60 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] Re: dbus running but who started it? Mark Knecht <markknecht@×××××.com>
Re: [gentoo-user] Re: dbus running but who started it? "Michael P. Soulier" <msoulier@×××××××××××××.ca>