-
Notifications
You must be signed in to change notification settings - Fork 660
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If /sys/fs/selinux is not RW-mounted, SELinux will always appear disabled in a container. Trying to apply the label using go-selinux library fails with `lsetxattr /mps/nvidia.com/gpu/pipe: invalid argument`. Executing the command, on the other hand, does not fail and applies the label successfully. MPS server and clients can run, the client processes have type `M+C` as expected. If /sys/fs/selinux is not mounted, skip applying the label. Signed-off-by: Vitaliy Emporopulo <[email protected]>
- Loading branch information
Showing
11 changed files
with
23 additions
and
2,229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
vendor/github.com/opencontainers/selinux/go-selinux/doc.go
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.