[lfs-support] LFS 7.2 Section 6.4 Chroot Error

yan ljy124818167 at qq.com
Sun Nov 11 01:47:08 PST 2012


On Sun 11 Nov 2012 11:05:59 AM CST, Chris Staub wrote:
> On 11/10/2012 09:22 PM, yan wrote:
>> On Sat 10 Nov 2012 11:09:08 PM CST, Chris Staub wrote:
>>> On 11/10/2012 10:05 AM, yan wrote:
>>>> I also get a problem at this point
>>>>
>>>>       chroot "$LFS" /tools/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ '
>>>> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin /tools/bin/bash --login +h
>>>> /tools/bin/env: /tools/bin/bash: Permission denied
>>>>
>>>>
>>>> root at cpu:/home/yan/lfs# ll /tools/bin/env
>>>> -rwxrwxr-x 1 lfs lfs 102693 Oct 28 12:24 /tools/bin/env*
>>>>
>>>> root at cpu:/home/yan/lfs# readelf -e /tools/bin/env | grep interpreter
>>>>            [Requesting program interpreter: /tools/lib/ld-linux.so.2]
>>>>
>>>> I don't have any idea to solve it
>>>
>>> Type "ls -la /tools/bin/bash"
>> thank you for the prompt
>> it's ok when i add +x permission for all file in directory /tools/bin/
>>
> It is not ok, since that should never be necessary. You could continue
> on if you want to, but note that since you still don't know why it
> actually failed, there's no telling if you will have more problems later on.

thank you
I will keep this in mind


More information about the lfs-support mailing list