[Vserver] The nano-vserver package.

2005-12-26 Thread Michael S. Zick
Joel,
I got past my self created problems last night
and have had a good night's sleep.

I think my planned package is complete, I wanted
to review it with someone, I will try to be brief...

This is a single file, perhaps sized to fit on a cdrom.

Any Linux system, any hardware, that recognizes
the filesystem used (currently Reiser-3) may turn
the file into a device with losetup, and then just
mount it somewhere in the directory tree.

What they will find under mount_point is:
mount_point/baby/src
All of the virgin source tarballs used.
mount_point/baby/doc
The step-by-step guide and ...
mount_point/refbox
The reference vserver based on Bash
and BusyBox.  This is the single point
location of software to share with other
vservers.
mount_point/vsbox01
   An example of a vserver system built by
   linking to the refbox softwares.

Any Linux system that runs the kernel and
processor that the software was built for can
run the vservers out of the box.
Currently that means Linux-2.6.14 with Vs-2.0.1
on an i686 compatable machine.

The reference vserver has a non-standard layout.
The view from the inside refbox:

The base install is a static Bash, the dynamic loader,
the three common dynamic libraries and the dynamically
linked BusyBox that shows up in: /sbin, /bin, /lib, /etc

This is a full Bash, including UDP and TCP i/o
and the combination provides over 200 of the
common terminal commands. 

This base install is 5.08 Mb. But I may have forgotten
to strip the binaries.

No 'init' program, you can do that with a Bash script.
The BusyBox has a linuxrc and an init but I haven't
tried them.

Additional software that can turn the base-install
into a minimum-install system is present under the
/opt/vender_name/* trees. 

These can be linked to if a more normal minimum 
Linux system is desired.

Everything that makes this system self maintainable
should be present.  Currently:

/opt/gnu/bash (1.59 Mb)
The full, dynamically linked Bash

/opt/gnu/coreutils (8.23 Mb)
The full, dynamically linked CoreUtils - all of
them a version that understands extended file
attributes and file access control lists.

/opt/sgi (1.98 Mb)
The full, dynamically linked ATTR and ACL toolset.

/opt/schily (1.05 Mb)
The full, dynamically linked star program and friends.
This is an alternative to gnu-tar that correctly handles
extended file attributes and file control lists.

/opt/tecgraf ( tiny )
The Lua programming language.  Both the interactive
and the command line versions.  Also directions on
how-to add this to the host's bin-formats included.

Lua is ideal for writing human readable, machine
executable, configuration files and scripts.

I think that is all.  Still scratching my head over including
external readline and gettext packages.
The question is because I can build Lua for none, use
the Bash libraries, or use the external packages.

The view from inside vsbox01 will have a more typical
layout of the first and second level directory trees.

This will only be an example - the user will be encouraged
to pick and choose what to link to inside of refbox.

The total is less than 20Mb - lots of room to play with
other setups.  You can make a star-ball of whatever
you build inside the loop-file when ready to put it on
the real filesystem somewhere.

Should be both educational for people who build their
own and useful as is to run common services.

The BusyBox has ftp, rpm and apt tools, should be
able for a vserver to install whatever it needs  
from the network.

What common tool set have I overlooked?
Do you see anything that really must be included?

For anything with more features, a person should
start with a Linux base system from a distributor.

Mike
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The nano-vserver package.

2005-12-26 Thread Joel Soete

Hello Mike,

Michael S. Zick wrote:

Joel,
I got past my self created problems last night
and have had a good night's sleep.

I think my planned package is complete, I wanted
to review it with someone, I will try to be brief...

This is a single file, perhaps sized to fit on a cdrom.

Any Linux system, any hardware, that recognizes
the filesystem used (currently Reiser-3) may turn
the file into a device with losetup, and then just
mount it somewhere in the directory tree.

What they will find under mount_point is:
mount_point/baby/src
All of the virgin source tarballs used.
mount_point/baby/doc
The step-by-step guide and ...
mount_point/refbox
The reference vserver based on Bash
and BusyBox.  This is the single point
location of software to share with other
vservers.
mount_point/vsbox01
   An example of a vserver system built by
   linking to the refbox softwares.

Any Linux system that runs the kernel and
processor that the software was built for can
run the vservers out of the box.
Currently that means Linux-2.6.14 with Vs-2.0.1
on an i686 compatable machine.

The reference vserver has a non-standard layout.
The view from the inside refbox:

The base install is a static Bash, the dynamic loader,
the three common dynamic libraries and the dynamically
linked BusyBox that shows up in: /sbin, /bin, /lib, /etc

This is a full Bash, including UDP and TCP i/o
and the combination provides over 200 of the
common terminal commands. 


This base install is 5.08 Mb. But I may have forgotten
to strip the binaries.

No 'init' program, you can do that with a Bash script.
The BusyBox has a linuxrc and an init but I haven't
tried them.

Additional software that can turn the base-install
into a minimum-install system is present under the
/opt/vender_name/* trees. 

These can be linked to if a more normal minimum 
Linux system is desired.


Everything that makes this system self maintainable
should be present.  Currently:

/opt/gnu/bash (1.59 Mb)
The full, dynamically linked Bash

/opt/gnu/coreutils (8.23 Mb)
The full, dynamically linked CoreUtils - all of
them a version that understands extended file
attributes and file access control lists.

/opt/sgi (1.98 Mb)
The full, dynamically linked ATTR and ACL toolset.

/opt/schily (1.05 Mb)
The full, dynamically linked star program and friends.
This is an alternative to gnu-tar that correctly handles
extended file attributes and file control lists.

/opt/tecgraf ( tiny )
The Lua programming language.  Both the interactive
and the command line versions.  Also directions on
how-to add this to the host's bin-formats included.

Lua is ideal for writing human readable, machine
executable, configuration files and scripts.

I think that is all.  Still scratching my head over including
external readline and gettext packages.
The question is because I can build Lua for none, use
the Bash libraries, or use the external packages.

The view from inside vsbox01 will have a more typical
layout of the first and second level directory trees.

This will only be an example - the user will be encouraged
to pick and choose what to link to inside of refbox.

The total is less than 20Mb - lots of room to play with
other setups.  You can make a star-ball of whatever
you build inside the loop-file when ready to put it on
the real filesystem somewhere.

Should be both educational for people who build their
own and useful as is to run common services.

The BusyBox has ftp, rpm and apt tools, should be
able for a vserver to install whatever it needs  
from the network.



looks to me fine ;-)


What common tool set have I overlooked?
Do you see anything that really must be included?


just one thought (just because it seems to be a std de facto), may some sshd to 
be able login the vps, tough?


For anything with more features, a person should
start with a Linux base system from a distributor.

Mike


Thanks a lot,
Joel

PS: I am finishing my recipe to re-use a chrooted disk on hppa box and will try asap to build 'baby' and vbox on my parisc-linux box 
too.

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The nano-vserver package.

2005-12-26 Thread Michael S. Zick
On Mon December 26 2005 08:43, Michael S. Zick wrote:
 Joel,
 
A sudden thought while reading my own post.

 The view from inside vsbox01 will have a more typical
 layout of the first and second level directory trees.
 
I will give it a job.

Configure the bb httpd server to serve the html versions
of all the software documentation - just skip dealing with
any man-reader or info-reader.

I think all of the software packages will output their 
documentation in html.  I just have to dig out the build
instructions.

I had better build an index of all the software commands
are 'built-in' - there are hundreds even in the base-install.

Mike

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The nano-vserver package.

2005-12-26 Thread Michael S. Zick
On Mon December 26 2005 09:15, Joel Soete wrote:
 Hello Mike,
 
 Michael S. Zick wrote:
  Joel,
  
  I think my planned package is complete, I wanted
  to review it with someone, I will try to be brief...
  
- - - [ really big snip ] - - -
 
  What common tool set have I overlooked?
  Do you see anything that really must be included?
  
 just one thought (just because it seems to be a std de facto), may some sshd 
 to be able login the vps, tough?
 
Thanks,
I missed that one.  
People will expect it to be available.
BusyBox does have a telnetd.

I just checked, BusyBox has a vi for text editing.
Should there be some other editor?
I think that emacs would be too big.

 
 PS: I am finishing my recipe to re-use a chrooted disk on hppa box 
 and will try asap to build 'baby' and vbox on my parisc-linux box  
 too.

I will post a pre-view of baby02.bin later today -
It will not all be working -

It will have all of the source tarballs and rough,
guru level, instructions (except Lua and sshd)
to build a non-x86 version.

Thanks for your advice.

Mike
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Error when creating centos min vserver

2005-12-26 Thread John Maclean
I've been able to create a Debian vserver within CentOS 4.2 with no problems 
(http://linux-vserver.org/Step-by-Step+Guide+2.6). That guide is very good and 
I was impressed to see debootstrap working within a Yum-based distro and 
install packages within a vserver. I've tried a few methods to create a 
minimum CentOS guest and have had nothing but problems. With reference to the 
patch listed in the url below is it just a question of patch -p1 options 
/path/to/util-vserver/scripts/vyum-worker/ ? Also I notice that there are 
patches listed here;
http://linux-vserver.org/FC4+patched+rpm%27s. How does one use them? 


On Thu, 03 Nov 2005 08:24:24 +0100
Enrico Scholz [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] (Peter McGregor) writes:
 
  [EMAIL PROTECTED] ~]# yum --version
  2.4.0
 
 Try to apply
 
   
 http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/scripts/vyum-worker.diff?r1=1.5r2=1.6
 
 (not in 0.209). yum-2.4 problems were easier to solve than I thought... ;)
 
 
 
 
 Enrico
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 
 


-- 
John Maclean
MSc (DIC)
07739 171 531

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The nano-vserver package.

2005-12-26 Thread Chuck
On Monday 26 December 2005 10:38 am, Michael S. Zick wrote:
 On Mon December 26 2005 09:15, Joel Soete wrote:
  Hello Mike,
  
  Michael S. Zick wrote:
   Joel,
   
   I think my planned package is complete, I wanted
   to review it with someone, I will try to be brief...
   
 - - - [ really big snip ] - - -
  
   What common tool set have I overlooked?
   Do you see anything that really must be included?
   
  just one thought (just because it seems to be a std de facto), may some 
sshd to be able login the vps, tough?
  
 Thanks,
 I missed that one.  
 People will expect it to be available.
 BusyBox does have a telnetd.
 
 I just checked, BusyBox has a vi for text editing.
 Should there be some other editor?
 I think that emacs would be too big.
 

yes please... pico or nano  either one.. both are small and
to me more useful than any of the others. i use them exclusively.
this looks like it could make an extremely nice rescue disk.


  
  PS: I am finishing my recipe to re-use a chrooted disk on hppa box 
  and will try asap to build 'baby' and vbox on my parisc-linux box  
  too.
 
 I will post a pre-view of baby02.bin later today -
 It will not all be working -
 
 It will have all of the source tarballs and rough,
 guru level, instructions (except Lua and sshd)
 to build a non-x86 version.
 
 Thanks for your advice.
 
 Mike
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The nano-vserver package.

2005-12-26 Thread Michael S. Zick
On Mon December 26 2005 11:44, Chuck wrote:
 On Monday 26 December 2005 10:38 am, Michael S. Zick wrote:
  
  I just checked, BusyBox has a vi for text editing.
  Should there be some other editor?
  I think that emacs would be too big.
  
 
 yes please... pico or nano  either one.. both are small and
 to me more useful than any of the others. i use them exclusively.
 this looks like it could make an extremely nice rescue disk.

It might get too big for anything smaller than a 100Mb zip disk.
Hmmm...  My smallest USB drive is 256Mb - That is a thought.

It should always fit on a bootable cd though, even after adding
a kernel, util-vserver and whatever else a rescue cd needs.

 
 
Good idea,
When I need to make a quick file change, I usually
reach for nano myself.

I am posting a pre-view of baby-02 for Joel to look at, complete
with all sources and most of the binaries built - but it is getting
large - I may have to move it to sourceforge.net before I am done.

If you or anyone else on the list wants to start looking at it with
an eye at non-x86 versions - let me know, I will send you a link.

Mike

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Gentoo VServer Usage Survey

2005-12-26 Thread Benedikt Boehm
Hi all,

just wanted to let all Gentoo users know (at least those who don't read Planet 
Gentoo) that i created a usage survey for gentoo users.

Would be very kind if you could spend some minutes on the survey [1].

Regards,
Benedikt

[1] http://dev.croup.de/survey/survey.php?uid=243afa1992cbee
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The nano-vserver package.

2005-12-26 Thread Michael S. Zick
On Mon December 26 2005 08:43, Michael S. Zick wrote:

- - - Really Big Snip - - -
 
Today's update to the build guide is posted.

Corrections and addition of extending the base
system into a minimal system.

On line at:
http://www.morethan.org/step_step.html

Download at:
http://www.spamviz.net/download/step_step.ps.gz

A tarball of all sources used is at (14Mb):
http://www.spamviz.com/download/baby02_src.tar.bz2

The loop file with the base system installed remains
the same and is available at (5Mb):
http://www.spamviz.net/download/baby01.bin.gz

As usual, feedback is welcomed.

Mike
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Patched yum RPM for Fedora Core 3

2005-12-26 Thread Marinus Israel - Cillix Webhosting








Hello all,



When using linux-vserver in combination with yum a
patch must be applied to allow yum to work correctly in chroot environments. I
have created an rpm with this patch (with some help from Bertl) for Fedora Core
3 that can be readily used. It is available from http://www.marinusnet.nl/~share/yum-2.2.1-1-chroot-patch.noarch.rpm.



Cheers,



Marinus 






___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Patched yum RPM for Fedora Core 3

2005-12-26 Thread Herbert Poetzl
On Tue, Dec 27, 2005 at 01:11:26AM +0100, Marinus Israel - Cillix Webhosting 
wrote:
 Hello all,
 
 When using linux-vserver in combination with yum a patch must be applied to
 allow yum to work correctly in chroot environments. I have created an rpm
 with this patch (with some help from Bertl) for Fedora Core 3 that can be
 readily used. It is available from
 http://www.marinusnet.nl/~share/yum-2.2.1-1-chroot-patch.noarch.rpm.

hmm, first this one gives not found, and second
sone folks might appreciate the 'open source'
version (i.e. the src.rpm) if they want to
recompile it themselves ...

TIA,
Herbert

 Cheers,
 Marinus 
 

 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The nano-vserver package.

2005-12-26 Thread Avery Pennarun
On Mon, Dec 26, 2005 at 09:38:54AM -0600, Michael S. Zick wrote:

 I just checked, BusyBox has a vi for text editing.
 Should there be some other editor?
 I think that emacs would be too big.

e3 is an excellent but tiny text editor.  It definitely beats nano or pico.

Have fun,

Avery
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] The nano-vserver package.

2005-12-26 Thread Michael S. Zick
On Mon December 26 2005 12:58, Avery Pennarun wrote:
 On Mon, Dec 26, 2005 at 09:38:54AM -0600, Michael S. Zick wrote:
 
  I just checked, BusyBox has a vi for text editing.
  Should there be some other editor?
  I think that emacs would be too big.
 
 e3 is an excellent but tiny text editor.  It definitely beats nano or pico.

Thanks for the tip = = but it does not build for big endian pa-risc. 

Looks like it will be nano, which will build for any machine
that major Linux distributions support.

Mike
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver