Re: [vserver] support for alpine linux guests

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Mon 27 Aug 2007 - 21:06:44 BST
Message-ID: <50909.192.168.101.6.1188245204.squirrel@intranet>

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
Received on Mon Aug 27 21:08:00 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 27 Aug 2007 - 21:08:06 BST by hypermail 2.1.8