https://bugzilla.redhat.com/show_bug.cgi?id=1187649
Bug ID: 1187649 Summary: Fedora:latest docker image d-bus unknown error -1 Product: Fedora Version: 21 Component: docker-io Assignee: lsm5@redhat.com Reporter: cyborg101010@gmail.com QA Contact: extras-qa@fedoraproject.org CC: adimania@gmail.com, admiller@redhat.com, golang@lists.fedoraproject.org, hushan.jia@gmail.com, jchaloup@redhat.com, jperrin@centos.org, lsm5@redhat.com, mattdm@redhat.com, mgoldman@redhat.com, miminar@redhat.com, s@shk.io, thrcka@redhat.com, vbatts@redhat.com
Description of problem: When trying to use anything that relies on D-Bus, on Fedora:latest, you get the error: Failed to get D-Bus connection: Unknown error -1
How reproducible: 100%
Steps to Reproduce: 1. Attach to Fedora:latest 2. yum install postgresql-server -y 3. systemctl start postgresql
Actual results: Failed to get D-Bus connection: Unknown error -1
Expected results: Systemd starts postgres
Additional info: It's not just postgres, I've tried with others.
https://bugzilla.redhat.com/show_bug.cgi?id=1187649
Daniel Walsh dwalsh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dwalsh@redhat.com Assignee|lsm5@redhat.com |vpavlin@redhat.com
--- Comment #1 from Daniel Walsh dwalsh@redhat.com --- To get this to work, you would either need to get systemd-container or systemd to run within the container.
https://bugzilla.redhat.com/show_bug.cgi?id=1187649
Daniel Walsh dwalsh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
https://bugzilla.redhat.com/show_bug.cgi?id=1187649
--- Comment #2 from Václav Pavlín vpavlin@redhat.com --- How do you run your container? D-Bus has some problems running in current base images (due to systemd handling failure of setting of OOMScoreAdjust too sternly) but it should be fixed in Rawhide and F22. Or you can remove this option from the dbus.service unit file. I have a blog post on this here:
http://vpavlin.eu/2015/02/fedora-docker-and-systemd/
https://bugzilla.redhat.com/show_bug.cgi?id=1187649
--- Comment #3 from Daniel Walsh dwalsh@redhat.com --- Can we remove the optin from the dbus.service script in the base container?
https://bugzilla.redhat.com/show_bug.cgi?id=1187649
--- Comment #4 from Václav Pavlín vpavlin@redhat.com --- I've actually already done that earlier:
https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-docker-bas...
we just need to get new build to Docker Hub (which, afaik, Lokesh is working on)
https://bugzilla.redhat.com/show_bug.cgi?id=1187649
--- Comment #5 from Daniel Walsh dwalsh@redhat.com --- Excellent, thanks.
https://bugzilla.redhat.com/show_bug.cgi?id=1187649
--- Comment #6 from Daniel Walsh dwalsh@redhat.com --- Vaclav can we close this?
https://bugzilla.redhat.com/show_bug.cgi?id=1187649
Daniel Walsh dwalsh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2015-06-03 08:18:44
golang@lists.fedoraproject.org