Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Archlinux host. Failed to connect to bus: No such file or directory #2160

Closed
korzh-nick opened this issue Apr 23, 2021 · 4 comments
Closed

Comments

@korzh-nick
Copy link

Issue Type

  • Bug Report / Support Request

Your Environment

linux 5.11.15.arch1-2
docker 1:20.10.6-1
docker-compose 1.29.1-1
dbus 1.12.20-1
dbus-glib 0.112-1

Your OS

  • Linux Archlinux

Full console output

root@7579bc3d9031:/# systemctl
Failed to connect to bus: No such file or directory

Summary

After a recent update (not updated for a long time), systemctl stopped starting in the container. It turns out that drupalvm in docker does not work in archlinux now. The configuration is standard.

---
version: "3"

services:

  drupal-vm:

    ports:
      - 8001:80
      - 443
      - 3306
      - 8025:8025

    dns:
      - '8.8.8.8'
      - '8.8.4.4'

    volumes:
      - ./:/var/www/drupalvm/:rw,delegated
      - /var/lib/mysql
      - /sys/fs/cgroup:/sys/fs/cgroup:ro

    privileged: true
    command: /lib/systemd/systemd

    networks:
      drupalvm:
        ipv4_address: 184.168.89.89

networks:

  drupalvm:
    driver: bridge
    driver_opts:
      ip: 184.168.89.1
    ipam:
      config:
        - subnet: "184.168.89.0/16"
@geerlingguy
Copy link
Owner

Note that the current docker image for Drupal VM is a bit out of date due to #2090

@korzh-nick
Copy link
Author

For the test, I raised the image of debian bullseye (Linux bullseye 5.10.0-5-amd64, Docker version 20.10.5+dfsg1, dbus 1.12.20-2) to vagrant - the same result. In the image of debian 10 raised in the vagrant it works normally.

@stale
Copy link

stale bot commented Jul 22, 2021

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Jul 22, 2021
@stale
Copy link

stale bot commented Aug 21, 2021

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@stale stale bot closed this as completed Aug 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants