podman: Silverblue toolbox can't be used after rebooting the host

/kind bug

Description

Here is the toolbox script that we have been working on for Fedora Silverblue

If you follow the README.md to create and enter the toolbox, and then reboot the host; podman start ... fails to bring up the toolbox container once the host is back.

$ ./fedora-toolbox --verbose enter
unable to start container "fedora-toolbox-rishi:28": error relabeling "/run/user/1000/libpod/tmp/containers-root/9b2ea0bb584b0e6056547665ccb30f053dd233bf55c914c58cda54a3cd32bf92/rundir/resolv.conf" for container %!q(func() string=0xf21ce0): no such file or directory
./fedora-toolbox: failed to start container fedora-toolbox-rishi:28
$ podman start fedora-toolbox-rishi:28
unable to start container "fedora-toolbox-rishi:28": error relabeling "/run/user/1000/libpod/tmp/containers-root/9b2ea0bb584b0e6056547665ccb30f053dd233bf55c914c58cda54a3cd32bf92/rundir/resolv.conf" for container %!q(func() string=0xf21ce0): no such file or directory

Output of podman version:

Version:       0.9.3.1
Go Version:    go1.10.4
OS/Arch:       linux/amd64

Note that this is podman-0.9.3.1 with the fix for #1526 cherry-picked on top. I also have the patch from opencontainers/runc#1862 in my runc build.

Output of podman info:

host:
  Conmon:
    package: podman-0.9.3.1-1.1.git1cd906d.fc28.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 1.12.0-dev, commit: 8cc84bd282d7badb733d4d1e041b5d7ef7a63190-dirty'
  MemFree: 12229124096
  MemTotal: 16696311808
  OCIRuntime:
    package: runc-1.0.0-53.1.dev.git70ca035.fc28.x86_64
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.0'
  SwapFree: 4208979968
  SwapTotal: 4208979968
  arch: amd64
  cpus: 4
  hostname: bollard
  kernel: 4.18.9-200.fc28.x86_64
  os: linux
  uptime: 17m 16.21s
insecure registries:
  registries: []
registries:
  registries:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ContainerStore:
    number: 1
  GraphDriverName: vfs
  GraphOptions: []
  GraphRoot: /var/home/rishi/.local/share/containers/storage
  GraphStatus: {}
  ImageStore:
    number: 3
  RunRoot: /run/user/1000/run

Additional environment details (AWS, VirtualBox, physical, etc.):

This is a physical laptop running Fedora 28 Silverblue 28.20180923.0.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (14 by maintainers)

Most upvoted comments

I tried podman-0.10.1, which includes PR #1584, and I can enter the toolbox after rebooting the host. Thanks for the fix!