Re: [Vserver] vserver gentoo, anyone?

2003-11-19 Thread Cedric Veilleux
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On November 18, 2003 05:56 pm, ian douglas wrote:
 any 'gtochas' that you care to share up-front?
 
 I've never even seen gentoo, I'm just getting the ISO's onto my system now
 to burn CD's to see what the installation is like. A buddy of mine says
 that
 everything compiles from source as part of the installation and took
 his system an awfully long time (12+ hours) to get set up on a PIII-1Ghz;
 is that about right?

If you don't even know gentoo why do you want to use it in a vserver 
environment?

No matter which distro you use, you will need a fairly good knowledge of the 
inner working of the distribution you choose to get things running smoothly.. 

Now, regarding the actual topic, I've been using Gentoo hosts and vservers in 
production environment for web and email hosting (Main applications I run are 
Apache, Qmail, mySQL, Tomcat and postgresql). It does work very well.

I would recommend staying away completly from gentoo's init system inside the 
vserver. I did managed it to somewhat work but it must be customized quite a 
lot. Basically, all boot level scripts must be disabled, but most 
application's init scripts will depend on them, so you need to modify pretty 
much all the script you need. The /sbin/rc script also performs quite a few 
nasty stuff you don't want to be happening inside the vserver (mounting a tmp 
filesystem for example) so it needs to be tweaked a bit too, which makes 
things hard to maintain for such a simple task. After all, you only need an 
automated way to start a few processes...

I've recently come up with a much easier solution that works even better. The 
vserver script will execute /etc/rc.d/rc inside the vserver when starting 
and stopping it. This file is the rc script on RedHat I guess, and it does 
not exist on Gentoo.

So I created one from scratch which looks like this:

- -8---
#!/bin/sh

case $1 in

3)
/etc/rc.d/boot.sh
;;
6)
/etc/rc.d/halt.sh
;;

esac
- -8---


Then I created a script named boot.sh containing the commands to start the 
needed services and an halt.sh that stops them.



Hope that helps,

Cedric
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/uuY/89yRvHuHBtURAim4AKCChKXnqeQSma0+UC6QWJLhxlOq8ACeJrex
o85/uiKm/OOXRNzB2FyJXos=
=Ru1b
-END PGP SIGNATURE-
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] vserver gentoo, anyone?

2003-11-19 Thread Allen D. Parker II
I've been working with the Gentoo development team to get as many kinks
ironed out as possible. I've gotten a stage1 modification done for
virtualization of my own machine with the only major change being me
adding /sbin/depscan.sh to the 4th line of /sbin/rc ... the rest of the
changes are basically faking things like mount/umount and working with
making a decent syslogd (syslog-ng) work correctly (metalog will be my next
task).

I've been talking with avenj and will be talking to seemant the next time I
see him (he got married today), in regards to creating a new Gentoo profile
for vservers.

I've spent MOST of this evening working on getting a reliable
version-independent ebuild for util-vserver going and will be working on
that the rest of this week. Hopefully by Monday next week I'll have had
avenj/seemant at the very least ok the ebuild for the portage tree. At that
point, I'll be proposing the creation of a sys-vserver/ category to carpaski
(portage maintainer), to house util-vserver, jack's vserver, and
vserver-base (a modified Gentoo baselayout). Once the userland stuff is
taken care of, I'll be creating an ebuild (if nobody else has) of
sys-kernel/vserver-sources including masking of all versions of the vserver
patchsets including experimental = vs1.00.

In that respect, when I have decent Gentoo vserver support taken care of,
I'll be working on setting up stage1, stage2 and stage3 vserver images as
well as some helper scripts and patches that allow a system to have one
/usr/portage (except distfiles, which would be on a per-machine basis), and
disabling emerge sync inside a vserver.

When I've got the backend portion of things done, I'll be working on
documenting what I've done.

Ian, he probably started stage1, If I were you, I'd take advantage of GRP
and stage3 installs. You'll only be building a kernel initially and it
really streamlines the install process. If you have any questions for me,
PLEASE, don't hesitate to ask, I'd be more than happy to help you in
whatever way I can.

OFF TOPIC: I had a nice long conversation with lilo tonight (if you know
about freenode/openprojects, you'll know the name), and I'd really like to
see a #vserver there instead of oftc. Freenode/openprojects has a much
better userbase (see: http://irc.netsplit.de/networks/ oftc.net isn't even
in the top 20), with #gentoo as the top channel (*grin*) I know *our*
userbase isn't that huge, but I really think that freenode is the best
network for a project that cooperates as we do. Politics is something I
really don't like to get stuck in the middle of, and it seems from reading
the sites of both oftc and freenode that freenode is DEFINITELY attempting
to distance itself of any of that nonsense. I figure that if oftc were
serious about running a network instead of having a virtual government,
perhaps they'd be a better network. At this point, I'm personally boycotting
oftc as a network. If you'd like to speak to me about *my* contributions to
the linux-vserver project or the Gentoo linux distribution, feel free to
join irc.freenode.net and /msg infowolfe, if I'm around, I'll definitely
answer you as soon as is humanly possible.

Citing: 1) http://www.freenode.net/philosophy.shtml
2) http://www.oftc.net/constitution/index.html 

I only ask that before you flame/attack me personally, that you investigate
your own truths and decide for yourself what you'd rather believe. The man I
spoke with tonight (lilo - Rob Levin), is a man of bruised, if not broken
spirit. Freenode and lilo for that matter, really don't have anything wrong
with them, he's a cheerful, upbeat guy overall, and stresses that his #1
priority is treating his users and channels with respect. I also had a
conversation with dmwaters (Deedra), his senior staffer tonight, and they're
really not what they've been made out to be. They're just trying to provide
something above and beyond to the open source community, and if
linux-vserver, it's users or project developers are more interested in
politics than getting the job done (which I haven't seen, and is one of the
reasons I'm so invested in this project), perhaps I should make a choice of
my own and discontinue doing what I can do for a project I believe in.

That's my $.02, I don't mean any disrespect to anyone, just airing my
opinion in a public forum.

Cheers, and keep up the good work!
(btw, friends call me Chip, if you're on this list, you're considered a
friend)

Chip.



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:vserver-
 [EMAIL PROTECTED] On Behalf Of Cedric Veilleux
 Sent: Tuesday, November 18, 2003 10:41 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [Vserver] vserver  gentoo, anyone?
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On November 18, 2003 05:56 pm, ian douglas wrote:
  any 'gtochas' that you care to share up-front?
 
  I've never even seen gentoo, I'm just getting the ISO's onto my system
 now
  to burn CD's to see what the installation is like. A buddy

RE: [Vserver] vserver gentoo, anyone?

2003-11-19 Thread ian douglas
  I've never even seen gentoo

 If you don't even know gentoo why do you want to use it in a vserver
 environment?

I'm not allowed to be curious?

I'm currently running RH7.3 and want to switch to another distro by the end
of the year so figure I might as well move to a vserver setup at the same
time... Was just wondering whether anyone had any major problems getting it
up and running. I'm not sure yet about switching to Fedora, and have
downloaded gentoo to tinker with it (I like the fact that you can build it
all from source, I'd think it'd make it far easier to upgrade the system to
newer builds of software if I do everything from source instead of waiting
for others to make RPM files for me.

I'm also eyeballing Debian. I've considered FreeBSD but not sure if the
learning curve of BSD will be too steep to learn PLUS get vserver up and
running before the end of the year.

Thanks for your other notes, I'll definitely keep that on hand.

-id


___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] vserver gentoo, anyone?

2003-11-19 Thread Allen D. Parker II
  Citing: 1) http://www.freenode.net/philosophy.shtml
  2) http://www.oftc.net/constitution/index.html
 
 
 Hi Chip!
 
 please elaborate, and do not 'boycott' without giving
 some rationale or explaining the how and why ...
 
 I don't see a reason for changing the irc network,
 so please give me some hints ... or ask the community,
 if the majority is for a change, we'll probably move
 _again_ ... if you just wan't a broader audience, why
 not 'reactivate' the bridge we had between oftc and
 freenode?

I've got a few reasons why *I* am not willing to support oftc. First off, I
feel that personal attacks against the owner of a network are pretty petty,
if not immature. I feel that politics really should have no business in a
meeting place that is supposed to welcome developers and users alike with
open arms. (see constitution, that's a virtual gov't, not an irc network!)

The network's owner, lilo aka Robert Levin, has been personally attacked
from so many places that I think it's amazing that he's still running a
network at all, let alone one that hosts a project as busy as #gentoo. For
that, I give him credit. I've had one on one conversations with lilo about
all kinds of things, and most of the bad press he's had in the past has been
exactly that, in the past. In the amount of time I've spent on freenode,
they've been mostly stable, and doing a wonderful job for their budget
(absolutely nothing). If anyone would like to see some of the conversations
between myself and lilo, feel free to ask me off-list and I'll gladly send
them to you.

Personally, in my conversations with lilo, I've found one thing out: despite
extreme personal financial hardship, he's managed to keep one of the busier
irc networks up.

I think that lilo expresses why I'm not interested in supporting oftc in any
way shape or form best:
[14:35] lilo I guess I'm not enthusiastic about politics because it always
seems to me to be about either trying to divert resources from someone
else's project to your own, or trying to prevent someone from doing that.

The basic gist of why I chose to stop supporting oftc is this: I'd rather
not support *in any way* a network/project/person that is willing to slander
another to get ahead.

Google for lilo openprojects click a few pages... you'll see lots and lots
of stuff from a long time ago, and shouldn't see anything recently. In
regards to lilo wallop'ing asking for donations, that hasn't happened since
august of 2002.

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vserver gentoo, anyone?

2003-11-18 Thread Herbert Poetzl
On Tue, Nov 18, 2003 at 02:12:37PM -0800, ian douglas wrote:
 Hey all,
 
 I lost my local archive of vserver Emails ... Outlook happily deleted the
 entire folder for me and made it happily unrecoverable.
 
 Just curious if anyone's had success installing Linux 'gentoo' as a base and
 getting vserver to behave well on it? I'm hoping to play around with it a
 little this week.

there is a non-Outlook based archive at
http://list.linux-vserver.org/archive/vserver/

and a wiki at:
http://vserver.strahlungsfrei.de/tiki-index.php?page=VServerGentoo

and some other usefull stuff at
linux-vserver.org ...

HTH,
Herbert

 
 -id
 
 
 ___
 Vserver mailing list
 [EMAIL PROTECTED]
 http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] vserver gentoo, anyone?

2003-11-18 Thread Allen D. Parker II
I did a Gentoo virtualization last night and I'm emerge -e world'ing right
now, if you need to contact me directly, please do, I'd be happy to help
support you over the phone or any instant message clients.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:vserver-
 [EMAIL PROTECTED] On Behalf Of ian douglas
 Sent: Tuesday, November 18, 2003 5:13 PM
 To: [EMAIL PROTECTED]
 Subject: [Vserver] vserver  gentoo, anyone?
 
 Hey all,
 
 I lost my local archive of vserver Emails ... Outlook happily deleted the
 entire folder for me and made it happily unrecoverable.
 
 Just curious if anyone's had success installing Linux 'gentoo' as a base
 and
 getting vserver to behave well on it? I'm hoping to play around with it a
 little this week.
 
 -id
 
 
 ___
 Vserver mailing list
 [EMAIL PROTECTED]
 http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] vserver gentoo, anyone?

2003-11-18 Thread ian douglas
 I did a Gentoo virtualization last night and I'm emerge -e world'ing right
 now, if you need to contact me directly, please do, I'd be happy to help
 support you over the phone or any instant message clients.

any 'gtochas' that you care to share up-front?

I've never even seen gentoo, I'm just getting the ISO's onto my system now
to burn CD's to see what the installation is like. A buddy of mine says that
everything compiles from source as part of the installation and took his
system an awfully long time (12+ hours) to get set up on a PIII-1Ghz; is
that about right?

-id


___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] vserver gentoo, anyone?

2003-11-18 Thread Allen D. Parker II
Come to irc.oftc.net #vserver I'm infowolfe if you have any questions.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:vserver-
 [EMAIL PROTECTED] On Behalf Of ian douglas
 Sent: Tuesday, November 18, 2003 5:13 PM
 To: [EMAIL PROTECTED]
 Subject: [Vserver] vserver  gentoo, anyone?
 
 Hey all,
 
 I lost my local archive of vserver Emails ... Outlook happily deleted the
 entire folder for me and made it happily unrecoverable.
 
 Just curious if anyone's had success installing Linux 'gentoo' as a base
 and
 getting vserver to behave well on it? I'm hoping to play around with it a
 little this week.
 
 -id
 
 
 ___
 Vserver mailing list
 [EMAIL PROTECTED]
 http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver