Questions tagged [binfmt]

binfmt_misc is a Linux kernel component that allows it to run foreign executables directly (Windows, Java, …)

Filter by
Sorted by
Tagged with
0
votes
0answers
31 views

How could I make the changes in `usr/include/linux/binfmts.h` file make effect?

I have Ubuntu server that is running Linux 4.15.0-1082-azure. I updated the usr/include/linux/binfmts.h file in order to increase the size of argument list. I changed the MAX_ARG_PAGES. I need to ...
3
votes
0answers
285 views

Cross-arch Docker container will stop emulation

I'm trying to build a portable cross-arch Docker container using QEMU. However, depending on the host system and the programs installed on the host the container behaves differently. Running the ...
1
vote
0answers
38 views

What could cause slow binfmt-support.service during boot?

I have a Fujitsu LifeBook with Lubuntu 18.04.2 which is booting very slow. Here's the output from systemd-analyze blame | head -n20 28.869s systemd-journal-flush.service 24.957s dev-sda1.device 14....
0
votes
1answer
483 views

Steam Proton stopped working on Ubuntu 18.04.2 LTS

Ubuntu 18.04.2 LTS on AMD64 with Steam client now at version Feb 18 2019, package 1550534751. Yesterday, I could play Steam Play games (Windows games with the Proton fork of Wine) just fine on my ...
0
votes
0answers
93 views

Is `/usr/lib/binfmt-support/run-detectors` supposed to choose mono or wine to run a windows or .net executable? [duplicate]

On Lubuntu 18.04, Is /usr/lib/binfmt-support/run-detectors supposed to choose mono or wine to run a windows or .net executable? $ cat /proc/sys/fs/binfmt_misc/cli enabled interpreter /usr/lib/...
0
votes
1answer
187 views

Detect CLI or Wine executable in Manjaro

In my Linux Mint installation, I can directly execute a PE executable at the command line, and if it's a .NET/CLI executable, then it will automatically execute it with Mono, and otherwise, it will ...
3
votes
1answer
762 views

What kinds of executable formats do the files under /proc/sys/fs/binfmt_misc/ allow?

I following Michael's reply to see what executable formats my Ubuntu can recognize to execute $ ls -l /proc/sys/fs/binfmt_misc/ total 0 -rw-r--r-- 1 root root 0 Apr 19 16:11 cli -rw-r--r-- 1 root ...
1
vote
1answer
1k views

Qemu with binfmt in chroot

I have downloaded some firmware and I want to run some commands in it. I have extracted the firmware, installed qemu and configured binfmts. The problem is that binfmt does not work in the chroot. ...
1
vote
0answers
528 views

Installing qemu-user-static and binfmt-support inside an LXC

I'd like to run armhf executables inside an amd64 LXC container. How to do that? update-binfmts --display shows no qemu interpreters.
2
votes
1answer
232 views

Is there a more proper place than /etc/rc.local for writing to configure binfmt?

I want to be able to run clr (>NET/mono) exes on my redhat machines, so I add the following to /etc/rc.local: echo ':CLR:M::MZ::/opt/mono-head/bin/mono:' > /proc/sys/fs/binfmt_misc/register This ...
3
votes
1answer
543 views

No /proc/sys/fs/binfmt_misc/CLR on my system?

I run docky which is programmed with mono so I think the binfmt is running correctly, but proc-sys-fs-binfmt_misc.automount complains about it, since I don't have /proc/sys/fs/binfmt_misc/CLR I ...
3
votes
1answer
5k views

systemd failure on binfmt services

Systemd has several failed services, and I don't know how to work it out: # systemctl --failed UNIT LOAD ACTIVE SUB JOB DESCRIPTION proc-sys-fs-binfmt_misc.automount ...