On Tue, Jun 9, 2015 at 10:06 AM, Marc Espie <[email protected]> wrote: > On Mon, Jun 08, 2015 at 03:37:27PM +0200, Landry Breuil wrote: >> On Mon, Jun 08, 2015 at 02:59:28PM +0200, Marc Espie wrote: >> > On Mon, Jun 08, 2015 at 01:46:17AM -0400, dan mclaughlin wrote: >> > > i figure this should be useful to some. >> > > any nits welcome. >> > >> > Unfortunately, this will become increasingly useless in >> > gtk-land. >> > >> > Compare ldd firefox vs a ktrace of the running binary... :( >> >> Totally pointless example - firefox is a very specific case, in that >> case you want ldd /usr/local/lib/firefox-*/libxul.so.* .... i dont know >> of many gtk applications doing this (bundling everything in a dlopen'ed >> library with tons of linking hacks to improve startup times...) > > I took firefox because it is the most blatant example, but Antoine told > me about it in general before I took a look at firefox. >
Chrooting firefox is perfectly doable. I'm now using a chrooted firefox-esr as my primary browser. I've used dan's recipe as a starting point. Just be sure to copy all of the nss' shared libraries into the chroot: it took me a while to understand why firefox refused to work yelling at me about mysterious connectivity errors ;) Ciao! David
