Source: runc
Version: 1.1.5+ds1-1+deb12u1
Severity: normal
Dear Maintainer,
runc 1.1.5 only generates device properties for devices with symlinks
in /dev/{char,block}/ in order to suppress warnings from systemd.
However, devices like those from NVIDIA (/dev/nvidiactl, /dev/nvidia0,
...) lack those symlinks and thus corresponding DeviceAllow rules are
never generated. This effects that NVIDIA devices inside containers can
no longer be accessed with operation not permitted errors after
systemctl daemon-reload has been executed which puts those device
access rules into effect. The bug is fixed upstream in [1]. The
backport requires minor context changes. We confirmed that the backport
fixes the observed behavior by appropriately generating DeviceAllow
rules for NVIDIA devices. NVIDIA devices then remain functional inside
containers also after executing systemctl daemon-reload.
Best regards
Tobias Preclik
[1]
https://github.com/opencontainers/runc/commit/d7208f59105e079ba037aea05f9d0603ba7f779f