Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370451 - sys-apps/dbus: version bump to 1.4.10
Summary: sys-apps/dbus: version bump to 1.4.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Freedesktop bugs
URL: http://lists.freedesktop.org/archives...
Whiteboard:
Keywords:
: 370323 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-07 13:02 UTC by Michał Górny
Modified: 2011-06-08 16:00 UTC (History)
4 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-06-07 13:02:00 UTC
I'd appreciate if along with this bump, we could switch to using /etc/machine-id for D-Bus machine id (either by moving /var/lib/dbus/machine-id to that or removing the old one and getting a new one). That would simplify the systemd ebuild a little.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-06-07 16:13:36 UTC
*** Bug 370323 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-06-08 06:00:51 UTC
(In reply to comment #0)
> I'd appreciate if along with this bump, we could switch to using
> /etc/machine-id for D-Bus machine id (either by moving /var/lib/dbus/machine-id
> to that or removing the old one and getting a new one). That would simplify the
> systemd ebuild a little.

Try this...

+*dbus-1.4.10 (08 Jun 2011)
+
+  08 Jun 2011; Samuli Suominen <ssuominen@gentoo.org> +dbus-1.4.10.ebuild:
+  Version bump and move machine-id from /var/lib/dbus to /etc wrt #370451 by
+  Michał Górny.
Comment 3 octoploid 2011-06-08 14:15:10 UTC
This breaks my system. After the update to dbus-1.4.10 I get an
endless stream of:
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id: Failed to open file '/var/lib/dbus/machine-id': No such file or directory)

Copying /etc/machine-id to /var/lib/dbus/machine-id fixes the problem.
Comment 4 octoploid 2011-06-08 14:26:43 UTC
IOW please replace "mv -vf" in the ebuild with a "cp".
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-06-08 14:31:24 UTC
You forgot to restart /etc/init.d/dbus service and kill all existing dbus sessions (such as rebooting) ?

1.4.10 is capable of using /etc/machine-id instead of /var/lib/dbus/machine-id just fine here.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-06-08 14:38:28 UTC
For reference, NEWS file from dbus-1.4.10:

  • On Unix, if /var/lib/dbus/machine-id cannot be read, try /etc/machine-id
    (fd.o #35228, Lennart Poettering)

https://bugs.freedesktop.org/show_bug.cgi?id=35228
Comment 7 octoploid 2011-06-08 14:45:36 UTC
(In reply to comment #5)
> You forgot to restart /etc/init.d/dbus service and kill all existing dbus
> sessions (such as rebooting) ?

No, this happens after a reboot.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-06-08 14:47:35 UTC
Please post your `emerge --info'.
Comment 9 octoploid 2011-06-08 14:50:52 UTC
Portage 2.1.10 (default/linux/amd64/10.0/no-multilib, gcc-4.7.0, glibc-2.12.2-r0, 3.0.0-rc2-00108-gcb0a02e-dirty x86_64)
=================================================================
System uname: Linux-3.0.0-rc2-00108-gcb0a02e-dirty-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.0.2
Timestamp of tree: Wed, 08 Jun 2011 13:45:01 +0000
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          9999
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.51.0.9
sys-devel/gcc:            4.7.0
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13.90
Repositories: gentoo proaudio x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/tmp/portage"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--as-needed,--gc-sections,--icf=all,--icf-iterations=3"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio /usr/local/portage"
SYNC="rsync://134.147.32.114/gentoo-portage"
USE="3dnow X alsa amd64 apng audiofile bash-completion berkdb bzip2 cairo cgroup cli cracklib crypt cscope cups cxx dbus djvu dri exif extras fbcon fontconfig fortran gdbm gif gnome gpm gtk iconv jpeg kde kpathsea maildir mmx mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python qt3support qt4 readline semantic-desktop session sse sse2 sse3 ssl sysfs tcpd threads tiff truetype unicode vim-syntax xft xorg zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-06-08 15:17:26 UTC
Please open a new bug report instead of overtaking the bump request, thanks.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2011-06-08 16:00:04 UTC
(In reply to comment #10)
> Please open a new bug report instead of overtaking the bump request, thanks.

You are right, of course.   Just saying this before he does that:

Make sure you don't have any local dbus binaries/libraries installed in eg. /usr/local/bin or /usr/local/lib or any other path visible to your system.

If the problem persists, file a new bug