Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629602 - gnome-base/dconf-0.26.0-r1 : ERROR:dbus.c:237:test_sync_call_success: assertion failed (error == NULL): Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or /.../machine-id: Failed to open file ?/.../machine-id?: No
Summary: gnome-base/dconf-0.26.0-r1 : ERROR:dbus.c:237:test_sync_call_success: asserti...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-02 07:57 UTC by Toralf Förster
Modified: 2017-09-03 15:10 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.26 KB, text/plain)
2017-09-02 07:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,19.21 KB, text/plain)
2017-09-02 07:58 UTC, Toralf Förster
Details
environment (environment,109.41 KB, text/plain)
2017-09-02 07:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.03 KB, application/x-bzip)
2017-09-02 07:58 UTC, Toralf Förster
Details
gnome-base:dconf-0.26.0-r1:20170901-045109.log (gnome-base:dconf-0.26.0-r1:20170901-045109.log,43.19 KB, text/plain)
2017-09-02 07:58 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.02 KB, application/x-bzip)
2017-09-02 07:58 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.29 KB, application/x-bzip)
2017-09-02 07:58 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,117.08 KB, application/x-bzip)
2017-09-02 07:58 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-02 07:57:58 UTC
  /gdbus/thread/creation/error:                                        OK
  /gdbus/thread/sync-call/success:                                     **
ERROR:dbus.c:237:test_sync_call_success: assertion failed (error == NULL): Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or /etc/machine-id: Failed to open file ?/var/lib/dbus/machine-id?: No such file or directory (g-file-error-quark, 4)
FAIL
GTester: last random seed: R02S8fbe507c2cd32aff47a9c628d4f3550e
make[2]: *** [Makefile:927: test-nonrecursive] Terminated

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma-systemd_20170831-193500

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)




emerge -qpv gnome-base/dconf
[ebuild  N    ] gnome-base/dconf-0.26.0-r1  USE="{-test}"
Comment 1 Toralf Förster gentoo-dev 2017-09-02 07:58:01 UTC
Created attachment 491470 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-02 07:58:04 UTC
Created attachment 491472 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-02 07:58:07 UTC
Created attachment 491474 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-02 07:58:11 UTC
Created attachment 491476 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-02 07:58:14 UTC
Created attachment 491478 [details]
gnome-base:dconf-0.26.0-r1:20170901-045109.log
Comment 6 Toralf Förster gentoo-dev 2017-09-02 07:58:17 UTC
Created attachment 491480 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-09-02 07:58:20 UTC
Created attachment 491482 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2017-09-02 07:58:24 UTC
Created attachment 491484 [details]
tests.tbz2
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-02 09:43:28 UTC
This should be provided by either systemd or dbus afaik but I see it is not pulled in the dependency tree.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-02 16:38:13 UTC
damn, now that I read the ebuild, dbus is indeed pulled in in RDEPEND+DEPEND, why is it missing from your system ?
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-02 16:39:25 UTC
FTR, machine-id is generated in dbus postinst so it is enough to have dbus installed. It needs not to be running.
Comment 12 Mike Gilbert gentoo-dev 2017-09-02 16:59:39 UTC
(In reply to Gilles Dartiguelongue from comment #11)
> FTR, machine-id is generated in dbus postinst so it is enough to have dbus
> installed. It needs not to be running.

It is likely that /etc/machine-id gets removed during the tinderbox image creation process, similar to what we do for the systemd stage3 tarballs.

Anyone using such an image in a chroot environment is expected to regenerate it.
Comment 13 Toralf Förster gentoo-dev 2017-09-02 17:18:29 UTC
(In reply to Mike Gilbert from comment #12)
Hhm, I do have :

tinderbox@mr-fox ~ $ ll ~/run/*/etc/mach*
-rw-r--r-- 1 root root 33 Aug 30 21:33 /home/tinderbox/run/13.0_20170828-211425/etc/machine-id
-rw-r--r-- 1 root root 33 Aug 30 23:13 /home/tinderbox/run/13.0-desktop_20170828-210912/etc/machine-id
-rw-r--r-- 1 root root 33 Aug 29 06:43 /home/tinderbox/run/13.0-desktop-gnome_abi32+64_20170828-210916/etc/machine-id
-rw-r--r-- 1 root root 33 Aug 29 04:27 /home/tinderbox/run/13.0-desktop-plasma_20170828-210922/etc/machine-id
-rw-r--r-- 1 root root 33 Aug 29 06:39 /home/tinderbox/run/13.0-no-multilib_20170828-210950/etc/machine-id


And I do not touch theat file at all - but I'll add a check to my box to see, which packages will remove it.
Comment 14 Mike Gilbert gentoo-dev 2017-09-03 00:47:49 UTC
(In reply to Toralf Förster from comment #13)
> And I do not touch theat file at all - but I'll add a check to my box to
> see, which packages will remove it.

What stage tarball do you use? As I said, the systemd stage3 tarballs will not have it, and dbus pkg_postinst will not be run since dbus is already installed.
Comment 15 Toralf Förster gentoo-dev 2017-09-03 07:28:25 UTC
(In reply to Mike Gilbert from comment #14)
I do use stage3 - yes.
And mostly I set ~amd64 in make.conf, so the first @system (scheduled immediately after upgrading gcc and revdep-rebuild) should upgrade dbus and run then pkg_postinst(), right ?
Comment 16 Mike Gilbert gentoo-dev 2017-09-03 14:39:10 UTC
(In reply to Toralf Förster from comment #15)

Yeah, that probably should have created it. I'm not sure what happened.
Comment 17 Toralf Förster gentoo-dev 2017-09-03 15:10:19 UTC
(In reply to Mike Gilbert from comment #16)
Well, have now a check in place :

if [[ "$task" = "sys-apps/dbus" &&  ! -f /etc/machine-id ]]; then
  echo "/etc/machine-id is missing"
  rc=1
fi

Maybe my general switch from "check few packages at every image" to "check every package at few systems" played a role here - so if this issue doesn't appear again, then it was just image specific.