Hey Guix,
Just for fun, I tried putting the following in my services:
(service qemu-bitfmt-service-type
(qemu-bitfmt-configuration (platforms %qemu-platforms)))
However, after reconfiguration, shepherd fails to start qemu-binfmt:
$ sudo herd start qemu-binfmt
herd: exception caught while executing 'start' on service 'qemu-binfmt'
fport_write: No such file or directory
That message is not particularly helpful, but
$ grep binfmt_misc /var/log/messages
Apr 25 19:35:14 localhost vmunix: [ 2052.220124] binfmt_misc: register:
failed to install interpreter file
/gnu/store/3l74cx3dgr61kj0q8padb9ayn0dai45b-qemu-5.2.0-static/bin/qemu-i486
Indeed, it looks like the qemu-i486 binary isn't in the qemu output at all. Any
idea what happened to it?