-
Notifications
You must be signed in to change notification settings - Fork 475
Driver validation doesn't succeed because /usr/bin is a symlink #1357
Copy link
Copy link
Open
Labels
bugIssue/PR to expose/discuss/fix a bugIssue/PR to expose/discuss/fix a bugneeds-triageissue or PR has not been assigned a priority-px labelissue or PR has not been assigned a priority-px label
Milestone
Description
On my OS (NixOS) /usr/bin is a symlink to /run/current-system/sw/bin
[root@nvidia-operator-validator-9nk4h /]# ls -lah /host/usr/bin
lrwxrwxrwx 1 root root 26 Feb 16 13:09 /host/usr/bin -> /run/current-system/sw/bin
This means that the validation will always fail here:
https://github.com/NVIDIA/gpu-operator/blob/e9b7ec16203987508eddc048fe82a4c44d3b392a/validator/main.go#L703C1-L704C1
If I'm not mistaken we should simply syscal.chroot there but I'm not sure if the following symlink creation would still work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue/PR to expose/discuss/fix a bugIssue/PR to expose/discuss/fix a bugneeds-triageissue or PR has not been assigned a priority-px labelissue or PR has not been assigned a priority-px label