[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chroot question



A J Stiles a écrit :
I have observed some odd behaviour since setting up a 32-bit chroot (in order to run some weirdy Java web applet.) This chroot is totally self-contained, even with its own /home directory (so that my 32-bit application preferences don't clobber my 64-bit ones).

If I already have 64-bit Iceweasel running, and try to start 32-bit Iceweasel from inside the chroot, I get another instance of the 64-bit browser. If I kill the 64-bit browser, I can start a 32-bit one. If I then try to start a 64-bit Iceweasel from the K menu while the 32-bit Iceweasel is running, I get another 32-bit Iceweasel.

The upshot seems to be, I can't have both a 32-bit and a 64-bit Iceweasel browser open at the same time.

I'm guessing this is due to some kind of namespace conflicts. Would it work if I modify the source package slightly, to change the name of the application and call it something like iceweasel32 instead?

Hi,

I never try to run simultaneously 32 and 64 bits version of Iceweasel.

I want to be able to use the two versions of firefox so i not uninstalled no version, i simply install schroot and a script /usr/bin/firefox32 which contains following lines :
#!/bin/bash
schroot -p firefox $1
exit

Here is also my config for /etc/schroot/schroot.conf
[etch]
description=Debian etch (stable) 32-bit
location=/var/chroot/etch-i386
priority=3
users=toph
#groups=toph,root
root-users=root
#root-groups=root
#groups=sbuild-security
aliases=default,stable,ia32
run-setup-scripts=true
run-exec-scripts=true
type=directory
personality=linux32

This method affords me to use one and one only one home for the 32 and 64bits application.

Hope this helps
Christophe


Reply to: