Giter Site home page Giter Site logo

Fails to sandbox an app about firetools HOT 8 CLOSED

netblue30 avatar netblue30 commented on August 17, 2024
Fails to sandbox an app

from firetools.

Comments (8)

rusty-snake avatar rusty-snake commented on August 17, 2024 1

Issue can be closed.

from firetools.

rusty-snake avatar rusty-snake commented on August 17, 2024

How do you start it? How do you detect that it is not running in firejail?

What shows firejail --tree | grep clipgrab after starting clipgrab?

from firetools.

DurtyDev avatar DurtyDev commented on August 17, 2024

from firetools.

rusty-snake avatar rusty-snake commented on August 17, 2024

I just tried with firejail git-master, Fedora 31, ClipGrab 3.8.9 and the following firejail profile (firejail 0.9.62+).

clipgrab.profile
# Firejail profile for clipgrab
# Description: DESCRIPTION
# This file is overwritten after every install/update
# Persistent local customizations
include clipgrab.local
# Persistent global definitions
#include globals.local

noblacklist ${HOME}/.config/Philipp Schmieder
noblacklist ${HOME}/.pki
noblacklist ${VIDEOS}

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc

include whitelist-usr-share-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
machine-id
netfilter
nodbus
nodvd
nogroups
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6,netlink
seccomp !chroot
shell none

disable-mnt
private-cache
private-dev
private-tmp
  • nodbus will break the tray function.
  • seccomp blocks chroot (syscall, not program) which is needed by QtWebengie. You will have something like … SECCOMP … comm="QtWebEngineProc" exe="/usr/lib64/qt5/libexec/QtWebEngineProcess" sig=31 arch=c000003e syscall=161 … in your journal.

Solutions: Allow chroot by not using seccomp or adding an exception (firejail 0.9.62)/using seccomp.drop (firejail <0.9.62).

from firetools.

DurtyDev avatar DurtyDev commented on August 17, 2024

from firetools.

rusty-snake avatar rusty-snake commented on August 17, 2024

If this profile works for you I can bring it upstream.

from firetools.

DurtyDev avatar DurtyDev commented on August 17, 2024

from firetools.

DurtyDev avatar DurtyDev commented on August 17, 2024

from firetools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.