podman: toolbox: failed to start container fedora-toolbox-RELEASEVER
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
toolbox: failed to start container fedora-toolbox-RELEASEVER
Steps to reproduce the issue:
-
Run
toolbox createcommand and create a box. -
And run the box
toolbox enter
Describe the results you received: toolbox says “failed to start container fedora-toolbox-37”
Describe the results you expected: toolbox running smoothly
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
Client: Podman Engine
Version: 4.2.0-rc3
API Version: 4.2.0-rc3
Go Version: go1.19
Built: Fri Aug 5 22:53:26 2022
OS/Arch: linux/amd64
Output of podman info:
host:
arch: amd64
buildahVersion: 1.27.0-dev
cgroupControllers:
- cpu
- io
- memory
- pids
cgroupManager: systemd
cgroupVersion: v2
conmon:
package: conmon-2.1.2-3.fc37.x86_64
path: /usr/bin/conmon
version: 'conmon version 2.1.2, commit: '
cpuUtilization:
idlePercent: 95.65
systemPercent: 1.05
userPercent: 3.3
cpus: 8
distribution:
distribution: fedora
version: "37"
eventLogger: journald
hostname: "190502"
idMappings:
gidmap:
- container_id: 0
host_id: 1000
size: 1
- container_id: 1
host_id: 100000
size: 65536
uidmap:
- container_id: 0
host_id: 1000
size: 1
- container_id: 1
host_id: 100000
size: 65536
kernel: 5.19.0-65.fc37.x86_64
linkmode: dynamic
logDriver: journald
memFree: 262184960
memTotal: 8222171136
networkBackend: netavark
ociRuntime:
name: crun
package: crun-1.5-1.fc37.x86_64
path: /usr/bin/crun
version: |-
crun version 1.5
commit: 54ebb8ca8bf7e6ddae2eb919f5b82d1d96863dea
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
os: linux
remoteSocket:
exists: true
path: /run/user/1000/podman/podman.sock
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.2.0-5.fc37.x86_64
version: |-
slirp4netns version 1.2.0
commit: 656041d45cfca7a4176f6b7eed9e4fe6c11e8383
libslirp: 4.7.0
SLIRP_CONFIG_VERSION_MAX: 4
libseccomp: 2.5.3
swapFree: 4292861952
swapTotal: 4294959104
uptime: 1h 9m 13.00s (Approximately 0.04 days)
plugins:
authorization: null
log:
- k8s-file
- none
- passthrough
- journald
network:
- bridge
- macvlan
volume:
- local
registries:
search:
- registry.fedoraproject.org
- registry.access.redhat.com
- docker.io
- quay.io
store:
configFile: /home/fedora/.config/containers/storage.conf
containerStore:
number: 9
paused: 0
running: 0
stopped: 9
graphDriverName: overlay
graphOptions: {}
graphRoot: /home/fedora/.local/share/containers/storage
graphRootAllocated: 210224783360
graphRootUsed: 96581644288
graphStatus:
Backing Filesystem: extfs
Native Overlay Diff: "true"
Supports d_type: "true"
Using metacopy: "false"
imageCopyTmpDir: /var/tmp
imageStore:
number: 1
runRoot: /run/user/1000/containers
volumePath: /home/fedora/.local/share/containers/storage/volumes
version:
APIVersion: 4.2.0-rc3
Built: 1659729206
BuiltTime: Fri Aug 5 22:53:26 2022
GitCommit: ""
GoVersion: go1.19
Os: linux
OsArch: linux/amd64
Version: 4.2.0-rc3
Package info (e.g. output of rpm -q podman or apt list podman):
podman-gvproxy-4.2.0~rc3-2.fc37.x86_64
podman-plugins-4.2.0~rc3-2.fc37.x86_64
podman-4.2.0~rc3-2.fc37.x86_64
podman-compose-1.0.3-6.fc37.noarch
podman-docker-4.2.0~rc3-2.fc37.noarch
podman-tests-4.2.0~rc3-2.fc37.x86_64
podman-remote-4.2.0~rc3-2.fc37.x86_64
podman-tui-0.5.0-3.fc37.x86_64
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.): Fedora 37 Rawhide Prerelease
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22 (9 by maintainers)
@giuseppe
We messed with @onuralpszr and found that the problem was with the toolbox. Toolbox goes to wrong dbus address and throws an error. When you define the address manually with the
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/busvariable, the problem disappears. We will need to report this issue under the containers/toolbox project