Processes running in containers only have access to a limited set of devices, based on their SELinux type label. The USB serial devices exposed by the Zwave and Zigbee adapters are not labelled correctly by default to allow them to be used in containers. Using `chcon` to change the type label of the device before starting the container seems to work, but seems a bit kludgy. It would probably be better to use a SELinux file context rule and/or a udev rule to ensure the label is set correctly when the device node is created. |
||
---|---|---|
.. | ||
zwavejs2mqtt.service.j2 |