Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to get D-Bus connection: No such file or directory #22

Open
VladDm93 opened this issue Nov 21, 2022 · 3 comments
Open

Failed to get D-Bus connection: No such file or directory #22

VladDm93 opened this issue Nov 21, 2022 · 3 comments

Comments

@VladDm93
Copy link

Hello, I am getting this error while running
https://github.com/VladDm93/postgresql/actions/runs/3510277043/jobs/5884722508

fatal: [postgresql-12]: FAILED! => {"changed": false, "cmd": "/bin/systemctl", "msg": "Failed to get D-Bus connection: No such file or directory", "rc": 1, "stderr": "Failed to get D-Bus connection: No such file or directory\n", "stderr_lines": ["Failed to get D-Bus connection: No such file or directory"], "stdout": "", "stdout_lines": []}

I was getting similar errors before on others images such as .

geerlingguy/docker-centos8-ansible:latest
geerlingguy/docker-debian10-ansible:latest
geerlingguy/docker-ubuntu1804-ansible:latest
geerlingguy/docker-ubuntu2004-ansible:latest

I was able to fix those errors thanks to replies on this issue
geerlingguy/docker-debian11-ansible#4

but for some reason centos7 version keeps getting errors.

@tbumke
Copy link

tbumke commented Feb 22, 2023

+1
Not having any issues with the RockyLinux 8 and CentOS 8 images, but CentOS 7 still fails with cgroup v2. Any known workaround (instead of updating systemd) ? I'm mostly running the images in my CI pipelines in GH actions.

@deitChi
Copy link

deitChi commented Mar 24, 2023

Any updates on this? My situation is identical - centos8 works fine, centos7 is failing with the dbus error

@geerlingguy
Copy link
Owner

I've basically stopped testing on CentOS 7 for most of my work, as everything across the board is getting harder to support (yum issues with Ansible, Python 2 / 3 issues with various software, this issue with systemd...).

I would recommend anyone who still needs to support active testing on CentOS 7 either find a good fix for this project (and I'll try to merge it) or build your own separate environment for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants