Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firefox and thunderbird inside a chroot (tip and question)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
chrroessner
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 156
Location: Germany

PostPosted: Sun Mar 20, 2005 1:01 pm    Post subject: firefox and thunderbird inside a chroot (tip and question) Reply with quote

Hello,

I use a chroot32 inside my 64bit environment since some months for firefox, thunderbird, ...

Everything works fine except the fact that my thunderbird does not open firefox by clicking on a link inside some emails. In my chroot env, I have most required gnome support built like in my 64bit system. In the 64 I am using Gnome and I have configured it to have firefox as my fav browser and thunderbird as my fav mail application.

I have bind-mounted the homedir and some other dirs inside the chroot and I thought, thunderbird therefor would use the same configuration files. I also used the gconf command inside the chroot to specify firefox, etc, but this did not help.

By clicking on a link, nothing happens. I do not get any error messages on the command line.

I use the mozilla-launcher inside the chroot like on my laptop, so firefox and thunderbird are links to mozilla-launcher.

Here is my mount tab:
Code:
/dev/sda7 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev on /chroot32/dev type none (rw,bind)
/tmp on /chroot32/tmp type none (rw,bind)
/var/tmp on /chroot32/var/tmp type none (rw,bind)
/home/croessner on /chroot32/home/croessner type none (rw,bind)
/root on /chroot32/root type none (rw,bind)
/usr/portage on /chroot32/usr/portage type none (rw,bind)
/proc on /chroot32/proc type none (rw,bind)
/sys on /chroot32/sys type none (rw,bind)
usbfs on /proc/bus/usb type usbfs (rw)


fstab looks like this:

Code:
# chroot-jail
/dev/                           /chroot32/dev                           none    bind            0 0
/tmp/                           /chroot32/tmp                           none    bind            0 0
/var/tmp/                       /chroot32/var/tmp                       none    bind            0 0
/home/croessner/                /chroot32/home/croessner                none    bind            0 0
/root/                          /chroot32/root                          none    bind            0 0
/usr/portage/                   /chroot32/usr/portage                   none    bind            0 0
/proc/                          /chroot32/proc                          none    bind            0 0
/sys/                           /chroot32/sys                           none    bind            0 0


My applications are started with the following trick:

Code:
amd64 /usr/local/bin # l
insgesamt 12
drwxr-xr-x   2 root root 4096 20. Mär 00:08 ./
drwxr-xr-x  13 root root 4096 16. Mär 19:47 ../
-rw-r--r--   1 root root    0 16. Mär 19:47 .keep
lrwxr-xr-x   1 root root   11 13. Jan 11:15 TeamSpeak -> chroot.skel*
lrwxr-xr-x   1 root root   11 13. Jan 11:15 acroread -> chroot.skel*
-rwxr-xr-x   1 root root  134 10. Nov 20:29 chroot.skel*
lrwxr-xr-x   1 root root   11 13. Jan 11:15 firefox -> chroot.skel*
lrwxr-xr-x   1 root root   11 13. Jan 11:15 mozilla -> chroot.skel*
lrwxrwxrwx   1 root root   11 20. Mär 00:08 nero -> chroot.skel*
lrwxr-xr-x   1 root root   11 13. Jan 11:15 qemu -> chroot.skel*
lrwxr-xr-x   1 root root   11 13. Jan 11:15 realplay -> chroot.skel*
lrwxrwxrwx   1 root root   11  2. Mär 09:07 thunderbird -> chroot.skel*


where chroot.skel is:

Code:
#!/bin/bash

export DISPLAY=:0.0
export PATH="$PATH:/opt/Acrobat5/:/opt/sun-jre-bin-1.4.2.06/bin"

chroot /chroot32 `basename $0` $*


To get this working, the chroot app needs 4755 rights.

Do you have any ideas what I could do, to get firefox and thunderbird to talk to each other?

Thanks in advance

Christian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum