Closed hroncok closed 2 months ago
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?
--no-bootstrap-image
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
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:
The guide should probably be updated to suggest
--no-bootstrap-image
... or something else?