tribut / homeassistant-docker-venv

Run Home Assistant as non-root using the official docker image
120 stars 14 forks source link

Not working on 0.117.0 #15

Open StefanNienhuis opened 3 years ago

StefanNienhuis commented 3 years ago

On the new Home Assistant 0.117.0, I'm getting this error message: s6-overlay-preinit: fatal: unable to chown /var/run/s6: Operation not permitted

It seems like something changed in S6.

tribut commented 3 years ago

Thank you for reporting this, but unfortunately I cannot reproduce it. I am running 0.117.1 just fine.

Can you give me the full docker run command you are using and maybe some more context for the error message? Thanks!

StefanNienhuis commented 3 years ago

Hi, this is my docker compose service:

homeassistant:
    container_name: homeassistant
    image: homeassistant/home-assistant:stable
    userns_mode: host
    network_mode: host
    privileged: true
    restart: unless-stopped

    volumes:
      - /home/<username>/Docker/Home Assistant:/config
      - /home/<username>/Docker/Home Assistant/docker/run:/etc/services.d/home-assistant/run

    devices:
      - /dev/ttyACM0:/dev/ttyACM0

    environment:
      TZ: $TZ
      PUID: 1000
      PGID: 998
      EXTRA_GID: 20 107

    labels:
      com.centurylinklabs.watchtower.enable: 'true'

When using tag stable, it repeatedly logs s6-overlay-preinit: fatal: unable to chown /var/run/s6: Operation not permitted, nothing else. When using tag 0.16.4, it runs fine.