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

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



On Wed, Jul 22, 1998 at 02:42:36PM -0700, Joel Klecker wrote:
> At 02:08 -0700 1998-07-20, Sven LUTHER wrote:
> >is dpkg --root=newroot --force-depends -i packages.deb correct ?
> 
> cd $newroot && dpkg ... (dpkg uses chroot, but it doesn't chdir to where
> the new root is first)

And on top of that does not strip down the path of the admin scripts. 
So that won't do the trick.

> The dependence on ldso is only for 'ldconfig' on powerpc (the latest ld.so
> source package will build just 'ldconfig' on powerpc and alpha). If you
> have a ldconfig binary already (these are usually statically linked), it is
> safe to ignore the libc6 pre-depends on ldso.
> 
> I intend to build a new glibc with some code to handle lchown/chown on
> kernels with the new behavior and the old behavior (there is code in glibc
> to handle this for i386, but not powerpc, the code for i386 is actually
> architecture independent, all that is necessary is to copy it over to the
> powerpc sysdeps dir and edit syscalls.list). When I do that, I will build
> and upload ldso as well.

Wow - I didn't know it was possible.  I also didn't know it was a
problem but that's probably because both the libc and I originate in
2.1.10x kernels.

Dan


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


Reply to: