We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detaching using the detach keys (ctrl-p ,ctrl-q) from a container entered using podman exec -it results in an error.
podman exec -it
podman run --name container -d alpine sleep infinity
podman exec -it container ash
The container does detach, but it takes several seconds and gives back the following error:
ERRO[0005] Container 4cea188839ea3627df1226058ac9f9f97a5fdfc852f87ac6b0a70db9a7420298 exec session 182c1e4c3ded8d9f2b318bd524edcf7b41e95bcad996fc688b9efb78bac59648 error: detached from container Error: timed out waiting for file /var/home/job/.local/share/containers/storage/overlay-containers/4cea188839ea3627df1226058ac9f9f97a5fdfc852f87ac6b0a70db9a7420298/userdata/182c1e4c3ded8d9f2b318bd524edcf7b41e95bcad996fc688b9efb78bac59648/exit/4cea188839ea3627df1226058ac9f9f97a5fdfc852f87ac6b0a70db9a7420298
Full terminal session:
fedora $ podman run --name container -d alpine sleep infinity 4cea188839ea3627df1226058ac9f9f97a5fdfc852f87ac6b0a70db9a7420298 fedora $ podman exec -it container ash / # ERRO[0005] Container 4cea188839ea3627df1226058ac9f9f97a5fdfc852f87ac6b0a70db9a7420298 exec session 182c1e4c3ded8d9f2b318bd524edcf7b41e95bcad996fc688b9efb78bac59648 error: detached from container Error: timed out waiting for file /var/home/job/.local/share/containers/storage/overlay-containers/4cea188839ea3627df1226058ac9f9f97a5fdfc852f87ac6b0a70db9a7420298/userdata/182c1e4c3ded8d9f2b318bd524edcf7b41e95bcad996fc688b9efb78bac59648/exit/4cea188839ea3627df1226058ac9f9f97a5fdfc852f87ac6b0a70db9a7420298 fedora $
Detaching the container should not take several seconds, and should not result in an error.
host: arch: amd64 buildahVersion: 1.38.0 cgroupControllers: - cpu - io - memory - pids cgroupManager: systemd cgroupVersion: v2 conmon: package: conmon-2.1.12-3.fc41.x86_64 path: /usr/bin/conmon version: 'conmon version 2.1.12, commit: ' cpuUtilization: idlePercent: 98.16 systemPercent: 0.49 userPercent: 1.35 cpus: 16 databaseBackend: sqlite distribution: distribution: fedora variant: silverblue version: "41" eventLogger: journald freeLocks: 2038 hostname: fedora idMappings: gidmap: - container_id: 0 host_id: 1000 size: 1 - container_id: 1 host_id: 524288 size: 65536 uidmap: - container_id: 0 host_id: 1000 size: 1 - container_id: 1 host_id: 524288 size: 65536 kernel: 6.12.5-200.fc41.x86_64 linkmode: dynamic logDriver: journald memFree: 6038581248 memTotal: 14477561856 networkBackend: netavark networkBackendInfo: backend: netavark dns: package: aardvark-dns-1.13.1-1.fc41.x86_64 path: /usr/libexec/podman/aardvark-dns version: aardvark-dns 1.13.1 package: netavark-1.13.1-1.fc41.x86_64 path: /usr/libexec/podman/netavark version: netavark 1.13.1 ociRuntime: name: crun package: crun-1.19.1-1.fc41.x86_64 path: /usr/bin/crun version: |- crun version 1.19.1 commit: 3e32a70c93f5aa5fea69b50256cca7fd4aa23c80 rundir: /run/user/1000/crun spec: 1.0.0 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL os: linux pasta: executable: /usr/bin/pasta package: passt-0^20241211.g09478d5-1.fc41.x86_64 version: | pasta 0^20241211.g09478d5-1.fc41.x86_64 Copyright Red Hat GNU General Public License, version 2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. remoteSocket: exists: true path: /run/user/1000/podman/podman.sock rootlessNetworkCmd: pasta security: apparmorEnabled: false capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT rootless: true seccompEnabled: true seccompProfilePath: /usr/share/containers/seccomp.json selinuxEnabled: true serviceIsRemote: false slirp4netns: executable: /usr/bin/slirp4netns package: slirp4netns-1.3.1-1.fc41.x86_64 version: |- slirp4netns version 1.3.1 commit: e5e368c4f5db6ae75c2fce786e31eef9da6bf236 libslirp: 4.8.0 SLIRP_CONFIG_VERSION_MAX: 5 libseccomp: 2.5.5 swapFree: 8589930496 swapTotal: 8589930496 uptime: 0h 56m 22.00s variant: "" plugins: authorization: null log: - k8s-file - none - passthrough - journald network: - bridge - macvlan - ipvlan volume: - local registries: search: - registry.fedoraproject.org - registry.access.redhat.com - docker.io store: configFile: /var/home/job/.config/containers/storage.conf containerStore: number: 5 paused: 0 running: 3 stopped: 2 graphDriverName: overlay graphOptions: {} graphRoot: /var/home/job/.local/share/containers/storage graphRootAllocated: 1022488477696 graphRootUsed: 22809714688 graphStatus: Backing Filesystem: btrfs Native Overlay Diff: "true" Supports d_type: "true" Supports shifting: "false" Supports volatile: "true" Using metacopy: "false" imageCopyTmpDir: /var/tmp imageStore: number: 6 runRoot: /run/user/1000/containers transientStore: false volumePath: /var/home/job/.local/share/containers/storage/volumes version: APIVersion: 5.3.1 Built: 1732147200 BuiltTime: Thu Nov 21 01:00:00 2024 GitCommit: "" GoVersion: go1.23.3 Os: linux OsArch: linux/amd64 Version: 5.3.1
No
Rootless
Yes
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Description
Detaching using the detach keys (ctrl-p ,ctrl-q) from a container entered using
podman exec -it
results in an error.Steps to reproduce the issue
podman run --name container -d alpine sleep infinity
podman exec -it container ash
Describe the results you received
The container does detach, but it takes several seconds and gives back the following error:
Full terminal session:
Describe the results you expected
Detaching the container should not take several seconds, and should not result in an error.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
The text was updated successfully, but these errors were encountered: