[Pkg-uml-devel] Re: aptitude is dying

Mattia Dongili malattia at linux.it
Mon Jun 26 19:42:52 UTC 2006


[cc-ing pkg-uml-devel]

On Mon, Jun 26, 2006 at 12:19:31AM +0300, alex bodnaru wrote:
[...]
> > oh, can you point me to that patch?
> > 
> here is a patch, but i'm not sure what it does:
> http://lkml.org/lkml/2006/3/28/329 .
> another one:
> http://usermodelinux.linode.com/blaisorblade/patches/devel-guest/uml-2.6.12-rc3-bb-20050429-21:05/broken-out/patches/uml-add-tls-support.patch

ah, thanks, I wasn't able to find the last one anymore (I saw it
before).
Anyway thinking of it from a user-mode-linux package perspective it will
be ok to ship 2.6.17 that already includes the thing.
I think that if a user is smart enough to get a 2.6.12 kernel, patch it
because of TLS, he will pobably be also smart enough to deal with
/lib/tls :)

[...]
> > The problem is the kernel support for tls system calls (see below).
> > Maybe adding an initscript that looks at the guest kernel version and
> > moves/restores /lib/tls could solve the issue. Quite kludgy though.
> > 
> that's what i thought: a symlink to set on an init.d.

yeah, fine. I can code something up later this week (maybe in the
weekend).
I you wish to step in and provide a patch, it'll be more than welcome.
The way I'd follow is most probably one more module (with proper docs in
the manpage) that creates the init.d script and moves/restores /lib/tls
pretty early in the bootprocess based on uname output.
If you have different proposal please push some code ahead :)

[...]
> btw, we are missing the process of creation of the shadow passwd and
> group files.

yup, there are sooo many more things to implement (encrypted fs, try out
lvm, ...)

thanks :)
-- 
mattia
:wq!



More information about the Pkg-uml-devel mailing list