fix: symlink ldconfig to ldconfig.real for gpu-operator support#154
fix: symlink ldconfig to ldconfig.real for gpu-operator support#154jeefy wants to merge 1 commit intoublue-os:mainfrom
Conversation
Signed-off-by: Jeffrey Sica <me@jeefy.dev>
Odd bug... but reading the report, seems to be an artifact of Ubuntu-first packaging support. Thank you for the contribution @jeefy, but as this is nvidia specific (at least, it seems to be), I want to scope it a bit more. What are your thoughts on making it a post-install step for our ucore nvidia RPM? AN alternative though, maybe add the symlink with comment and explanation here? https://github.com/ublue-os/ucore/blob/main/ucore/install-ucore-minimal.sh#L46 Edit: added alternative thought |
Currently Nvidia's GPU Operator expects
ldconfig.realto exist. See NVIDIA/nvidia-container-toolkit#147 for more info.Short-term you can modify
/usr/local/nvidia/toolkit/.config/nvidia-container-runtime/config.tomlto point to/sbin/ldconfighowever any time the pods cycle or the node reboots it regenerates the file and points to the incorrect ldconfig.