Opened 22 months ago

Closed 22 months ago

Last modified 22 months ago

#22617 closed defect (worksforme)

Tor Browser 7 does not work anymore in a chroot'ed centos 6.5 environment

Reported by: gk Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:



Only titles are shown, but white space instead of text and pictures in the main area. The following messages are displayed in the terminal

Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1000, 800 (t=6.19759) [GFX1-]: Failed 2 buffer db=0 dw=0 for 0, 0, 1000, 800

Child Tickets

Change History (4)

comment:1 Changed 22 months ago by boklm

If it is working in Centos 6.5 without a chroot, a possible reason could be a package that is installed in the non-chroot Centos 6.5, but not installed in the chroot.

comment:2 Changed 22 months ago by arma

Playing the role of shuttle between blog comment and trac:
"Version 7 of torbrowser requires filesystem /dev/shm. So adding it to chroot directory resolves the problem."

comment:3 Changed 22 months ago by gk

Resolution: worksforme
Status: newclosed

Good news! Thanks for helping with the shuttling. :)

comment:4 Changed 22 months ago by gxm

It was may post on The Tor Blog reporting of the issue. I confirm that torbrowser 7.0.1 works normally in CentOS 6.5 chroot environment (as well as 7.5a) after mounting shm filesystem. To summarize the dependences, they are listed as follows. May be it would be helpful for somebody.

  1. Unpacked installation directory of torbrowser
  2. Shared libraries that torbrowser executables and libraries depend from
  3. Appropriate configuration files
  4. Unix socket for X server
  5. Device files: null, random, urandom
  6. Filesystems: proc, shm (mount their directories with option --bind)

It's strange that torbrowser can connect to HTTPS sites without device files random and urandom (where it takes the enthropy from?), however it writes warnings in the terminal window. Contrary to this, tor daemon, chrooted seperately, doesn't work without these files.

Note: See TracTickets for help on using tickets.