Opened 3 years ago

Closed 3 years ago

#1932 closed enhancement (fixed)

error while sandboxing i2p with firejail

Reported by: anonymous maybe Owned by: killyourtv
Priority: major Milestone: undecided
Component: wrapper Version: 0.9.28
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

Firejail or sandboxing really starting new essential phase for enhancing security.

it would be really great to get firejail working with i2p , i have tested firejail with i2pd and things worked smoothly while with i2p im having this issue:-

user@user:~$ firejail i2prouter start
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-passwdmgr.inc

** Note: you can use --noprofile to disable default.profile **

Parent pid 14010, child pid 14011
Child process initialized
Unable to locate any of the following binaries:
  /usr/sbin/wrapper-linux-x86-64
  /usr/sbin/wrapper-linux-x86-32
  /usr/sbin/wrapper

Parent is shutting down, bye...
user@user:~$ 

so the issue is:-

Unable to locate any of the following binaries:
  /usr/sbin/wrapper-linux-x86-64
  /usr/sbin/wrapper-linux-x86-32
  /usr/sbin/wrapper

and i dunno someone can look into it and try to find it out what is missing.


additional/extra work from me:-

in order to not make u tired trying to find the right links to have firejail works into ur distro i will explain how u can get it with Debian Jessie:-

  • add jessie backports to ur sources:-
sudo nano /etc/apt/sources.list
  • and then copy/paste this link:-
deb http://ftp.debian.org/debian jessie-backports main contrib

then press on ctrl+x and then press on y

  • update ur sources
sudo apt-get update
  • install firejail
sudo apt-get install firejail -y
  • in order to run i2p + firejail type in the terminal
firejail i2prouter start

there is an cool tool with firejail called firetools its a Gui one which u can run FF , Hexchat ,Terminal …etc all auto-direct sandboxed

in order to install it , u gonna need to download it form here (choose amd64.deb build as an easy/fast installation example):-

https://sourceforge.net/projects/firejail/files/firetools/

done.

Subtickets

Change History (3)

comment:1 Changed 3 years ago by zzz

Status: newinfoneeded_new

quote:

 and i dunno someone can look into it and try to find it out what is missing. 

None of us know anything about firejail, so we aren't likely to look into it or do anything to address this ticket. Obviously what's missing is the wrapper binary. If you figure it out, please post the solution here. You could also put a howto on i2pwiki.i2p.

comment:2 Changed 3 years ago by anonymous maybe

Status: infoneeded_newnew

well i figure out how to fix this up:-

instead of running:-

firejail i2prouter start

run:-

firejail --noprofile i2prouter start

done.

comment:3 Changed 3 years ago by anonymous maybe

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.