Package: binfmt-support / 2.2.1-1+deb11u1

Metadata

Package Version Patches format
binfmt-support 2.2.1-1+deb11u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
systemd ordering.patch | (download)

init/systemd/binfmt-support.service.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 run binfmt-support.service after systemd-binfmt.service

This fixes a race condition during boot when both services try to access
/proc/sys/fs/binfmt_misc/register at the same time which can lead to the
following error:

 systemd[1]: Starting Enable support for additional executable binary formats...
 update-binfmts[536]: update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: File exists
 update-binfmts[536]: update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: File exists
 update-binfmts[536]: update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: File exists
 update-binfmts[536]: update-binfmts: exiting due to previous errors
 systemd[1]: binfmt-support.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
 systemd[1]: binfmt-support.service: Failed with result 'exit-code'.
 systemd[1]: Failed to start Enable support for additional executable binary formats.

Fixes Debian bug #1012154.