Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697930 - sys-apps/firejail - appimage v2 support requires squashfs support in kernel
Summary: sys-apps/firejail - appimage v2 support requires squashfs support in kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hank Leininger
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-10-17 15:07 UTC by Valeriy Malov
Modified: 2020-11-20 10:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valeriy Malov 2019-10-17 15:07:57 UTC
Missing squashfs support in kernel results in mysterious error message from firejail when trying to run an appimage file:

Error mounting appimage: appimage.c:122 No such device

despite those appimages running fine on their own. This seems to be caused by use of squashfs:

https://github.com/netblue30/firejail/blob/04057a4652e889e23b66d95da770e7e7abf75ba5/src/firejail/appimage.c#L121

After rebuilding kernel with squashfs support, firejail runs appimages v2 just fine. This probably should be a kernel config check (CONFIG_SQUASHFS=y?) or a post-install note.
Comment 1 Larry the Git Cow gentoo-dev 2020-11-20 10:42:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a40e36a6976c3b0a472c7b9b5cf08f79bebae22

commit 4a40e36a6976c3b0a472c7b9b5cf08f79bebae22
Author:     Hank Leininger <hlein@korelogic.com>
AuthorDate: 2020-11-14 01:20:52 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-11-20 10:32:56 +0000

    sys-apps/firejail: Check for CONFIG_SQUASHFS
    
    firejail's --appimage mode requires squashfs. Not a fatal error since
    other modes work fine without it.
    
    Signed-off-by: Hank Leininger <hlein@korelogic.com>
    Closes: https://bugs.gentoo.org/697930
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sys-apps/firejail/firejail-0.9.64-r1.ebuild | 98 +++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)