Skip to content
New issue

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

bootstrap image not working in podman #1450

Closed
hroncok opened this issue Sep 12, 2024 · 1 comment
Closed

bootstrap image not working in podman #1450

hroncok opened this issue Sep 12, 2024 · 1 comment

Comments

@hroncok
Copy link
Contributor

hroncok commented Sep 12, 2024

Short description of the problem

Following the guide at https://rpm-software-management.github.io/mock/#mock-inside-podman-fedora-toolbox-or-docker-container I am unable to run mock:

$ podman run --rm --privileged -ti fedora:40 bash
[root@2f26bd11c076 /]# dnf install -y mock
...
[root@2f26bd11c076 /]# useradd mockbuilder
[root@2f26bd11c076 /]# usermod -a -G mock mockbuilder
[root@2f26bd11c076 /]# su - mockbuilder
[mockbuilder@2f26bd11c076 ~]$ mock -r fedora-rawhide-x86_64 install python3.13
INFO: mock.py version 5.6 starting (python version = 3.12.3, NVR = mock-5.6-1.fc40), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 install python3.13
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.6
INFO: Mock Version: 5.6
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Guessed host environment type: unknown
INFO: Using bootstrap image: registry.fedoraproject.org/fedora:rawhide
INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide
ERROR: Error: configure storage: kernel does not support overlay fs: unable to create kernel-style whiteout: no such file or directory

INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide
ERROR: Error: configure storage: kernel does not support overlay fs: unable to create kernel-style whiteout: no such file or directory

INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide
ERROR: Error: configure storage: kernel does not support overlay fs: unable to create kernel-style whiteout: no such file or directory

INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide
ERROR: Error: configure storage: kernel does not support overlay fs: unable to create kernel-style whiteout: no such file or directory

INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide
ERROR: Error: configure storage: kernel does not support overlay fs: unable to create kernel-style whiteout: no such file or directory

INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide
ERROR: Error: configure storage: kernel does not support overlay fs: unable to create kernel-style whiteout: no such file or directory

^CERROR: Exiting on user interrupt, <CTRL>-C

The guide should probably be updated to suggest --no-bootstrap-image... or something else?

@praiskup
Copy link
Member

Thank you for the report - this will be fixed in the next Mock release, see #1381. Install fuse-overalyfs in the container.

Pre-release Mock: https://copr.fedorainfracloud.org/coprs/g/mock/mock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants