glibc and /dev/null in the chrooted environment

Jeroen Coumans jeroencoumans at
Sun Oct 28 09:11:08 PST 2001

----- Original Message -----
From: "Mike Labriola" <labriomd at>
To: <blfs-support at>
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.
Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list