public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dbus running but who started it?
@ 2009-04-14 20:09 Michael P. Soulier
  2009-04-14 20:42 ` Paul Hartman
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-14 20:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1628 bytes --]

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
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:09 [gentoo-user] dbus running but who started it? Michael P. Soulier
@ 2009-04-14 20:42 ` Paul Hartman
  2009-04-14 20:44   ` Michael P. Soulier
  2009-04-14 20:54   ` Joachim Bartosik
  2009-04-14 20:50 ` Jean-Baptiste Mestelan
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 24+ messages in thread
From: Paul Hartman @ 2009-04-14 20:42 UTC (permalink / raw
  To: gentoo-user

On Tue, Apr 14, 2009 at 3:09 PM, Michael P. Soulier
<msoulier@digitaltorque.ca> 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.

unmerge and see which programs fail :)



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:42 ` Paul Hartman
@ 2009-04-14 20:44   ` Michael P. Soulier
  2009-04-14 20:50     ` Paul Hartman
  2009-04-14 20:54   ` Joachim Bartosik
  1 sibling, 1 reply; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-14 20:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

On 14/04/09 Paul Hartman said:

> unmerge and see which programs fail :)

That scares me. :)

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:44   ` Michael P. Soulier
@ 2009-04-14 20:50     ` Paul Hartman
  2009-04-14 21:50       ` Michael P. Soulier
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Hartman @ 2009-04-14 20:50 UTC (permalink / raw
  To: gentoo-user

On Tue, Apr 14, 2009 at 3:44 PM, Michael P. Soulier
<msoulier@digitaltorque.ca> wrote:
> On 14/04/09 Paul Hartman said:
>
>> unmerge and see which programs fail :)
>
> That scares me. :)

Do you use KDE? I think dbus is required.



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:09 [gentoo-user] dbus running but who started it? Michael P. Soulier
  2009-04-14 20:42 ` Paul Hartman
@ 2009-04-14 20:50 ` Jean-Baptiste Mestelan
  2009-04-14 20:51 ` Joshua D Doll
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 24+ messages in thread
From: Jean-Baptiste Mestelan @ 2009-04-14 20:50 UTC (permalink / raw
  To: gentoo-user

2009/4/14 Michael P. Soulier <msoulier@digitaltorque.ca>:
> I'm looking at my system and I'm surprised to find dbus running, since I put
> -dbus -hal in my /etc/make.conf.

Does `pstree` help ?

Cheers.



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:09 [gentoo-user] dbus running but who started it? Michael P. Soulier
  2009-04-14 20:42 ` Paul Hartman
  2009-04-14 20:50 ` Jean-Baptiste Mestelan
@ 2009-04-14 20:51 ` Joshua D Doll
  2009-04-14 21:50   ` Michael P. Soulier
  2009-04-14 21:10 ` Dale
  2009-04-14 23:14 ` [gentoo-user] " ABCD
  4 siblings, 1 reply; 24+ messages in thread
From: Joshua D Doll @ 2009-04-14 20:51 UTC (permalink / raw
  To: gentoo-user

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
>    
Since it appears you have equery installed you can do:

equery depends sys-apps/dbus-glib

That should list all the packages requiring dbus.

--Joshua Doll



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:42 ` Paul Hartman
  2009-04-14 20:44   ` Michael P. Soulier
@ 2009-04-14 20:54   ` Joachim Bartosik
  2009-04-14 20:57     ` Joachim Bartosik
  1 sibling, 1 reply; 24+ messages in thread
From: Joachim Bartosik @ 2009-04-14 20:54 UTC (permalink / raw
  To: gentoo-user

On Tue, Apr 14, 2009 at 22:42, Paul Hartman
<paul.hartman+gentoo@gmail.com> wrote:
> On Tue, Apr 14, 2009 at 3:09 PM, Michael P. Soulier
> <msoulier@digitaltorque.ca> 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.

Hmmm maybe
ps -fax  ?


-- 
Joachim



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:54   ` Joachim Bartosik
@ 2009-04-14 20:57     ` Joachim Bartosik
  2009-04-14 21:51       ` Michael P. Soulier
  0 siblings, 1 reply; 24+ messages in thread
From: Joachim Bartosik @ 2009-04-14 20:57 UTC (permalink / raw
  To: gentoo-user

On Tue, Apr 14, 2009 at 22:54, Joachim Bartosik <jbartosik@gmail.com> wrote:
> On Tue, Apr 14, 2009 at 22:42, Paul Hartman
> <paul.hartman+gentoo@gmail.com> wrote:
>> On Tue, Apr 14, 2009 at 3:09 PM, Michael P. Soulier
>> <msoulier@digitaltorque.ca> 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.
>
> Hmmm maybe
> ps -fax  ?

Or if you don't like it

ps ax  -o ppid,cmd|grep hal

should give you pid of hals parent process.


-- 
Joachim



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:09 [gentoo-user] dbus running but who started it? Michael P. Soulier
                   ` (2 preceding siblings ...)
  2009-04-14 20:51 ` Joshua D Doll
@ 2009-04-14 21:10 ` Dale
  2009-04-18  0:45   ` Michael P. Soulier
  2009-04-14 23:14 ` [gentoo-user] " ABCD
  4 siblings, 1 reply; 24+ messages in thread
From: Dale @ 2009-04-14 21:10 UTC (permalink / raw
  To: gentoo-user

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
>   

Do you have any of the following running on your system?

consolekit
cupsd
hald

Those according to a scan of /etc/init.d needs dbus.  This may not be
true in your case since you have -dbus for your USE flag but it is here
although I have dbus turned on.

I hope that will help you with a place to look at least. 

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:51 ` Joshua D Doll
@ 2009-04-14 21:50   ` Michael P. Soulier
  2009-04-14 21:56     ` Alan McKinnon
  0 siblings, 1 reply; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-14 21:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

On 14/04/09 Joshua D Doll said:

> Since it appears you have equery installed you can do:
>
> equery depends sys-apps/dbus-glib
>
> That should list all the packages requiring dbus.

msoulier@anton:~$ equery depends sys-apps/dbus-glib
[ Searching for packages depending on sys-apps/dbus-glib... ]
!!! Warning: No packages found matching sys-apps/dbus-glib

s/sys-apps/dev-lib/

msoulier@anton:~$ equery depends sys-apps/dbus     
[ Searching for packages depending on sys-apps/dbus... ]
dev-libs/dbus-glib-0.76 (>=sys-apps/dbus-1.1.0)
media-libs/libgphoto2-2.4.3 (hal? >=sys-apps/dbus-1)
net-im/pidgin-2.5.5 (dbus? >=sys-apps/dbus-0.90)
net-p2p/gtk-gnutella-0.96.5 (dbus? >=sys-apps/dbus-0.35.2)
xfce-base/xfce4-session-4.4.3 (dbus? sys-apps/dbus)

Hmm. Still, dbus should be disabled...

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:50     ` Paul Hartman
@ 2009-04-14 21:50       ` Michael P. Soulier
  0 siblings, 0 replies; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-14 21:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

On 14/04/09 Paul Hartman said:

> Do you use KDE? I think dbus is required.


Nope.
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 20:57     ` Joachim Bartosik
@ 2009-04-14 21:51       ` Michael P. Soulier
  0 siblings, 0 replies; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-14 21:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

On 14/04/09 Joachim Bartosik said:

> Or if you don't like it
> 
> ps ax  -o ppid,cmd|grep hal
> 
> should give you pid of hals parent process.

It's daemonized.

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 21:50   ` Michael P. Soulier
@ 2009-04-14 21:56     ` Alan McKinnon
  2009-04-18  0:49       ` Michael P. Soulier
  0 siblings, 1 reply; 24+ messages in thread
From: Alan McKinnon @ 2009-04-14 21:56 UTC (permalink / raw
  To: gentoo-user

On Tuesday 14 April 2009 23:50:22 Michael P. Soulier wrote:
> On 14/04/09 Joshua D Doll said:
> > Since it appears you have equery installed you can do:
> >
> > equery depends sys-apps/dbus-glib
> >
> > That should list all the packages requiring dbus.
>
> msoulier@anton:~$ equery depends sys-apps/dbus-glib
> [ Searching for packages depending on sys-apps/dbus-glib... ]
> !!! Warning: No packages found matching sys-apps/dbus-glib
>
> s/sys-apps/dev-lib/
>
> msoulier@anton:~$ equery depends sys-apps/dbus
> [ Searching for packages depending on sys-apps/dbus... ]
> dev-libs/dbus-glib-0.76 (>=sys-apps/dbus-1.1.0)
> media-libs/libgphoto2-2.4.3 (hal? >=sys-apps/dbus-1)
> net-im/pidgin-2.5.5 (dbus? >=sys-apps/dbus-0.90)
> net-p2p/gtk-gnutella-0.96.5 (dbus? >=sys-apps/dbus-0.35.2)
> xfce-base/xfce4-session-4.4.3 (dbus? sys-apps/dbus)


Do you have hal or dbus in world by mistake?
You have USE="-dbus -hal" in make.conf, but what about 
/etc/portage/package.use/?

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 24+ messages in thread

* [gentoo-user]  Re: dbus running but who started it?
  2009-04-14 20:09 [gentoo-user] dbus running but who started it? Michael P. Soulier
                   ` (3 preceding siblings ...)
  2009-04-14 21:10 ` Dale
@ 2009-04-14 23:14 ` ABCD
  2009-04-14 23:18   ` Mark Knecht
  2009-04-18  0:50   ` Michael P. Soulier
  4 siblings, 2 replies; 24+ messages in thread
From: ABCD @ 2009-04-14 23:14 UTC (permalink / raw
  To: gentoo-user

-----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-----




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] Re: dbus running but who started it?
  2009-04-14 23:14 ` [gentoo-user] " ABCD
@ 2009-04-14 23:18   ` Mark Knecht
  2009-04-18  0:50   ` Michael P. Soulier
  1 sibling, 0 replies; 24+ messages in thread
From: Mark Knecht @ 2009-04-14 23:18 UTC (permalink / raw
  To: gentoo-user

On Tue, Apr 14, 2009 at 4:14 PM, ABCD <en.ABCD@gmail.com> wrote:
<SNIP>
>
> 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

Didn't know about those two commands. Interesting. Thanks!

dragonfly ~ # /etc/init.d/dbus needsme
consolekit cupsd hald
dragonfly ~ # /etc/init.d/dbus usesme

dragonfly ~ #



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 21:10 ` Dale
@ 2009-04-18  0:45   ` Michael P. Soulier
  2009-04-18  1:12     ` Dale
  0 siblings, 1 reply; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-18  0:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

On 14/04/09 Dale said:

> Do you have any of the following running on your system?
> 
> consolekit
> cupsd
> hald

Nope. I'm going to try logging out, shutting dbus down and logging back in and
see if something starts it.

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-14 21:56     ` Alan McKinnon
@ 2009-04-18  0:49       ` Michael P. Soulier
  0 siblings, 0 replies; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-18  0:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

On 14/04/09 Alan McKinnon said:

> Do you have hal or dbus in world by mistake?

Nope.

> You have USE="-dbus -hal" in make.conf, but what about 
> /etc/portage/package.use/?

No, not there.

Perhaps it was dragged in early on when I built xfce. I'm not sure I had -dbus
in there then. Still, an emerge with -newuse shows no changes. 

We'll see soon if it's really required.

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user]  Re: dbus running but who started it?
  2009-04-14 23:14 ` [gentoo-user] " ABCD
  2009-04-14 23:18   ` Mark Knecht
@ 2009-04-18  0:50   ` Michael P. Soulier
  2009-04-18  0:55     ` Paul Hartman
  1 sibling, 1 reply; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-18  0:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

On 14/04/09 ABCD said:

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

Cool, I didn't know that one. 

Nothing listed though.

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] Re: dbus running but who started it?
  2009-04-18  0:50   ` Michael P. Soulier
@ 2009-04-18  0:55     ` Paul Hartman
  2009-04-18  2:36       ` Michael P. Soulier
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Hartman @ 2009-04-18  0:55 UTC (permalink / raw
  To: gentoo-user

On Fri, Apr 17, 2009 at 7:50 PM, Michael P. Soulier
<msoulier@digitaltorque.ca> wrote:
> On 14/04/09 ABCD said:
>
>> What is the output of `/etc/init.d/dbus needsme` and `/etc/init.d/dbus
>> usesme`, and are any of the listed services started?
>
> Cool, I didn't know that one.
>
> Nothing listed though.
>
> Mike

To see which package(s) pulled in dbus in your setup you can use
depclean, like on mine I get this:

$ sudo emerge --depclean dbus -pv

Calculating dependencies ... done!
  sys-apps/dbus-1.2.3-r1 pulled in by:
    app-misc/strigi-0.6.4
    dev-libs/dbus-glib-0.80
    dev-python/dbus-python-0.83.0-r1
    dev-util/monodevelop-2.0
    dev-util/subversion-1.6.1
    gnome-base/gconf-2.24.0
    gnome-base/gnome-keyring-2.22.3-r1
    gnome-base/libbonobo-2.24.1
    kde-base/kdebase-kioslaves-4.2.2
    kde-base/kdelibs-4.2.2-r1
    media-libs/libgphoto2-2.4.4
    media-video/vlc-0.9.9a
    net-dns/avahi-0.6.24-r2
    net-ftp/filezilla-3.2.3.1
    net-im/pidgin-2.5.5
    net-misc/networkmanager-0.7.0
    net-print/cups-1.3.10
    net-wireless/wpa_supplicant-0.6.9
    sys-apps/hwinfo-14.19
    x11-libs/qt-dbus-4.5.0
    x11-misc/google-gadgets-0.10.5
    xfce-base/xfce4-session-4.6.0

so all of those packages explicitly depend on dbus and very likely
will want it to be running :)



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-18  0:45   ` Michael P. Soulier
@ 2009-04-18  1:12     ` Dale
  2009-04-18  2:39       ` Michael P. Soulier
  0 siblings, 1 reply; 24+ messages in thread
From: Dale @ 2009-04-18  1:12 UTC (permalink / raw
  To: gentoo-user

Michael P. Soulier wrote:
> On 14/04/09 Dale said:
>
>   
>> Do you have any of the following running on your system?
>>
>> consolekit
>> cupsd
>> hald
>>     
>
> Nope. I'm going to try logging out, shutting dbus down and logging back in and
> see if something starts it.
>
> Mike
>   

Logging out and back in shouldn't start any services that I know of. 
That is done during the boot up process.  Maybe try posting the output
of these:

/etc/init.d/consolekit status
/etc/init.d/cupsd status
/etc/init.d/hald status

If one or more of those say they are started, they should be starting
dbus since they need dbus to work correctly, if you have dbus enabled in
your USE flag.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] Re: dbus running but who started it?
  2009-04-18  0:55     ` Paul Hartman
@ 2009-04-18  2:36       ` Michael P. Soulier
  2009-04-18  3:42         ` Paul Hartman
  0 siblings, 1 reply; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-18  2:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

On 17/04/09 Paul Hartman said:

> To see which package(s) pulled in dbus in your setup you can use
> depclean, like on mine I get this:
> 
> $ sudo emerge --depclean dbus -pv

msoulier@anton:~$ sudo emerge --depclean dbus -pv           
Password: 

Calculating dependencies... done!
  sys-apps/dbus-1.2.3-r1 pulled in by:
    dev-libs/dbus-glib-0.76

Repeating...

msoulier@anton:~$ sudo emerge --depclean dev-libs/dbus-glib -pv

Calculating dependencies... done!
  dev-libs/dbus-glib-0.76 pulled in by:
    media-gfx/ristretto-0.0.21
    media-plugins/audacious-plugins-1.5.1-r3
    media-sound/audacious-1.5.1-r1
    xfce-base/thunar-0.9.3
    xfce-base/xfdesktop-4.4.3

Still odd since I have -dbus in my make.conf.

Mike

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] dbus running but who started it?
  2009-04-18  1:12     ` Dale
@ 2009-04-18  2:39       ` Michael P. Soulier
  0 siblings, 0 replies; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-18  2:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 875 bytes --]

On 17/04/09 Dale said:

> Logging out and back in shouldn't start any services that I know of. 

Well, dbus was running as me, not root, so it wasn't started at boot. I
suspect XFCE4 is starting it.

> That is done during the boot up process.  Maybe try posting the output
> of these:
> 
> /etc/init.d/consolekit status
> /etc/init.d/cupsd status
> /etc/init.d/hald status

msoulier@anton:~$ ls /etc/init.d/{consolekit,cupsd,hald}
ls: cannot access /etc/init.d/consolekit: No such file or directory
ls: cannot access /etc/init.d/cupsd: No such file or directory
ls: cannot access /etc/init.d/hald: No such file or directory

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] Re: dbus running but who started it?
  2009-04-18  2:36       ` Michael P. Soulier
@ 2009-04-18  3:42         ` Paul Hartman
  2009-04-18  5:19           ` Michael P. Soulier
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Hartman @ 2009-04-18  3:42 UTC (permalink / raw
  To: gentoo-user

On Fri, Apr 17, 2009 at 9:36 PM, Michael P. Soulier
<msoulier@digitaltorque.ca> wrote:
> On 17/04/09 Paul Hartman said:
>
>> To see which package(s) pulled in dbus in your setup you can use
>> depclean, like on mine I get this:
>>
>> $ sudo emerge --depclean dbus -pv
>
> msoulier@anton:~$ sudo emerge --depclean dbus -pv
> Password:
>
> Calculating dependencies... done!
>  sys-apps/dbus-1.2.3-r1 pulled in by:
>    dev-libs/dbus-glib-0.76
>
> Repeating...
>
> msoulier@anton:~$ sudo emerge --depclean dev-libs/dbus-glib -pv
>
> Calculating dependencies... done!
>  dev-libs/dbus-glib-0.76 pulled in by:
>    media-gfx/ristretto-0.0.21
>    media-plugins/audacious-plugins-1.5.1-r3
>    media-sound/audacious-1.5.1-r1
>    xfce-base/thunar-0.9.3
>    xfce-base/xfdesktop-4.4.3
>
> Still odd since I have -dbus in my make.conf.

That only disabled dbus when it is optional. Since you have packages
that /require/ dbus (with no option to disable it), I guess that's
where it is coming from. Specifically it looks like XFCE.



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] Re: dbus running but who started it?
  2009-04-18  3:42         ` Paul Hartman
@ 2009-04-18  5:19           ` Michael P. Soulier
  0 siblings, 0 replies; 24+ messages in thread
From: Michael P. Soulier @ 2009-04-18  5:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

On 17/04/09 Paul Hartman said:

> That only disabled dbus when it is optional. Since you have packages
> that /require/ dbus (with no option to disable it), I guess that's
> where it is coming from. Specifically it looks like XFCE.

That would follow with it running as me instead of root. It's being started
when I login.

Mike
-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2009-04-18  5:19 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-14 20:09 [gentoo-user] dbus running but who started it? Michael P. Soulier
2009-04-14 20:42 ` Paul Hartman
2009-04-14 20:44   ` Michael P. Soulier
2009-04-14 20:50     ` Paul Hartman
2009-04-14 21:50       ` Michael P. Soulier
2009-04-14 20:54   ` Joachim Bartosik
2009-04-14 20:57     ` Joachim Bartosik
2009-04-14 21:51       ` Michael P. Soulier
2009-04-14 20:50 ` Jean-Baptiste Mestelan
2009-04-14 20:51 ` Joshua D Doll
2009-04-14 21:50   ` Michael P. Soulier
2009-04-14 21:56     ` Alan McKinnon
2009-04-18  0:49       ` Michael P. Soulier
2009-04-14 21:10 ` Dale
2009-04-18  0:45   ` Michael P. Soulier
2009-04-18  1:12     ` Dale
2009-04-18  2:39       ` Michael P. Soulier
2009-04-14 23:14 ` [gentoo-user] " ABCD
2009-04-14 23:18   ` Mark Knecht
2009-04-18  0:50   ` Michael P. Soulier
2009-04-18  0:55     ` Paul Hartman
2009-04-18  2:36       ` Michael P. Soulier
2009-04-18  3:42         ` Paul Hartman
2009-04-18  5:19           ` Michael P. Soulier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox