Skip to content

permission denied in debian bookworm #8

@Yamacore

Description

@Yamacore

Hello there i currently try to link an zigbee stick with your great workaround, sadly i get errored out the stick is recognized but cant be talked to:

System:
Debian 12 all updated, default installed docker, joined a swarm.
yaml part:
`version: "3.8"

services:
dmm:
image: docker
entrypoint: docker
restart: unless-stopped
privileged: true
command: |
run
-i
--rm
--privileged
--cgroupns=host
--pid=host
--userns=host
-v /sys:/host/sys
-v /var/run/docker.sock:/var/run/docker.sock
-v /dev:/dev
ghcr.io/allfro/allfro/device-mapping-manager:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
mode: global`

tested the one linked here aswell (where it does not find the repo) and nightly version

the error i get:
`2023-08-18T13:40:29.068805881Z Status: Downloaded newer image for ghcr.io/allfro/allfro/device-mapping-manager:nightly

2023-08-18T13:40:30.080766794Z 2023/08/18 13:40:30 The cgroup version for process 1735168 is: 2

2023-08-18T13:40:30.080780249Z 2023/08/18 13:40:30 Checking mounts for process 1735168

2023-08-18T13:40:30.080782748Z 2023/08/18 13:40:30 da796728f12ab9f41cc119ab4711348fef9d73d8fe3356a7333763cf47e04191/1735168 requested a volume mount for /sys at /host/sys

2023-08-18T13:40:30.080784857Z 2023/08/18 13:40:30 /sys is not a device... skipping

2023-08-18T13:40:30.080786685Z 2023/08/18 13:40:30 da796728f12ab9f41cc119ab4711348fef9d73d8fe3356a7333763cf47e04191/1735168 requested a volume mount for /var/run/docker.sock at /var/run/docker.sock

2023-08-18T13:40:30.080788600Z 2023/08/18 13:40:30 /var/run/docker.sock is not a device... skipping

2023-08-18T13:40:30.080790486Z 2023/08/18 13:40:30 da796728f12ab9f41cc119ab4711348fef9d73d8fe3356a7333763cf47e04191/1735168 requested a volume mount for /dev/ttyUSB0 at /dev/ttyUSB0

2023-08-18T13:40:30.080839391Z 2023/08/18 13:40:30 The cgroup path for process 1735168 is at /host/sys/fs/cgroup

2023-08-18T13:40:30.080935410Z 2023/08/18 13:40:30 Found device: /dev/ttyUSB0 c 188:0

2023-08-18T13:40:30.080940831Z 2023/08/18 13:40:30 Adding device rule for process 1735168 at /host/sys/fs/cgroup

2023-08-18T13:40:30.081078604Z 2023/08/18 13:40:30 unable to generate new device filter program with no existing programs: unable to create new device filters program: load program: permission denied: 10: (95) exit: R0 !read_ok (10 line(s) omitted)

2023-08-18T13:40:30.081085720Z 2023/08/18 13:40:30 unable to generate new device filter program with no existing programs: unable to create new device filters program: load program: permission denied: 10: (95) exit: R0 !read_ok (10 line(s) omitted)`

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