rump-current on 5.x (was Re: puffs ignores filesystem permissions)
Antti Kantee <pooka <at> cs.hut.fi>
2011-01-05 10:57:53 GMT
[reply-to netbsd-users]
On Wed Jan 05 2011 at 10:36:05 +0000, Matthias Scheler wrote:
> On Wed, Dec 29, 2010 at 01:36:24PM +0200, Antti Kantee wrote:
> > Additionally, since you can use
> > rump from -current on netbsd-5, it would just be a lot of extra work,
> > and doubly so since there are no suitable tests for netbsd-5.
>
> Are the instructions how to do that? If I just use NetBSD-current binaries
> they won't work because they use system calls that NetBSD 5.1 doesn't support.
I've never used stock binaries myself (I typically want debugging
symbols), but you should be able to just drop -current rump *kernel*
components in, since the only way the kernel bits access the host is
via the rumpuser hypercall interface.
The userland stuff (at least librumpuser) you need to compile from
-current sources on your NetBSD 5 system so that, as you say, you get
references to the right system calls. Hopefully for 6.0 and beyond the
hypercall interface will be stable enough so that you can skip this step.
You also might be able to install an old'ish -current snapshot by toying
a little with the pkgsrc/misc/rump package, but I cannot comment on how
that approach would go.
I wrote instructions a long time ago (around the time of the first talks
about releasing 5.1), but they were never fully tested by someone other
than me and never published. The instructions might have bitrotted,
but I'm attaching them anyway with a no-money-back guarantee, just in
case they are helpful.
(Continue reading)