From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-93670-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LtrqW-0000Qs-9D
	for garchives@archives.gentoo.org; Tue, 14 Apr 2009 23:15:16 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 57F3EE0719;
	Tue, 14 Apr 2009 23:15:14 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 13874E0719
	for <gentoo-user@lists.gentoo.org>; Tue, 14 Apr 2009 23:15:14 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id 6300864BBE
	for <gentoo-user@lists.gentoo.org>; Tue, 14 Apr 2009 23:15:13 +0000 (UTC)
X-Virus-Scanned: amavisd-new at gentoo.org
X-Spam-Score: -3.04
X-Spam-Level: 
X-Spam-Status: No, score=-3.04 required=5.5 tests=[AWL=-0.441,
	BAYES_00=-2.599]
Received: from smtp.gentoo.org ([127.0.0.1])
	by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id uHePh6oxT6OF for <gentoo-user@lists.gentoo.org>;
	Tue, 14 Apr 2009 23:15:06 +0000 (UTC)
Received: from ciao.gmane.org (main.gmane.org [80.91.229.2])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTP id C1A0A64BBD
	for <gentoo-user@gentoo.org>; Tue, 14 Apr 2009 23:15:03 +0000 (UTC)
Received: from list by ciao.gmane.org with local (Exim 4.43)
	id 1LtrqG-0007kv-3S
	for gentoo-user@gentoo.org; Tue, 14 Apr 2009 23:15:00 +0000
Received: from pool-173-71-204-106.clppva.fios.verizon.net ([173.71.204.106])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Tue, 14 Apr 2009 23:15:00 +0000
Received: from en.ABCD by pool-173-71-204-106.clppva.fios.verizon.net with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Tue, 14 Apr 2009 23:15:00 +0000
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-user@lists.gentoo.org
From:  ABCD <en.ABCD@gmail.com>
Subject: [gentoo-user]  Re: dbus running but who started it?
Date:  Tue, 14 Apr 2009 19:14:14 -0400
Message-ID: <gs35d7$ju6$1@ger.gmane.org>
References:  <20090414200943.GK13967@anton.digitaltorque.ca>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  7bit
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: pool-173-71-204-106.clppva.fios.verizon.net
User-Agent: Thunderbird 2.0.0.21 (X11/20090328)
In-Reply-To: <20090414200943.GK13967@anton.digitaltorque.ca>
X-Enigmail-Version: 0.95.7
Sender: news <news@ger.gmane.org>
X-Archives-Salt: d806fc24-9a3a-4c71-aa8a-2e83eb6a978b
X-Archives-Hash: cd2a7a34f581b09a5bb131b261ed9f8e

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael P. Soulier wrote:
> Hi,
> 
> I'm looking at my system and I'm surprised to find dbus running, since I put
> -dbus -hal in my /etc/make.conf. 
> 
> msoulier@anton:~$ ps -ef | grep dbus | grep -v grep
> msoulier  9221     1  0 Apr12 ?        00:00:00 /usr/bin/dbus-daemon --fork
> --print-pid 4 --print-address 6 --session
> msoulier  9222     1  0 Apr12 tty1     00:00:00 /usr/bin/dbus-launch
> --sh-syntax --exit-with-session
> 
> msoulier@anton:~$ rc-config list | grep dbus
>   dbus 
> 
> I didn't configure it to start, so something started it. I'm running XFCE4 so
> I suspect it started it, since it's running as me and not root.
> 
> So lets see who needs it.
> 
> msoulier@anton:~$ equery belongs /usr/bin/dbus-daemon
> [ Searching for file(s) /usr/bin/dbus-daemon in *... ]
> sys-apps/dbus-1.2.3-r1 (/usr/bin/dbus-daemon)
> msoulier@anton:~$ emerge --pretend --verbose --depclean sys-apps/dbus
> 
> Calculating dependencies... done!
>   sys-apps/dbus-1.2.3-r1 pulled in by:
>     dev-libs/dbus-glib-0.76
> 
>>>> No packages selected for removal by depclean
> Packages installed:   631
> Packages in world:    155
> Packages in system:   51
> Required packages:    631
> Number to remove:     0
> msoulier@anton:~$ emerge --pretend --verbose --depclean sys-apps/dbus-glib
>>>> No packages selected for removal by depclean
> 
> That's odd. Nothing needs it? Then who started it?
> 
> It's daemonized so I don't see a parent process beyond init.
> 
> Mike

What is the output of `/etc/init.d/dbus needsme` and `/etc/init.d/dbus
usesme`, and are any of the listed services started?

- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknlGMYACgkQOypDUo0oQOrTYQCfR8tnx21lO3N7vDjZPUuNxUCc
veQAoIj1SQpD6mpr7D/CzeYfuGMPihwg
=QsjF
-----END PGP SIGNATURE-----