lxc permissions in order to set sensor thresholds

keeka

Renowned Member
Dec 8, 2019
240
34
68
I run lm-sensors in a container. I can read the host sensors fine but cannot set thresholds from within the container (I currently have to do that on the pve host).
What lxc device node permissions would be needed in order to successfully run sensors -s within the container?

The board's sensor is it8728-isa-0a30.

Current lxc configuration:
YAML:
cores: 2
hostname: monitor
memory: 2048
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.0.1,hwaddr=b2:59:fa:f4:51:ae,ip=192.168.0.7/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: vmdisks:vm-111-disk-0,mountoptions=noatime,size=20G
startup: order=10
swap: 0
unprivileged: 1

Many thanks.