Skip to content

The alpine image needs to install qemu-openrc, for the qemu-binfmt service #3278

Closed
@afbjorklund

Description

@afbjorklund

Description

Currently the Rosetta mounting on Alpine fails, because the software is not installed:

+ '[' -f /etc/alpine-release ]
+ rc-service procfs start --ifnotstarted

 * The binfmt-misc module needs to be loaded by the modules service or built in.
 * Mounting misc binary format filesystem ... [ ok ]
+ rc-service qemu-binfmt stop --ifstarted

 * rc-service: service `qemu-binfmt' does not exist

The service (file /etc/init.d/qemu-binfmt) is located in the qemu-openrc package:

(1/9) Installing libcap-ng (0.8.5-r0)
(2/9) Installing libintl (0.22.5-r0)
(3/9) Installing pcre2 (10.43-r0)
(4/9) Installing glib (2.82.5-r0)
(5/9) Installing numactl (2.0.18-r0)
(6/9) Installing qemu (9.1.2-r1)
Executing qemu-9.1.2-r1.pre-install
Executing qemu-9.1.2-r1.post-install
*
* If you want to run VM as unprivileged user and let Qemu create tunX devices,
* then you must add that user to the group "qemu".
* If you use KVM for hardware-assisted virtualization, then you may also need
* to add that user to the group "kvm".
*
(7/9) Installing qemu-bridge-helper (9.1.2-r1)
(8/9) Installing socat (1.8.0.1-r0)
(9/9) Installing qemu-openrc (0.11.1-r1)
Executing qemu-openrc-0.11.1-r1.pre-install
Executing busybox-1.37.0-r8.trigger
Executing glib-2.82.5-r0.trigger

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions