glibc and /dev/null in the chrooted environment

Mike Labriola labriomd at clarkson.edu
Sun Oct 28 10:09:32 PST 2001


Jeroen Coumans wrote:

> ----- Original Message -----
> From: "Mike Labriola" <labriomd at clarkson.edu>
> To: <blfs-support at linuxfromscratch.org>
> Sent: Sunday, October 28, 2001 5:16 PM
> Subject: glibc and /dev/null in the chrooted environment
> 
> 
> 
>>ok, this has got me stumped...  my guess is that it's probably some dumb
>>little error on my part, but i just can't find it.
>>
>>i'm building another lfs system on my other machine and when i get to
>>enter the chrooted environment and run the script listed on lfs 3.0 for
>>glibc i get this error:
>>
>>loading cache ./config.cache
>>../glibc-2.2.4/configure: /dev/null: Permission denied
>>../glibc-2.2.4/configure: /dev/null: Permission denied
>>configure: error: can not run ../glibc-2.2.4/scripts/config.sub
>>
>>
>>so...  it's bailing before it even gets through the configure...  ouch
>>what's confusing is that /dev/null is created in the first step of that
>>script.  i looked through the archives, and found a thread suggesting
>>that i just exit the chrooted env and reenter it, but that didn't do
>>anything different.
>>
>>anyone else run into this before?
>>
>>
> Did you check the permissions on /dev/null? 'ls -l /dev/null' should give
> crw-rw-rw- 1 root root 1,3. If not, recreate it according to the
> instructions in the LFS book.
> HTH
> 


that's exactly what i get, although root root is replaced with 0 0 
inside the chrooted environment...  that's because glibc isn't installed 
yet, right?

-mike

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list