lxc permissions in order to set sensor thresholds

keeka

Active Member
Dec 8, 2019
166
18
38
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!