Comments (7)
What version of libcap
is installed on your Amazon Linux AMI?
Also can you give me the output of:
echo '#include <linux/types.h>' | gcc -E - | grep __u64
echo '#include <sys/prctl.h>' | gcc -E - | grep __u64
from libnvidia-container.
The Linux AMI version is 4.9.62-21.56.amzn1.x86_64
. It was built in September.
Libcap
Version of libcap
is at 2.16:
[ec2-user]# yum info packagename libcap
Loaded plugins: priorities, update-motd, upgrade-helper
Installed Packages
Name : libcap
Arch : x86_64
Version : 2.16
Release : 5.5.8.amzn1
Size : 63 k
Repo : installed
Summary : Library for getting and setting POSIX.1e capabilities
URL : http://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/
License : LGPLv2+ or BSD
Description : libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
: draft 15 capabilities.
Available Packages
Name : libcap
Arch : i686
Version : 2.16
Release : 5.5.8.amzn1
Size : 33 k
Repo : amzn-main/2017.09
Summary : Library for getting and setting POSIX.1e capabilities
URL : http://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/
License : LGPLv2+ or BSD
Description : libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
: draft 15 capabilities.
Header Information
echo '#include <linux/types.h>' | gcc -E - | grep __u64
[ec2-user]# echo '#include <linux/types.h>' | gcc -E - | grep __u64
__extension__ typedef unsigned long long __u64;
typedef __u64 __le64;
typedef __u64 __be64;
echo '#include <sys/prctl.h>' | gcc -E - | grep __u64
[ec2-user]# echo '#include <sys/prctl.h>' | gcc -E - | grep __u64
__extension__ typedef unsigned long long __u64;
typedef __u64 __le64;
typedef __u64 __be64;
__u64 start_code;
__u64 end_code;
__u64 start_data;
__u64 end_data;
__u64 start_brk;
__u64 brk;
__u64 start_stack;
__u64 arg_start;
__u64 arg_end;
__u64 env_start;
__u64 env_end;
__u64 *auxv;
from libnvidia-container.
Closing since this configuration is not officially supported and Amazon Linux 2 LTS fixed these issues anyway.
from libnvidia-container.
As noted in NVIDIA/nvidia-docker#553 this affects the latest Amazon ECS Optimized AMIs. What about this configuration is not officially supported? The versions, or just the Amazon Linux part of it? I was unable to find any reference in the repo on what was/was not officially supported.
from libnvidia-container.
Amazon Linux 2 should work fine. If it doesn't, I'll fix it.
from libnvidia-container.
Unfortunately there is no ECS optimized Amazon Linux 2 AMI, probably because it is still a release candidate. The ecs-init
package does not work on Amazon Linux 2 yet, again probably due to the early stages of it.
I am assuming they need to retrofit for systemd, among other things. In looking for cap_get_bound
it seems that the Amazon repo has libcap-devel 2.16 (or, in Amazon land libcap-devel-2.16-5.5.8.amzn1.x86_64
) and not ≥2.21, where that function was added.
from libnvidia-container.
@mzsanford This should fix the issue.
We will probably release packages as well for the next release of nvidia-docker.
from libnvidia-container.
Related Issues (20)
- Fail to start on second run. libs being set to 0 size HOT 2
- libnvidia-container ubuntu22.04/amd64 HOT 4
- libnvidia_container fails to compile with mold HOT 3
- Issue in permissions checking in nvcgo/internal/cgroup/ebpf.go ? HOT 2
- nvidia-container-runtime segfault HOT 2
- sudo yum install -y nvidia-container-toolkit failed - No such device
- nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory
- Warning of Key is stored in legacy trusted.gpg keyring HOT 2
- Unprivileged `nvidia-container-cli --user configure`
- ldconfig-free deployment
- Unable to use more than 5 GPU cards HOT 2
- Building libnvidia-container 1.14.5 builds 1.14.4 HOT 19
- nvidia-container-cli: mount error: failed to add device rules: unable to generate new device filter program from existing programs: unable to create new device filters program: load program: invalid argument: 0: (69) r2 = *(u16 *)(r1 +0)
- Trouble Running NVIDIA GPU Containers on Custom Yocto-Based Distro on HPE Server with NVIDIA A40 GPU HOT 5
- How to mirror this Nvidia libnividia rmp repo with artifactory rpm repo HOT 1
- versions.mk and common.mk use PATCH variable for different things
- Support for Ubuntu 24.04 HOT 3
- Error linking when the library version on the host is lower than that in the image
- Setting up nvidia drivers to work with docker container HOT 1
- Ubuntu22.04 make err HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libnvidia-container.