Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify condition on NVIDIA FabricManager service
The `/dev/nvswitchctl` device is created by the NVIDIA Fabric Manager service, so it cannot be a condition for the `nvidia-fabricmanager` service. Looking at the NVIDIA driver startup script for Kubernetes, the actual check is the presence of `/proc/driver/nvidia-nvswitch/devices` and the fact that it's not empty [1]. This change modifies the condition to `ConditionDirectoryNotEmpty=/proc/driver/nvidia-nvswitch/devices`, which verifies that a certain path exists and is a non-empty directory. [1] https://gitlab.com/nvidia/container-images/driver/-/blob/main/rhel9/nvidia-driver?ref_type=heads#L262-269 Signed-off-by: Fabien Dupont <[email protected]>
- Loading branch information