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

Re: apt-get and The_User



Tollef Fog Heen wrote:
> 
> * Junichi Uekawa
> 
> | In Mon, 27 Nov 2000 16:50:34 -0800 Mircea Luca <mluca@canada.com> cum veritate scripsit :
> |
> | >
> | >  Well thanks for the answers but unfortunately looks like I'll have
> | > to submit a bugreport-wishlist against apt-get.
> | >  If I knew how to hack the code I wouldn't have asked here.:-)
> |
> | I'd rather have liked a chroot for non-root,
> | or libfakechroot, if that's possible,
> | but I can't really think up of any way to do it.
> 
> Use a library which intercepts open, chdir, stat, lstat etc.  Load
> that via LD_PRELOAD - it should be pretty easy.  A 'true' chroot for
> non-root is a _very_ bad idea.
> 

Would you care please to be a bit more specific please?What kind of
library would that be and why setting up a true chroot environment for
user with it's own dpkg would be such a bad idea(I can see some problems
with syncing the 2 dpkg databases and deciding what's for user and
what's for system)?



Reply to: