Re: [gentoo-user] Re: dbus running but who started it?
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 "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 pgp35UVNnp0yO.pgp Description: PGP signature
Re: [gentoo-user] Re: dbus running but who started it?
On Fri, Apr 17, 2009 at 9:36 PM, Michael P. Soulier 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 > > msoul...@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... > > msoul...@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.
Re: [gentoo-user] Re: dbus running but who started it?
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 msoul...@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... msoul...@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 pgpuxiQXlc26S.pgp Description: PGP signature
Re: [gentoo-user] Re: dbus running but who started it?
On Fri, Apr 17, 2009 at 7:50 PM, Michael P. Soulier 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 :)
Re: [gentoo-user] Re: dbus running but who started it?
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 "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 pgp4dt2GKh12o.pgp Description: PGP signature
Re: [gentoo-user] Re: dbus running but who started it?
On Tue, Apr 14, 2009 at 4:14 PM, ABCD wrote: > > 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 ~ #
[gentoo-user] Re: dbus running but who started it?
-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. > > msoul...@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 > > msoul...@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. > > msoul...@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) > msoul...@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 > msoul...@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-