Skip to content

Support AppImages using zstd compression #6833

@Eckoa

Description

@Eckoa

Description

Trying to run the latest RPCS3 appimage in firejail it fails to run with a mount failure. I looked at line 188 that the output said was the issue in appimage.c and realized that it was thinking its iso9660 and not squashfs. I double checked by extracting the appimage and it does in fact produce an squashfs-root

I havent found a way in the documentation/appimage.c to tell it the appimage type so i figured it would be best to report this here.

bash-5.2$ firejail --appimage rpcs3-v0.0.37-18022-9c93ec0b_linux64.AppImage
Reading profile /etc/firejail/rpcs3.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-run-common.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.74

Parent pid 6630, child pid 6634

** Warning: dropping all Linux capabilities and setting NO_NEW_PRIVS prctl **

Mounting appimage type 1
Error ../../src/firejail/appimage.c:188: appimage_mount: mounting appimage: Invalid argument
Error: proc 6630 cannot sync with peer: unexpected EOF
Peer 6634 unexpectedly exited with status 1

Steps to Reproduce

run the latest RPCS3 appimage with the latest firejail

Expected behavior

application mounts and run

Actual behavior

fails to mount the appimage with invalid arguements

Behavior without a profile

produces the same output as above but without the profile loaded

Environment

  • Kernel: Linux 6.15.7-cachyos1.fc42.x86_64 x86_64
  • Linux distribution : Fedora 42
  • Name/version of the relevant program(s)/package(s) : rpcs3-v0.0.37-18022-9c93ec0b_linux64.AppImage
  • Version of Firejail: firejail version 0.9.74

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions