Skip to content

Failed to get D-Bus connection: Operation not permitted #11

@kabamwboyer

Description

@kabamwboyer

Originally I encountered the error:

/run.sh: line 5: service: command not found

Upon a suggestion in a comment from this issue, I added the following to the Dockerfile:

RUN yum -y install initscripts && yum clean all

However, I now encounter the following error: Failed to get D-Bus connection: Operation not permitted

The full log is as follows:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Redirecting to /bin/systemctl start rsyslog.service
Failed to get D-Bus connection: Operation not permitted
/run.sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

This is a known issue with running CentOS Docker containers... Is there another way to run rsyslog and crond? Are these necessary to the core functioning of Helix Swarm? Thank you for your time and help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions