Re: [Vserver] Vserver newbie: problems when build guest server on FC4

2005-10-06 Thread Steven Truong
Hello, Mr. Scholz and everybody.  Could you please tell me where I
could get the patch for yum and how to apply it?  At this point I
am very new to vservers and just have no idea of where the patch you
mentioned.  I looked at
http://www.13thfloor.at/vserver/s_rel26/v2.0/ but could not find
it.  

Please help.

Thank you very much.
Steven.On 10/6/05, Steven Truong <[EMAIL PROTECTED]> wrote:
Thanks all for your information.  I am going to try yum for building the guest.

Once again, thank you very much.
Steven.On 10/5/05, Steven Truong <
[EMAIL PROTECTED]> wrote:
Thank Mr. Poetzl.  I could not find any similar infor on the problems. 

Btw, I used the patch-2.6.12.4-vs2.0 not vs4.

Thanks again.
Steven.On 10/5/05, Herbert Poetzl <

[EMAIL PROTECTED]> wrote:
On Wed, Oct 05, 2005 at 05:10:56PM -0700, Steven Truong wrote:> Hello, all.  I am a vservers newbie.  I have tried to setup vservers> and learn more about it.  I have FC4 x86 with kernel 2.6.12.  I> applied the 
patch-2.6.12.4-vs4 to the vanilla kernel.  I also> installed dietlibc-0.29, beecrypt-4.1.2-8, and util-vserver-0.30-208.> The Linux box has gcc 4.0.1.  I changed> /etc/vservers/.distributions/fc4/apt/source.list to include only:
> rpmhttp://download.fedora.us/fedora/fedora  latest/i386os updates>> I followed closely the instructions on step by step Guide 
2.6 but I
> tried to build a FC4 using apt-rpm method at the end.> I tried to build a guest server with this command:> vserver lanweb build -m apt-rpm --hostname=lanweb --netdev eth0 -- -d fc4>> Everything went smoothly until after all the rpms got downloaded and
> started to install.  These are the start of the errors.>> Get:43 http://download.fedora.us
 latest/i386/updates procps 3.2.0-1.2 [180kB]> Fetched 23.5MB
 in 4m49s (81.0kB/s)> Executing RPM (-Uvh)...> warning: /etc/vservers/lanweb/apps/pkgmgmt/base/apt/archives/termcap_11.0.1-18.1_noarch.rpm:> Header V3 DSA signature: NOKEY, key ID 4f2a6fd2> warning: /etc/vservers/lanweb/apps/pkgmgmt/base/apt/archives/zlib_1.2.1.2-
0.fc2.2.legacy_i386.rpm:> Header V3 DSA signature: NOKEY, key ID 731002fa>
Preparing...### [100%]>1:bash  
### [  2%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(bash-2.05b-38.i386


) scriptlet failed, exit status 127>2:info  
### [  5%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(info-4.7-4.i386


) scriptlet failed, exit status 127>3:chkconfig  ### [  7%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory
> error: %pre(coreutils-5.2.1-7.i386) scriptlet failed, exit status 127> error:   install: %pre scriptlet failed (2), skipping coreutils-5.2.1-7>4:shadow-utils  
### [  9%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(shadow-utils-4.0.3-55.i386


) scriptlet failed, exit status 127>5:procps
### [ 12%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(procps-3.2.0-1.2.i386


) scriptlet failed, exit status 127>6:grep  
### [ 14%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(grep-2.5.1-26.i386


) scriptlet failed, exit status 127>7:sed### [ 16%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory
> error: %post(sed-4.0.8-4.i386) scriptlet failed, exit status 127>8:fedora-release ### [ 19%]>9:iproute### [ 21%]
> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %pre(pam-0.77-40.i386) scriptlet failed, exit status 127> error:   install: %pre scriptlet failed (2), skipping 
pam-0.77-40>  
10:psmisc
### [ 23%]>  
11:iputils### [ 26%]>  
12:mktemp
### [ 28%]>  
13:gawk  
### [ 30%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open

Re: [Vserver] Vserver newbie: problems when build guest server on FC4

2005-10-06 Thread Steven Truong
Thanks all for your information.  I am going to try yum for building the guest.

Once again, thank you very much.
Steven.On 10/5/05, Steven Truong <[EMAIL PROTECTED]> wrote:
Thank Mr. Poetzl.  I could not find any similar infor on the problems. 

Btw, I used the patch-2.6.12.4-vs2.0 not vs4.

Thanks again.
Steven.On 10/5/05, Herbert Poetzl <
[EMAIL PROTECTED]> wrote:
On Wed, Oct 05, 2005 at 05:10:56PM -0700, Steven Truong wrote:> Hello, all.  I am a vservers newbie.  I have tried to setup vservers> and learn more about it.  I have FC4 x86 with kernel 2.6.12.  I> applied the 
patch-2.6.12.4-vs4 to the vanilla kernel.  I also> installed dietlibc-0.29, beecrypt-4.1.2-8, and util-vserver-0.30-208.> The Linux box has gcc 4.0.1.  I changed> /etc/vservers/.distributions/fc4/apt/source.list to include only:
> rpmhttp://download.fedora.us/fedora/fedora  latest/i386os updates>> I followed closely the instructions on step by step Guide 
2.6 but I
> tried to build a FC4 using apt-rpm method at the end.> I tried to build a guest server with this command:> vserver lanweb build -m apt-rpm --hostname=lanweb --netdev eth0 -- -d fc4>> Everything went smoothly until after all the rpms got downloaded and
> started to install.  These are the start of the errors.>> Get:43 http://download.fedora.us
 latest/i386/updates procps 3.2.0-1.2 [180kB]> Fetched 23.5MB
 in 4m49s (81.0kB/s)> Executing RPM (-Uvh)...> warning: /etc/vservers/lanweb/apps/pkgmgmt/base/apt/archives/termcap_11.0.1-18.1_noarch.rpm:> Header V3 DSA signature: NOKEY, key ID 4f2a6fd2> warning: /etc/vservers/lanweb/apps/pkgmgmt/base/apt/archives/zlib_1.2.1.2-
0.fc2.2.legacy_i386.rpm:> Header V3 DSA signature: NOKEY, key ID 731002fa>
Preparing...### [100%]>1:bash  
### [  2%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(bash-2.05b-38.i386

) scriptlet failed, exit status 127>2:info  
### [  5%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(info-4.7-4.i386

) scriptlet failed, exit status 127>3:chkconfig  ### [  7%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory
> error: %pre(coreutils-5.2.1-7.i386) scriptlet failed, exit status 127> error:   install: %pre scriptlet failed (2), skipping coreutils-5.2.1-7>4:shadow-utils  
### [  9%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(shadow-utils-4.0.3-55.i386

) scriptlet failed, exit status 127>5:procps
### [ 12%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(procps-3.2.0-1.2.i386

) scriptlet failed, exit status 127>6:grep  
### [ 14%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(grep-2.5.1-26.i386

) scriptlet failed, exit status 127>7:sed### [ 16%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory
> error: %post(sed-4.0.8-4.i386) scriptlet failed, exit status 127>8:fedora-release ### [ 19%]>9:iproute### [ 21%]
> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %pre(pam-0.77-40.i386) scriptlet failed, exit status 127> error:   install: %pre scriptlet failed (2), skipping 
pam-0.77-40>  
10:psmisc
### [ 23%]>  
11:iputils### [ 26%]>  
12:mktemp
### [ 28%]>  
13:gawk  
### [ 30%]> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot> open shared object file: No such file or directory> error: %post(gawk-3.1.3-7.i386

) scriptlet failed, exit status 127>  
14:termcap### [ 33%]>  
15:libtermcap
### [ 35%]>  
16:ncurses### [ 37%]>  
17:zlib  
###

Re: [Vserver] Vserver newbie: problems when build guest server on FC4

2005-10-06 Thread Enrico Scholz
[EMAIL PROTECTED] (Guenther Fuchs) writes:

>> Please try the patch from the contrib/ dir (the 2.3.4 one applies to 2.4
>> also). I built lots of FC4 vservers on FC4 hosts so it seems to work ;)
>
> Hmmm - found the patch but no real explanation on how to use it / i.e.
> what files to patch?! Is this files to patch a yum source build tree?
> If yes, most FC users would be happy, if someone (e.g. myself) could
> supply a rpm package of recent, patched yum to use.
>
> So pls give me short assistance, I then could rebuild a patched rpm
> and supply this back for the communtiy.

Just apply the attached patch against yum.spec (patch is for the devel
tree but it should be trivial to adapt it to FC-4).



Enrico
Index: yum.spec
===
RCS file: /cvs/dist/rpms/yum/devel/yum.spec,v
retrieving revision 1.51
diff -u -p -r1.51 yum.spec
--- yum.spec	4 Oct 2005 14:49:07 -	1.51
+++ yum.spec	6 Oct 2005 16:21:51 -
@@ -3,7 +3,7 @@
 Summary: RPM installer/updater
 Name: yum
 Version: 2.4.0
-Release: 5
+Release: 5.chroot
 License: GPL
 Group: System Environment/Base
 Source0: http://linux.duke.edu/projects/yum/download/2.4/yum-%{version}.tar.gz
@@ -23,6 +23,7 @@ Requires: urlgrabber
 Requires: python-elementtree
 Prereq: /sbin/chkconfig, /sbin/service, coreutils
 BuildRoot: %{_tmppath}/%{name}-root
+Patch99: yum-2.3.4-chroot.patch
 
 %description
 Yum is a utility that can check for and automatically download and
@@ -38,6 +39,7 @@ automatically prompting the user as nece
 %patch2 -p0 -b .sqlbyname
 %patch3 -p0 -b .lists
 
+%patch99 -p1 -b .chroot
 %build
 make
 


pgpPNDaouF9au.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Vserver newbie: problems when build guest server on FC4

2005-10-06 Thread Guenther Fuchs
Hi there,

on Donnerstag, 06. Oktober 2005 at 17:22 on the list was posted:

> Please try the patch from the contrib/ dir (the 2.3.4 one applies to 2.4
> also). I built lots of FC4 vservers on FC4 hosts so it seems to work ;)

Hmmm - found the patch but no real explanation on how to use it / i.e.
what files to patch?! Is this files to patch a yum source build tree?
If yes, most FC users would be happy, if someone (e.g. myself) could
supply a rpm package of recent, patched yum to use.

So pls give me short assistance, I then could rebuild a patched rpm
and supply this back for the communtiy.

-- 
regards,

Guenther Fuchs

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


Re: [Vserver] Vserver newbie: problems when build guest server on FC4

2005-10-06 Thread Eric Jorgensen
I am using FC4 with 0.30.208 with yum, and except for
having to downgrade the yum on host to 2.3.2, it has
worked very, very well for me.   I haven't applied the
patch and I get the warning message, but I it's been
smooth sailing for me.  I have created a local FC4
updates repository, so I can create a new FC4 guest in
less than 5 minutes!  

Just another "yes" vote in the yum column, even with
the minor issues

jorgy


--- Enrico Scholz
<[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] (Guenther Fuchs) writes:
> 
> > So I would recommend using yum - this works very
> fine here (as long as
> > you ensure not using yum version 2.3 and _not_ 2.4
> - later version
> > breaks compatibility with Enrico's util-vserver
> tools)
> 
> Please try the patch from the contrib/ dir (the
> 2.3.4 one applies to 2.4
> also). I built lots of FC4 vservers on FC4 hosts so
> it seems to work ;)
> 
> 
> 
> Enrico
> > ___
> 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] Vserver newbie: problems when build guest server on FC4

2005-10-06 Thread Enrico Scholz
[EMAIL PROTECTED] (Guenther Fuchs) writes:

> So I would recommend using yum - this works very fine here (as long as
> you ensure not using yum version 2.3 and _not_ 2.4 - later version
> breaks compatibility with Enrico's util-vserver tools)

Please try the patch from the contrib/ dir (the 2.3.4 one applies to 2.4
also). I built lots of FC4 vservers on FC4 hosts so it seems to work ;)



Enrico


pgpC6OQFTS2fw.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Vserver newbie: problems when build guest server on FC4

2005-10-06 Thread Enrico Scholz
[EMAIL PROTECTED] (Steven Truong) writes:

> Hello, all.  I am a vservers newbie.  I have tried to setup vservers
> and learn more about it.  I have FC4 x86 with kernel 2.6.12.  I
> applied the patch-2.6.12.4-vs4 to the vanilla kernel.  I also
> installed dietlibc-0.29, beecrypt-4.1.2-8, and util-vserver-0.30-208.
> The Linux box has gcc 4.0.1.  I changed
> /etc/vservers/.distributions/fc4/apt/source.list to include only:
> rpmhttp://download.fedora.us/fedora/fedora  latest/i386os updates

This points to an FC2 repository...

> I tried to build a guest server with this command:
> vserver lanweb build -m apt-rpm --hostname=lanweb --netdev eth0 -- -d fc4

... and this indicates that you expect FC4


> Everything went smoothly until after all the rpms got downloaded and
> started to install.  These are the start of the errors.
> ...
> Header V3 DSA signature: NOKEY, key ID 731002fa
> Preparing...### [100%]
>1:bash   ### [  2%]
> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
> open shared object file: No such file or directory
> error: %post(bash-2.05b-38.i386) scriptlet failed, exit status 127
> ...
>   15:libtermcap ### [ 35%]

this indicates some dependency problem in the packages (e.g. circular
deps, insufficient Requires(pre) annotations). So, 'libtermcap' (with
libtermcap.so.2) will be installed after the packages which are using
it in their %post scriptlets.


> /bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
> open shared object file: No such file or directory
> error: %pre(coreutils-5.2.1-7.i386) scriptlet failed, exit status 127
> error:   install: %pre scriptlet failed (2), skipping coreutils-5.2.1-7

%pre of coreutils failed so its installation will be skipped...


>   38:sysklogd   ### [ 88%]
> /var/tmp/rpm-tmp.55110: line 4: touch: command not found
> /var/tmp/rpm-tmp.55110: line 5: chmod: command not found

... and tools like 'touch' and 'chmod' are missing


> It seemed like the package termcap did not work with the rest of
> the packages and so others can not access and share it.  Could
> you tell me how to fix this?  And why suddenly touch/chown/chmod
> could not be found when they are actually in the PATH?  Could
> you tell me how to fix this or any recommendations of what to
> build at this point instead of FC4 for my current settings?

'apt-rpm' is nearly dead and I am not aware of apt repositories
for recent Fedora distributions. You could create your own repo
and test whether is works (things above look like packaging
errors which might be fixed in the meantime).

Or you could try 'yum', but it is unconfigurable and makes stupid
assumptions without providing ways to turn them off so it is
difficultly to use in chroot environments. So you have to apply a
patch to make it work properly.




Enrico


pgpesvPeHZ6wX.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vtop?

2005-10-06 Thread Chuck
On Thursday 06 October 2005 07:06 am, Grzegorz Nosek wrote:

> > As far as I know vtop has been part of the tools for quite a long
> > time :)
> >
> > Tom
> >
> 
> Hello all
> 
> That's right but vtop is (at least in my 0.30.208.something) just a
> shell wrapper around top (something to the effect of chcontext --xid=1
> /usr/bin/top) so the display does not include vserver name/context. I
> might be patching top to implement vserver support soon, though :)
> 

hehe never noticed really... good idea though.. something like that would be 
much appreciated..

> Grzegorz Nosek
> ___
> 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] vtop?

2005-10-06 Thread Gaz Wilson
On Thu, 6 Oct 2005, Grzegorz Nosek wrote:

> That's right but vtop is (at least in my 0.30.208.something) just a
> shell wrapper around top (something to the effect of chcontext --xid=1
> /usr/bin/top) so the display does not include vserver name/context. I
> might be patching top to implement vserver support soon, though :)
>

Now that sounds interesting :)  LEt us know when there's more news please
:)

-- 
   /   Gary Wilson, aka dragon/dragonlord/dragonv480\
 .'(_.--.  e: [EMAIL PROTECTED] MSN: dragonv480   .--._)`.
<   _   |  Skype:dragonv480 ICQ:342070475 AIM:dragonv480   |   _   >
 `.( `--' w: http://volvo480.northernscum.org.uk   `--' ).'
   \w: http://www.northernscum.org.uk   /
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vtop?

2005-10-06 Thread Gaz Wilson
On Thu, 6 Oct 2005, Chuck wrote:

> On Thursday 06 October 2005 06:48 am, Gaz Wilson wrote:
>
> It is included in the
>
> util-vserver-0.30.208-r3
>
> and I believe in the r2 version as well.


H-ha - you're ruight - quick upgrade from the rather old version on a test
box and yes, it's there.  Thanks (shouldve looked first really) :(

Cheers!

GW

-- 
   /   Gary Wilson, aka dragon/dragonlord/dragonv480\
 .'(_.--.  e: [EMAIL PROTECTED] MSN: dragonv480   .--._)`.
<   _   |  Skype:dragonv480 ICQ:342070475 AIM:dragonv480   |   _   >
 `.( `--' w: http://volvo480.northernscum.org.uk   `--' ).'
   \w: http://www.northernscum.org.uk   /
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vtop?

2005-10-06 Thread Grzegorz Nosek
> As far as I know vtop has been part of the tools for quite a long
> time :)
>
> Tom
>

Hello all

That's right but vtop is (at least in my 0.30.208.something) just a
shell wrapper around top (something to the effect of chcontext --xid=1
/usr/bin/top) so the display does not include vserver name/context. I
might be patching top to implement vserver support soon, though :)

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


[Vserver] results of the patch after 4 hours of running

2005-10-06 Thread Chuck
I stopped the qmail guest, and it timed out. It left the pid file. 
The guest was not in the process list.
Proc thought there were 3 vservers running however.


cat /proc/virtual/status
#CTotal:3
#CActive:   3

and when I tried to restart the guest it said it was already running.
I deleted the pid and tried to start the guest once again and it promptly 
locked the kernel.

power cycle returned to all is well with all guests running fine and no errors 
in startup. However, I found that my radius guest had a corrupted table in 
the database and I had to trash the live accounting table. phpmyadmin could 
not repair it. :(

I guess I will have to do this again tonight because I forgot to use the 
serial box to connect to the host so I could not see any traces. it's a 
single user box so I can't just park in it since the router admin also uses 
it.


-- 

Chuck



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


Re: [Vserver] vtop?

2005-10-06 Thread Tom Laermans
On Thu, 2005-10-06 at 11:48 +0100, Gaz Wilson wrote:
> Having one version on top on the host to monitor all processes in the
> vservers would be great!
> 
> Are there any plans? (Or indeed has someone already done it and I don't
> know?)

tequila:~# dpkg -S /usr/sbin/vtop
util-vserver: /usr/sbin/vtop
tequila:~# dpkg -l util-vserver
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version
Description
+++---
ii  util-vserver 0.30.204-5sarge2
tools for Virtual private servers and context switching
tequila:~#

As far as I know vtop has been part of the tools for quite a long
time :)

Tom

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


Re: [Vserver] vtop?

2005-10-06 Thread Chuck
On Thursday 06 October 2005 06:48 am, Gaz Wilson wrote:

It is included in the 

util-vserver-0.30.208-r3

and I believe in the r2 version as well.


> 
> I know we have the vps process which can essentially show a ps output
> of all things running within vservers from the host, but has anyone ever
> looked into patching the program top, or writing a new version which will
> act like top on the host, showing the UIDs and run states of all processes
> in the vservers continuously?
> 
> I ask, because we use vservers in a fairly hostile environment, and 
sometimes
> we get rogue processes which are hogging all of the CPU (for example) -
> top shows the machine load is up but doesn't show which vserver the rogue
> process is in - instead you need to use vps, or log into each vserver
> and run top there to find it.
> 
> Having one version on top on the host to monitor all processes in the
> vservers would be great!
> 
> Are there any plans? (Or indeed has someone already done it and I don't
> know?)
> 
> Thanks
> 
> Gary
> 
> -- 
>/   Gary Wilson, aka dragon/dragonlord/dragonv480\
>  .'(_.--.  e: [EMAIL PROTECTED] MSN: dragonv480   .--._)`.
> <   _   |  Skype:dragonv480 ICQ:342070475 AIM:dragonv480   |   _   >
>  `.( `--' w: http://volvo480.northernscum.org.uk   `--' ).'
>\w: http://www.northernscum.org.uk   /
> ___
> 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


[Vserver] vtop?

2005-10-06 Thread Gaz Wilson

I know we have the vps process which can essentially show a ps output
of all things running within vservers from the host, but has anyone ever
looked into patching the program top, or writing a new version which will
act like top on the host, showing the UIDs and run states of all processes
in the vservers continuously?

I ask, because we use vservers in a fairly hostile environment, and sometimes
we get rogue processes which are hogging all of the CPU (for example) -
top shows the machine load is up but doesn't show which vserver the rogue
process is in - instead you need to use vps, or log into each vserver
and run top there to find it.

Having one version on top on the host to monitor all processes in the
vservers would be great!

Are there any plans? (Or indeed has someone already done it and I don't
know?)

Thanks

Gary

-- 
   /   Gary Wilson, aka dragon/dragonlord/dragonv480\
 .'(_.--.  e: [EMAIL PROTECTED] MSN: dragonv480   .--._)`.
<   _   |  Skype:dragonv480 ICQ:342070475 AIM:dragonv480   |   _   >
 `.( `--' w: http://volvo480.northernscum.org.uk   `--' ).'
   \w: http://www.northernscum.org.uk   /
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Vserver newbie: problems when build guest server on FC4

2005-10-06 Thread Guenther Fuchs
Hi there,

on Donnerstag, 06. Oktober 2005 at 02:10 on the list was posted:
>
> I have FC4 x86 ...
>  I tried to build a FC4 using apt-rpm method at the end.

Unfortunately I cannot tell where but somewhere I found tron
recommendations for FC4 _not_ to use apt-rpm anymore as those
repositories are not really supported / maintained properly by the
Fedora project. I can't remember the exact words or where I found it
but in my brain I stored it as "official note" ;-)

So I would recommend using yum - this works very fine here (as long as
you ensure not using yum version 2.3 and _not_ 2.4 - later version
breaks compatibility with Enrico's util-vserver tools)

-- 
regards,

Guenther Fuchs

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


Re: [Vserver] sshd and ptys

2005-10-06 Thread Jim Wight
On Thu, 2005-10-06 at 08:56 +0200, Matthieu wrote:
> I had the same problem :
> Is /dev/pts mounted in the vserver ?
> 
> If not, you have to add to /etc/vserver//fstab the line :
> devpts  /dev/ptsdevpts  rw,gid=5,mode=620   0 0
> 
> Hope that helps.

Yes it does. Thanks. 

I did have devpts mounted in the vserver, but not with those options.
Now I see that the original FC4 fstab used them, but I created my own
fstab and must have transferred the devpts line with "defaults" from a
previous version, and then that's what I used for the vserver. 

Jim

> Jim Wight a écrit :
> 
> >I'm returning to VServer after being away from it for over a year. One
> >thing that worked previously and isn't working for me now is remotely
> >logging in via ssh. I see the following in /var/log/messages:
> >
> >sshd[11932]: error: openpty: Permission denied
> >sshd[11932]: error: session_pty_req: session 0 alloc failed


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