Skip to content

Update Validator for /usr/bin symlink#2464

Open
JunAr7112 wants to merge 1 commit into
NVIDIA:mainfrom
JunAr7112:fix_symlink
Open

Update Validator for /usr/bin symlink#2464
JunAr7112 wants to merge 1 commit into
NVIDIA:mainfrom
JunAr7112:fix_symlink

Conversation

@JunAr7112
Copy link
Copy Markdown
Contributor

Description

This MR is in response to this issue: #1357. In certain scenarios, we might have a symlink with /usr/bin which causes os.Lstat() to be unable to properly parse the nvidia-smi location. Inside the validator container, the host root filesystem is mounted at /host. So the validator tries to resolve: /host/usr/bin/nvidia-smi
But because /host/usr/bin points to an absolute symlink target, /run/.../bin, the path resolution happens from the validator container’s root, not from /host. In other words, it looks for: /run/.../bin/nvidia-smi inside the container namespace, instead of /host/run/.../bin/nvidia-smi. So the validator falsely concludes that the host-installed driver is not present.

This change ensures that the /usr/bin symlink will be parsed correctly.

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 15, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Signed-off-by: Arjun <agadiyar@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant