Package: binfmt-support
Version: 2.2.1-1
Severity: normal

Dear Maintainer,


Installing Debian stable within lxc gives warnings/errors for
binfmt-support. Expected and nothing unusual. Maybe you can detect lxc
and just not enable any access to /proc/sys/fs/binfmt_misc?
Thos only occurs with Debian stable (10), Debian testing seems to be ok
already.

If no easy solution can be found or this does not warrant a backport
from the current package into the stable release, feel free to just close this
bug-report.

best regards,

Florian La Roche



logmessages during installation of the deb package:

binfmt-support (2.2.0-2) wird eingerichtet ...
Created symlink 
/etc/systemd/system/multi-user.target.wants/binfmt-support.service → 
/lib/systemd/system/binfmt-support.service.
Job for binfmt-support.service failed because the control process exited with 
error code.
See "systemctl status binfmt-support.service" and "journalctl -xe" for details.
invoke-rc.d: initscript binfmt-support, action "start" failed.
● binfmt-support.service - Enable support for additional executable binary 
formats
   Loaded: loaded (/lib/systemd/system/binfmt-support.service; enabled; vendor 
preset: enabled)
   Active: failed (Result: exit-code) since Sat 2020-06-13 18:55:34 UTC; 4ms ago
     Docs: man:update-binfmts(8)
  Process: 22871 ExecStart=/usr/sbin/update-binfmts --enable (code=exited, 
status=2)
 Main PID: 22871 (code=exited, status=2)

Jun 13 18:55:34 debian01 systemd[1]: Starting Enable support for additional 
executable binary formats...
Jun 13 18:55:34 debian01 update-binfmts[22871]: update-binfmts: warning: unable 
to open /proc/sys/fs/binfmt_misc/status for writing: Permission denied
Jun 13 18:55:34 debian01 update-binfmts[22871]: update-binfmts: warning: unable 
to open /proc/sys/fs/binfmt_misc/status for writing: Permission denied
Jun 13 18:55:34 debian01 update-binfmts[22871]: update-binfmts: warning: unable 
to open /proc/sys/fs/binfmt_misc/register for writing: Permission denied
Jun 13 18:55:34 debian01 update-binfmts[22871]: update-binfmts: warning: unable 
to open /proc/sys/fs/binfmt_misc/status for writing: Permission denied
Jun 13 18:55:34 debian01 update-binfmts[22871]: update-binfmts: warning: unable 
to open /proc/sys/fs/binfmt_misc/register for writing: Permission denied
Jun 13 18:55:34 debian01 update-binfmts[22871]: update-binfmts: exiting due to 
previous errors
Jun 13 18:55:34 debian01 systemd[1]: binfmt-support.service: Main process 
exited, code=exited, status=2/INVALIDARGUMENT
Jun 13 18:55:34 debian01 systemd[1]: binfmt-support.service: Failed with result 
'exit-code'.
Jun 13 18:55:34 debian01 systemd[1]: Failed to start Enable support for 
additional executable binary formats.

Reply via email to