Skip to content

AppimageLauncher cannot be installed inside LXD/LXC containers due to systemd-binfmt #422

@tkedwards

Description

@tkedwards

Describe the bug
AppimageLauncher cannot be installed inside LXD/LXC containers due to systemd-binfmt

Expected behavior
Able to install the appimagelauncher DEB package

To Reproduce
Steps to reproduce the behavior:

  1. Download appimagelauncher DEB package
  2. Put in local apt repo (for convenience, or otherwise just install it directly)
  3. sudo apt install appimagelauncher
  4. See error
sudo apt install appimagelauncher
Reading package lists... Done
Building dependency tree       
Reading state information... Done
appimagelauncher is already the newest version (2.2.0-travis995~0f91801+bionic).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up appimagelauncher (2.2.0-travis995~0f91801+bionic) ...
Installing AppImageLauncher as interpreter for AppImages
modprobe: FATAL: Module binfmt_misc not found in directory /lib/modules/5.4.0-73-generic
+ systemctl restart systemd-binfmt
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.
dpkg: error processing package appimagelauncher (--configure):
 installed appimagelauncher package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 appimagelauncher
E: Sub-process /usr/bin/dpkg returned an error code (1)

In syslog:

May 13 03:42:30 emby-focal systemd[1]: Starting Set Up Additional Binary Formats...
May 13 03:42:30 emby-focal systemd-binfmt[52712]: Failed to add binary format: Permission denied
May 13 03:42:30 emby-focal systemd-binfmt[52712]: Failed to add binary format: Permission denied
May 13 03:42:30 emby-focal systemd[1]: systemd-binfmt.service: Main process exited, code=exited, status=1/FAILURE
May 13 03:42:30 emby-focal systemd[1]: systemd-binfmt.service: Failed with result 'exit-code'.
May 13 03:42:30 emby-focal systemd[1]: Failed to start Set Up Additional Binary Formats.

System, software and AppImage information
Ubuntu 20.04 using lxd 4.0.6 and latest appimagelauncher

AppImageLauncher version installed: [...] (also include where you got it from, e.g., our release page, your distribution, ...) -->

appimagelauncher_2.2.0-travis995.0f91801.bionic_amd64.deb

https://github.com/TheAssassin/AppImageLauncher/releases/tag/v2.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds verificationDescription of the issue needs to be verified by the teamupstream bugSomething is broken upstream, and is beyond our control

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions