[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chown()/lchown() war ...



On Thu, Jul 23, 1998 at 12:15:54PM +0200, Brederlow wrote:
> The ld.so doesn't exist (its part of glibc), but the ldso.deb still
> exists (But has to be build without ld.so).

Already done IIRC.  If so expect it in Incoming this morning.

> Yep, Bugs are normaly unexpected. :)
> dpkg does a chroot to the root enviroment, but it still calls the
> preinstall scripts with the path to the root enviroment in front of
> it. The link will translate that extra root enviroment to / and then
> it works.

I may be fixing this one this week also......

> The patch compiles it without the ld.so, but with the other stuff
> thats in the ldso.deb. ld.so, if I got that right, is just a link and
> is integrated into libc, but theres other stuff to that package as
> well.

Right - ldconfig for example.

> Install your slink system to /mnt/newroot and then do "chroot
> /mnt/newroot /bin/bash". Then any access to /xxx will go to
> /mnt/newroot/xxx until that bash is closed. The bins will be loaded
> from there, the libs, everything. There is no way to get below
> /mnt/newroot and destroy anything. Its real nice for testing or for
> security with ftp/www server (they use that too :).

Hate to tell you but it's just a little trickier :)  It is possible to
break out of chroot with a little work.

> Any ftp site of that? 

Nope.  But slightly less bleeding edge sources are available on
ftp.linuxppc.org.

dan


--  
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: