dcgm-exporter icon indicating copy to clipboard operation
dcgm-exporter copied to clipboard

Why SYS_ADMIN is required?

Open Yvanll opened this issue 1 year ago • 1 comments

Recently, I found dcgm-exporter will enconter a runtime error: FATA[0000] Failed to watch metrics: Error watching fields: Host engine is running as non-root. And adding --cap-add=SYS_ADMIN with docker run or SYS_ADMIN in yaml can step over the error. I wonder what specific operation causes the issue?

The error was found in below scenarios with dcgm-exporter 3.6.0 without SYS_ADMIN

Device Driver Version CUDA Version
NVIDIA A30 535.54.03 12.2
NVIDIA L2 535.154.05 12.2

Yvanll avatar Oct 25 '24 02:10 Yvanll

Related issue is 402

Yvanll avatar Oct 25 '24 03:10 Yvanll

Is there any updates? I just wanna know latest dcgm-exporter version still needs SYS_ADMIN

bluayer avatar Oct 01 '25 08:10 bluayer

This requirement is still inherited from DCGM and would need to be addressed there.

glowkey avatar Oct 01 '25 13:10 glowkey