Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346581 - revdep-rebuild results in a dbus-daemon rampage
Summary: revdep-rebuild results in a dbus-daemon rampage
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 22:58 UTC by Jochen Schlick
Modified: 2012-02-15 03:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Schlick 2010-11-23 22:58:56 UTC
when starting revdep-rebuild from a xterm/konsole window it seems that it runs as expected but with a strange side effect

I see the following expected output:
revdep-rebuild 
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[...

but during this dynamic linking consistency check something strange happens.
revdep-rebuild or someone else starts several thousands of dbus-daemon processes
until the system is totally unusable. This happens also with older gentoolkit versions. 

ps -ef shows then:

root     16565     1  0 23:35 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 -
root     16600     1  0 23:35 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 -
root     16640     1  0 23:35 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 -
root     16689     1  0 23:35 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 -
root     16725     1  0 23:35 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 -
root     16772     1  0 23:35 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 -
root     16808     1  0 23:35 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 -
root     16854     1  0 23:35 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 -
...



Reproducible: Always




My workaround to get a successful revdep-rebuild run is to activate a pkill-cronjob which kills all the dbus-daemons every minute as long as revdep-rebuild is running.
Comment 1 Jochen Schlick 2010-11-23 23:07:27 UTC
emerge --info
Portage 2.1.9.24 (default/linux/amd64/10.0/no-multilib, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5870_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 23 Nov 2010 20:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.2 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     3.1.2
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.5
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.36 (sys-kernel/linux-headers)
ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
BASHBASHRC_READ="true"
BASH_ENV="/root/.bashrc"
CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 pana sonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_BASEDIR="/var/tmp/portage"
CCACHE_DIR="/var/tmp/portage/ccache"
CCACHE_SIZE="2G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-march=core2 -O2 -pipe -msse3 -mssse3"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc /usr/lib/findcruft/ /usr/share/config /usr/share/config/ /usr/share/hddtemp/ /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -msse3 -mssse3"
DCCC_PATH="/usr/lib64/distcc/bin"
DEFAULT_ABI="amd64"
DISPLAY=":0"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/DATA/portage/distfiles"
DOTBASHPROFILE_READ="true"
DOTBASHRC_READ="true"
EDITOR="/usr/bin/vi"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS=" --verbose --with-bdeps y "
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/local/bin/trickyfetch "${URI}" "${DISTDIR}" "${FILE}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; exec sftp \"\${x%%/*}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; exec rsync -avP \"\${x%%/*}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HG="/usr/bin/hg"
HISTCONTROL="ignoredups"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/info"
INPUT_DEVICES="keyboard mouse synaptics evdev"
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS="1"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDE_IS_PRELINKED="1"
KERNEL="linux"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="en de"
LOGNAME="root"
LPDEST="lp"
MAKEOPTS="-j3 "
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.1/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man"
MULTILIB_ABIS="amd64"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1:/usr/qt/3/bin:/var/qmail/bin:/var/vpopmail/bin"
PHP_TARGETS="php5-2"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error info log"
PORTAGE_ELOG_MAILFROM="linux64portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="mail_summary"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="5"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/.unionfs "
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SANDBOX_COMPAT_LEVEL="16"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTAGE_TMPFS="/dev/shm"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/science /usr/local/layman/xemacs /usr/local/layman/sunrise /usr/local/layman/vmware /usr/local/layman/sabayon /usr/local/layman/arcon /usr/local/layman/perl-experimental /usr/local/layman/mv /usr/local/layman/wirelay /usr/local/portage"
PRELINK_PATH_MASK="/usr/lib64/klibc:/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PROFILE_READ="true"
PS1="\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] "
PS2="> "
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
QMAIL_CONTROLDIR="/var/qmail/control"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; exec rsync -avP \"\${x%%/*}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.1:/usr/qt/3/bin:/var/qmail/bin:/var/vpopmail/bin"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
RUBY_TARGETS="ruby18"
R_HOME="/usr/lib64/R"
SANE_CONFIG_DIR="/etc/sane.d"
SCHEME_LIBRARY_PATH="/usr/share/slib/"
SEARCH_DIRS_MASK="/media /PART /sus32 /sus64 /fc32 /gen64 /dos /D100/chroot_gen32 /DATA/chroot_gen32 "
SHELL="/bin/bash"
SHLVL="1"
SPEC_ALIAS="alias.lasan"
STAGE1_USE="nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
TRICKYLOG="/var/log/trickyfetch.log"
USB_DEVFS_PATH="/dev/bus/usb"
USE="3dnow 3dnowext 64bit 7zip X Xaw3d a52 aac aalib acct acl acpi aiglx aio alsa amarok amd amd64 amr amrnb amrwb ao aotuv apm asf ass atmo audacious audiofile autoreplace bash-completion berkdb binary-drivers blksha1 bluetooth boost branding bundledlibevent bwscheduler bzip2 cairo ccache cdb cdda cdparanoia cdr cdrom cg chm chroot cli cmdreccmdi18n cmdsubmenu colordiff connectionstatus consolekit corefonts cracklib crypt css cups curl cutterlimit cutterqueue cuttime cvs cxx d dbase dbus debugger deprecated device-mapper dga dia diet dirac directfb disk-partition djvu dlloader dmi dmraid dnd dnotify dri dts dv dvb dvd dvdr dvdread dvi dxr3 emboss encode exceptions exif extensions extrafilters extraicons fame fat fbcondecor fbdev fbsplash ffmpeg fftw firefox firefox3 flac fortran gcrypt gdbm gif gimp gnome gnutls gphoto2 gpm graphviz gs gsm gstreamer gtk gtk2 hal hdri hpn htmltidy iconv icq ieee1394 imagemagick imap inkjar inotify int64 ipod iproute2 ipv6 irc jabber jack john joystick jpeg jpeg2k kde kdehiddenvisibility kdm keyring kipi kvm lame largefile lcd lcms libcaca libgcrypt libsamplerate libssh2 libtiger live lm_sensors logrotate lzma lzo mad maildir matroska mhash mjpeg mmap mmx mmxext mng modules mozilla mp2 mp3 mp3rtp mp4 mpd mpeg mpeg2 mplayer msn mudflap musepack mythtv nat ncurses network-cron new-login nforce2 nls nptl nptlonly nsplugin ntfs ntlm nvidia nvram ogg openexr opengl openmp openssl pam pam_chroot pam_timestamp pascal pcap pcre pda pdf perl pic plasma png policykit portaudio posix postproc postscript povray ppds pppd prelude pvr python qmail qt3 qt3support qt4 quicktime rar raw readline realmedia reiserfs rle rrdtool rss rtc scanner schroedinger sdl session sftp sftplogging sharedmem skins smp sndfile sockets socks5 speech speex spell spoof-source sql sqlite sqlite3 sse sse2 sse3 ssl ssse3 stream subversion svg swig sysfs sysvipc taglib tagwriting tcpd tcpwrapper tga theora threads tidy tiff timestats tls tomsfastmath tordns transcode truetype udev unicode unix98 urandom usb utempter v4l v4l2 vcd vdpau vdr visualization vnc voice volctrl vorbis vpopmail webkit wifi wireshark wma wmf wmp wxwindows x264 xanim xattr xemacs xforms xfs xine xinerama xinetd xml xmp xorg xosd xpm xrender xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 pana sonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa cirrus nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
USER="root"
USERLAND="GNU"
USERNAME="root"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nvidia nv vesa cirrus nouveau"
XAUTHORITY="/root/.xauth9TxX68"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
XZ_OPT="--memory=max"
_="/usr/bin/emerge"
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-24 14:25:01 UTC
I don't think this has anything to do with revdep-rebuild: it simply runs ldd on every executable - would consolekit have a hook in a library that responds as if the command had actually been run?
Comment 3 Paul Varner (RETIRED) gentoo-dev 2010-11-24 16:56:01 UTC
I cannot reproduce this at all.  What version of sys-app/dbus is installed, which desktop environment are you using, and how are you running revdep-rebuild (i.e sudo revdep-rebuild, or logging in or su to root)?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-24 17:08:01 UTC
(In reply to comment #3)
> I cannot reproduce this at all.  What version of sys-app/dbus is installed,
> which desktop environment are you using, and how are you running revdep-rebuild
> (i.e sudo revdep-rebuild, or logging in or su to root)?

I can't either. Maybe freedesktop knows more. The problem is probably only tangentially related to revdep-rebuild.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-24 17:09:01 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I cannot reproduce this at all.  What version of sys-app/dbus is installed,
> > which desktop environment are you using, and how are you running revdep-rebuild
> > (i.e sudo revdep-rebuild, or logging in or su to root)?
> 
> I can't either.

By which I meant: I can't reproduce it using only `ldd /usr/bin/*', so there must be more to it, and yes, perhaps it's related to running su or sudo.
Comment 6 Jochen Schlick 2010-11-25 23:34:47 UTC
- versions: KDE: 4.5.3, dbus:1.4.0, bash: 4.1_p9
- kde desktop of a normal user. inside a konsole terminal getting root acces with su and then executing root "revdep-rebuild", so nothing very spcial.

- thanx for the sudo-hint! with "sudo revdep-rebuild" everything works fine. 

- so it happens only with su or from remote with ssh/su and not with sudo.


Comment 7 Paul Varner (RETIRED) gentoo-dev 2010-11-30 16:56:23 UTC
(In reply to comment #6)
> - versions: KDE: 4.5.3, dbus:1.4.0, bash: 4.1_p9
> - kde desktop of a normal user. inside a konsole terminal getting root acces
> with su and then executing root "revdep-rebuild", so nothing very spcial.

Which is exactly how I run it with no issues.

> - thanx for the sudo-hint! with "sudo revdep-rebuild" everything works fine. 
Since sudo strips the environment, it has to be something in root's environment that is causing the issue.

The only thing that I can think of right now is to su to root and run env and then run sudo env and see if we can find what the difference is that is causing the issue.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2012-02-15 03:43:30 UTC
Closing, pending on new information from the original reporter, like reproducing steps