On Thu, Mar 26, at 01:28 Dan Tran wrote:
> On Thu, Mar 26, 2009 at 11:38 AM, Agathoklis D. Hatzimanikas
> <a.hat...@gmail.com> wrote:
> > On Thu, Mar 26, at 10:37 Dan Tran wrote:
> >> On Thu, Mar 26, 2009 at 10:29 AM, Agathoklis D. Hatzimanikas
> >> <a.hat...@gmail.com> wrote:
> >> > On Wed, Mar 25, at 11:21 Dan Tran wrote:
> >> >> warning: pipe to `LC_ALL=C sort': could not set close-on-exec: (fcntl:
> >> >> Bad file descriptor)
> >> >
> >> > Have you followed the steps in "6.2.3. Mounting Virtual Kernel File
> >> > Systems"?
> >> >
> >>
> >> Yes, here are my mount entries
> >>
> >> [r...@fdbxen64 ~]# mount
> >> /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
> >> proc on /proc type proc (rw)
> >> sysfs on /sys type sysfs (rw)
> >> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> >> /dev/xvda1 on /boot type ext3 (rw)
> >> tmpfs on /dev/shm type tmpfs (rw)
> >> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> >> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
> >> /dev on /home/lfs/fdb-env/target/staging/dev type none (rw,bind)
> >> devpts on /home/lfs/fdb-env/target/staging/dev/pts type devpts (rw)
> >> shm on /home/lfs/fdb-env/target/staging/dev/shm type tmpfs (rw)
> >> proc on /home/lfs/fdb-env/target/staging/proc type proc (rw)
> >> sysfs on /home/lfs/fdb-env/target/staging/sys type sysfs (rw)
> >
> > While in chroot, issue:
> >
> > ls /dev/pts
> > ps
> >
> > what both commands return?
> 
> here is the output
> 
> root:/# ls /dev/pts
> 0
> root:/# ps
>   PID TTY          TIME CMD
>  3476 pts/0    00:00:00 bash
>  3478 pts/0    00:00:00 ps

Please fix your environment. You don't have any pts devices, that's
why fcntl couldn't open and close file descriptors.

Perhaps the fault lies to your experiment below.

> >> /home/lfs/fdb-env on /home/lfs/fdb-env/target/staging/root/fdb-env
> >> type none (rw,bind)
> >
> > I can't interpret this last entry. Could you explain that?
> 
> I map the outside chroot's $LFS/root/fdb-env to my chroot's
> /roo/fdb-env.  This waty I share the build scripts in both
> environments

Regards,
Agathoklis
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to