# building with -buildmode=pie does not work with an error
# symbol lookup error: ./build2/nvidia-mig-parted: undefined symbol: nvmlGpuInstanceGetComputeInstanceProfileInfoV
# The same error than this one, but on another package using the same library: https://github.com/NVIDIA/nvidia-container-toolkit/issues/49
hardening-no-bindnow [usr/bin/nvidia-mig-manager]
hardening-no-bindnow [usr/bin/nvidia-mig-parted]

# unproblematic spelling errors
spelling-error-in-binary "allow to" "allow one to" [usr/bin/nvidia-mig-manager]
spelling-error-in-binary "allows to" "allows one to" [usr/bin/nvidia-mig-manager]
spelling-error-in-binary Contoller Controller [usr/bin/nvidia-mig-parted]
spelling-error-in-binary Controler Controller [usr/bin/nvidia-mig-parted]
spelling-error-in-binary Fuction Function [usr/bin/nvidia-mig-parted]
spelling-error-in-binary Subsytem Subsystem [usr/bin/nvidia-mig-parted]
spelling-error-in-binary classses classes [usr/bin/nvidia-mig-manager]
spelling-error-in-binary contructed constructed [usr/bin/nvidia-mig-manager]
spelling-error-in-binary everytime every time [usr/bin/nvidia-mig-manager]
spelling-error-in-binary reveresed reversed [usr/bin/nvidia-mig-parted]
spelling-error-in-binary satified satisfied [usr/bin/nvidia-mig-manager]
spelling-error-in-binary serie series [usr/bin/nvidia-mig-parted]

# nvidia-gpu-reset.target is used to ensure the nvidia-mig-manager.service is started
# after the nvidia-fabricmanager.service`and nvidia-persistenced.service.
# In addition, this target allows applications like dcgm and nvsm
# to be started only after the nvidia-mig-manager.service has started.
systemd-service-file-refers-to-unusual-wantedby-target nvidia-gpu-reset.target [usr/lib/systemd/system/nvidia-mig-manager.service]
