Update GCC from 2.95.2: 2.95.3, 3.1.1, or 3.2?

Net Llama! netllama
Mon May 17 11:38:00 PDT 2004


Collins wrote:
> On Fri, 20 Sep 2002 18:18:58 -0700 "Net Llama!"
> <netllama at linux-sxs.org> wrote:
>>Tim, i'm serious, don't do this.  chroot'd linux installs are not a
>>good idea.  Things will kinda work, but over time, it will be a
>>disaster of processes dying, poor performance, and screwed up
>>networking.
>>
>>If you want to 'try before you buy', use User Mode Linux to do the 
>>Gentoo install.
> 
> 
> I would be curious to know the basis for this diatribe.  Both LFS and
> gentoo use this method of install with no problems.  Would you care to
> elaborate?

For installation, it should be fine.  For trying to run it, there will 
be problems.  Not immediately, but long term.  For starters, any daemons 
that you run will have to configured to listen solely on the IP for the 
chroot'd environment.  This will be a configuration hassle.  But the 
bigger problems come with trying to run syslog within the chroot'd 
environment.  Getting it to run properly will be incredibly difficult. 
Also, you will be using the kernel from the host, which may lead to 
problems if its not what the chroot'd environment expects (especially in 
the case of gentoo).  Additionally, if you mount proc, there will be 
weird behavior, as processes running outside the chroot might get axed 
accidentally (such as if an init script does something like 'killall 
<whatever').  If you don't mount proc, then an assortment of other 
weirdness will occur, when some apps look to proc for certain things.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   5:30pm  up 47 days,  1:50,  3 users,  load average: 1.20, 0.53, 0.47



More information about the Linux-users mailing list