mantidproject / dockerfiles

Docker images relating to Mantid
https://hub.docker.com/u/mantidproject/
GNU General Public License v3.0
3 stars 7 forks source link

Fix "D-Bus library appears to be incorrectly set up;" error #33

Closed rosswhitfield closed 3 years ago

rosswhitfield commented 3 years ago

We are trying to use the CentOS7 docker image mantidproject/jenkins-node:centos7 for our build servers and when running the tests a lot fail with the message

libEGL warning: DRI2: failed to open swrast (search paths /usr/lib64/dri)
D-Bus library appears to be incorrectly set up; failed to read machine uuid: UUID file '/etc/machine-id' should contain a hex string of length 32, not length 0, with no other text
See the manual page for dbus-uuidgen to correct this issue.

This can happen when xorg is installed on a barebones system (like docker) as things don't get set up correctly.

This should fix that.

martyngigg commented 3 years ago

I'll rebuild the images. The development package version needed updating too so I've done that.