Public bug reported:
Trying to run `nvtop` in a Ubuntu 26.04 Podman container will fail with
a "Operation not permitted" error.
Steps to reproduce:
1. Pull latest Ubuntu 26.04 image: `podman pull docker.io/library/ubuntu:26.04`
2. Run a container: `podman run -it --rm docker.io/library/ubuntu:26.04`
3. Install nvtop in the container: `apt update && apt install nvtop`
4. Run nvtop: `nvtop`
5. Observe error: `bash: /usr/bin/nvtop: Operation not permitted`
I'm testing on a Fedora 43 AMD64 host with Podman 5.8.1. Ubuntu 24.04
and 25.10 images do not have this problem; `nvtop` runs correctly and
reports there's no GPU to monitor.
Interestingly, `ldd` could correctly show the interpreter used to run
this program, and manually invoking it works:
root@f4393fdbf6fc:/# lsb_release -rd
Description: Ubuntu Resolute Raccoon (development branch)
Release: 26.04
root@f4393fdbf6fc:/# apt-cache policy nvtop
nvtop:
Installed: 3.2.0-2
Candidate: 3.2.0-2
Version table:
*** 3.2.0-2 500
500 http://archive.ubuntu.com/ubuntu resolute/multiverse amd64 Packages
100 /var/lib/dpkg/status
root@f4393fdbf6fc:/# nvtop
bash: /usr/bin/nvtop: Operation not permitted
root@f4393fdbf6fc:/#
root@f4393fdbf6fc:/# ldd `which nvtop`
linux-vdso.so.1 (0x00007f7eaefac000)
libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007f7eaee49000)
libsystemd.so.0 => /usr/lib/x86_64-linux-gnu/libsystemd.so.0
(0x00007f7eaed35000)
libncursesw.so.6 => /usr/lib/x86_64-linux-gnu/libncursesw.so.6
(0x00007f7eaecf8000)
libtinfo.so.6 => /usr/lib/x86_64-linux-gnu/libtinfo.so.6
(0x00007f7eaecc3000)
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007f7eaeaa2000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7eaefae000)
root@f4393fdbf6fc:/# /lib64/ld-linux-x86-64.so.2 `which nvtop`
No GPU to monitor.
root@f4393fdbf6fc:/#
** Affects: nvtop (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2148148
Title:
Fail to run in Ubuntu 26.04 Podman container: Operation not permitted
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvtop/+bug/2148148/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs