FreeBSD 1.x Binaries Work Except under Chroot

Julian Elischer julian at freebsd.org
Tue Aug 14 01:31:41 UTC 2012


On 8/13/12 3:33 PM, Dan Plassche wrote:
> Konstantin,
>
> My apologies for any confusion.  Your patch solved the problem on
> 8.2.  Static and dynamic a.out binaries from 1.1.5.1 are working
> normally in a chroot environment now.

you will also have to change PID_MAX (spelling?) to be 60000
I have considered making this a tunable..
If you don't then the shell in the 1.1.5.1 environment will not be 
able to handle when a child
get s a pid of > 16 bits and it will not be able to wait on it. so it 
will suspend for ever.
teh result is that you can not complete  a "make world".

last time I tried a "make world" completed in about 1 minute and a kernel
(1.1.5.1 GENERIC) compiled in way less than a minute. that was in 7.x 
days.

I'd like to see results under 9.2 on a modern machine.

Julian
>
> On Sat, Aug 11, 2012 at 2:45 PM, Konstantin Belousov
> <kostikbel at gmail.com> wrote:
>
>> Why did you stripped the public list from the Cc: ?
> I must have clicked on reply instead of reply all by accident.  I
> sent a copy to the list about 10 minutes after replying to you,
> when I realized the mistake.
>
>> You should have mentioned that it is only _some_ binaries which are
>> affected, since I was not able to reproduce your issue at all with
>> /bin/sh or /bin/ls in chroot. It took me a while to realize that you
>> specifically shown the trace for basename.
> Sorry, I was focusing on the loader problem and left out the root
> binaries because they were traditionally static.
>
>
> Thanks for your help,
>
> Dan
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>



More information about the freebsd-hackers mailing list