Subject: Re: [vserver] support for alpine linux guests
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Mon, 27 Aug 2007 22:06:44 +0200 (CEST)

Natanael Copa wrote:
> Hi,
>
> Alpine Linux is a distribution for secure light weight
> servers/firewalls, based on uclibc/busybox, built using Gentoo
> framework.
>
> Attatched is initpre and initpost scripts to allow easy installation of
> Alpine Linux guests. It is done in seconds. Create directory
> distributions/alpine and save the attatched files there.

Why is sysv the only supported initstyle? Why wouldn't plain work?

Just using chroot to run things isn't okay, start the guest and execute
whatever commands are needed inside.

For copying files into the guest, use chroot-sh truncate.

Checking for grsec stuff in the initpost script is just wrong.

For examples on how to do these things, just look at the redhat initpost
script.

-- 
Daniel Hokka Zakrisson