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

dbus and other pids are deleted off the host #557

Open
koush opened this issue Mar 7, 2024 · 2 comments
Open

dbus and other pids are deleted off the host #557

koush opened this issue Mar 7, 2024 · 2 comments
Labels

Comments

@koush
Copy link

koush commented Mar 7, 2024

Describe The Bug

This is the setup guide for avahi:

https://github.com/homebridge/homebridge/wiki/mDNS-Options#avahi-linux-and-docker

    security_opt:
      - apparmor:unconfined
    volumes:
      - /var/run/dbus:/var/run/dbus
      - /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
      - ...

The avahi startup script will delete the running pids in the container:

# delete existing pid if found

# delete existing pids if they exist
[ -e /var/run/dbus.pid ] && rm -f /var/run/dbus.pid
[ -e /var/run/dbus/pid ] && rm -f /var/run/dbus/pid 
[ -e /run/dbus/pid ] && rm -f /run/dbus/pid

Specifically this pid is within the rw volume on the host machine: /var/run/dbus/pid

Seems to be a bug.

Docker Config

N/A

Logs

No response

Host Operating System

Ubuntu / Debian (or a variant)

Host Architecture

x86_64 / amd64

@koush koush added the bug label Mar 7, 2024
Copy link

github-actions bot commented Apr 7, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Copy link

github-actions bot commented May 8, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants