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

Re: fakeroot with chroot.



Hello

On Sun, Apr 13, 2003 at 02:07:55AM +0900, Junichi Uekawa wrote:
> > > I once tried to do something similar, but noticed that  
> > > user-mode-linux does the same thing to a fuller extent. 
> > >  
> > > If you look at it this way, user-mode-linux is a fakeroot that traps 
> > > all syscalls. 
> >  
> > user-mode-linux has too big overload and it is available only for i386 
> > architecture. I've tested my modified fakeroot on alpha, sparc and ia64 and it 
> > works pretty well. 
> 
> user-mode-linux can be ported to other arches, and although most ports 
> are not complete, I have seen several attempts to port them.
>   
> > I read another thread about fakeroot and I think I'll start new project called 
> > i.e. fakechroot which will be based on original fakeroot. The original project 
> > should be as stable as it is possible. My library is too experimental. 
> >  
> 
> Yes, fakechroot would be a good name, I considered using that name
> myself when I tried writing my version of extended fakeroot.
> 
> However, with fakeroot you are only overriding function symbols,
> and syscalls are not overloaded. I don't think it's really a recommended
> practice to call system calls directly without using glibc, but 
> it is possible, and fakeroot will not work in that case.
> 
> There are pretty ugly corner cases due to the way symbols are 
> resolved, but since you seem to have gone quite far with fakechroot,
> I would wish you good luck in completing it, it looks like a very
> exciting project  :)

If interested check the vserver package. It allows you to really fake a
real root.

It needs a patched kernel though (kernel-patch-ctx).

Regards,

// Ola

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

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Annebergsslingan 37      \
|  opal@lysator.liu.se                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



Reply to: