Skip to content

Instructions don't work for Ubuntu 16.04 #3

Open
@scott-eddy

Description

@scott-eddy

Thanks for putting these instructions together, I know this really isn't your burden to bear but I thought I would note some problems I'm having using Ubuntu 16.04

#Description of setup

$ uname -a
Linux virtualbox 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ systemctl status systemd-binfmt
● systemd-binfmt.service - Set Up Additional Binary Formats
   Loaded: loaded (/lib/systemd/system/systemd-binfmt.service; static; vendor preset: enabled)
   Active: inactive (dead) since Wed 2018-03-28 12:22:33 EDT; 7s ago
Condition: start condition failed at Wed 2018-03-28 12:22:33 EDT; 7s ago
           none of the trigger conditions were met
     Docs: man:systemd-binfmt.service(8)
           man:binfmt.d(5)
           https://www.kernel.org/doc/Documentation/binfmt_misc.txt
  Process: 4926 ExecStart=/lib/systemd/systemd-binfmt (code=exited, status=0/SUCCESS)
 Main PID: 4926 (code=exited, status=0/SUCCESS)

Mar 28 12:05:19 virtualbox systemd[1]: Starting Set Up Additional Binary Formats...
Mar 28 12:05:19 virtualbox systemd[1]: Started Set Up Additional Binary Formats.
Mar 28 12:22:33 virtualbox systemd[1]: Stopped Set Up Additional Binary Formats.
Mar 28 12:22:33 virtualbox systemd[1]: Stopping Set Up Additional Binary Formats...

#Install steps

$ git clone https://github.com/computermouth/qemu-static-conf.git
$ sudo mkdir -p /lib/binfmt.d
$ sudo cp qemu-static-conf/*.conf /lib/binfmt.d/
$ sudo systemctl restart systemd-binfmt.service
Job for systemd-binfmt.service failed because the control process exited with error code. See "systemctl status systemd-binfmt.service" and "journalctl -xe" for details.

#Post-install systemd info

$ systemctl status systemd-binfmt
● systemd-binfmt.service - Set Up Additional Binary Formats
   Loaded: loaded (/lib/systemd/system/systemd-binfmt.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-03-28 12:27:29 EDT; 2s ago
     Docs: man:systemd-binfmt.service(8)
           man:binfmt.d(5)
           https://www.kernel.org/doc/Documentation/binfmt_misc.txt
  Process: 7562 ExecStart=/lib/systemd/systemd-binfmt (code=exited, status=1/FAILURE)
 Main PID: 7562 (code=exited, status=1/FAILURE)

Mar 28 12:27:29 virtualbox systemd[1]: Starting Set Up Additional Binary Formats...
Mar 28 12:27:29 virtualbox systemd-binfmt[7562]: Failed to add binary format: Invalid argument
Mar 28 12:27:29 virtualbox systemd-binfmt[7562]: Failed to add binary format: Invalid argument
Mar 28 12:27:29 virtualbox systemd-binfmt[7562]: Failed to add binary format: Invalid argument
Mar 28 12:27:29 virtualbox systemd[1]: systemd-binfmt.service: Main process exited, code=exited, status=1/FAILURE
Mar 28 12:27:29 virtualbox systemd[1]: Failed to start Set Up Additional Binary Formats.
Mar 28 12:27:29 virtualbox systemd[1]: systemd-binfmt.service: Unit entered failed state.
Mar 28 12:27:29 virtualbox systemd[1]: systemd-binfmt.service: Failed with result 'exit-code'.

Any advice would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions