Re: [Vserver] Problem with shutdown (yes..)
[EMAIL PROTECTED] (Herbert Poetzl) writes: hmm, isn't vwait --timeout 30 supposed to time out after 30 seconds and go wild on your remaining processes? (this one is for enrico) There was a classical bug in the signal handling (glibc does not interrupt vc_wait_exit() but restarts it by default). I tested the dietlibc version only which does not show this behavior. There was a race also which could cause non-timeouting when the system time was modified in the wait phase. Both issues should be solved in CVS. Enrico pgpx4LaHxU9Cc.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
RE: [Vserver] Problem with shutdown (yes..)
Hi, hmm, isn't vwait --timeout 30 supposed to time out after 30 seconds and go wild on your remaining processes? (this one is for enrico) There was a classical bug in the signal handling (glibc does not interrupt vc_wait_exit() but restarts it by default). I tested the dietlibc version only which does not show this behavior. There was a race also which could cause non-timeouting when the system time was modified in the wait phase. Both issues should be solved in CVS. On WBEL4 there's an issue with minilogd, which seems to keep the vserver-stop hanging and then complaining... I renamed the minilogd file, so at least that one won't cause any problems... /Brian ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] V_xxxx not running ?
On Mon, 25 Jul 2005 18:12:01 -0500, Enrico Scholz wrote --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable [EMAIL PROTECTED] (Beno=EEt des Ligneris) writes: Chasing each and every config file of services started on your host (apache:443, SSH, mySQL, postgreSQL, etc.) ssh should never be started through v_ssh as every shell inherits the network restrictions else.So it will be impossible to do administrative tasks like (re)starting vservers. This was lost from the 2.4 kernel version of the vserver. root in context 0 was allowed to reset its iproot. - Jacques Gelinas [EMAIL PROTECTED] dav_ufs: Access your home directory using WebDav http://www.solucorp.qc.ca/miscprj/dav_ufs.hc ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] V_xxxx not running ?
On Wed, Jul 27, 2005 at 10:37:48AM -0500, Jacques Gelinas wrote: On Mon, 25 Jul 2005 18:12:01 -0500, Enrico Scholz wrote --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable [EMAIL PROTECTED] (Beno=EEt des Ligneris) writes: Chasing each and every config file of services started on your host (apache:443, SSH, mySQL, postgreSQL, etc.) ssh should never be started through v_ssh as every shell inherits the network restrictions else.So it will be impossible to do administrative tasks like (re)starting vservers. This was lost from the 2.4 kernel version of the vserver. root in context 0 was allowed to reset its iproot. well, not lost :) but it was changed, yes ... best, Herbert - Jacques Gelinas [EMAIL PROTECTED] dav_ufs: Access your home directory using WebDav http://www.solucorp.qc.ca/miscprj/dav_ufs.hc ___ 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
[Vserver] vserver-build problem ?
Hello everyone, kernel 2.6.12.3-vs2.0-rc8.1 and util-vserver-0.30.208 I have problem with vserver-build : [EMAIL PROTECTED] /]# vserver min-centos4-2 build -m yum --hostname domain.com --interface domain=eth0:192.168.0.136/24 --initstyle sysv --context 600 --force -- -d centos4 *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** Traceback (most recent call last): File /usr/bin/yum, line 6, in ? import yummain File /usr/share/yum-cli/yummain.py, line 23, in ? import yum File __init__.py, line 31, in ? File updates.py, line 18, in ? File arch.py, line 212, in ? File arch.py, line 202, in getCanonArch File arch.py, line 133, in getCanonX86Arch IOError: [Errno 2] No such file or directory: '/proc/cpuinfo' *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** Traceback (most recent call last): File /usr/bin/yum, line 6, in ? import yummain File /usr/share/yum-cli/yummain.py, line 23, in ? import yum File __init__.py, line 31, in ? File updates.py, line 18, in ? File arch.py, line 212, in ? File arch.py, line 202, in getCanonArch File arch.py, line 133, in getCanonX86Arch IOError: [Errno 2] No such file or directory: '/proc/cpuinfo' rm -rf /etc/vservers/.defaults/vdirbase/min-centos4-2 /etc/vservers/min-centos4-2 /etc/vservers/.defaults/vdirbase/.pkg/min-centos4-2 any clue ? A second question: how do we delete a vserver-build ? Simply by deleting the files created ? regards, -- Jean-Christophe Petit Directeur RD et DSI Syspark inc. T: 1 514 875 8755 F: 1 514 875 8775 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver-build problem ?
I found the problem Oups, my /dev/ is now almost empty ? But why did that happen ? I rebooted, and everything back to normal Jean-Christophe Petit wrote: Hello everyone, kernel 2.6.12.3-vs2.0-rc8.1 and util-vserver-0.30.208 I have problem with vserver-build : [EMAIL PROTECTED] /]# vserver min-centos4-2 build -m yum --hostname domain.com --interface domain=eth0:192.168.0.136/24 --initstyle sysv --context 600 --force -- -d centos4 *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** Traceback (most recent call last): File /usr/bin/yum, line 6, in ? import yummain File /usr/share/yum-cli/yummain.py, line 23, in ? import yum File __init__.py, line 31, in ? File updates.py, line 18, in ? File arch.py, line 212, in ? File arch.py, line 202, in getCanonArch File arch.py, line 133, in getCanonX86Arch IOError: [Errno 2] No such file or directory: '/proc/cpuinfo' *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** Traceback (most recent call last): File /usr/bin/yum, line 6, in ? import yummain File /usr/share/yum-cli/yummain.py, line 23, in ? import yum File __init__.py, line 31, in ? File updates.py, line 18, in ? File arch.py, line 212, in ? File arch.py, line 202, in getCanonArch File arch.py, line 133, in getCanonX86Arch IOError: [Errno 2] No such file or directory: '/proc/cpuinfo' rm -rf /etc/vservers/.defaults/vdirbase/min-centos4-2 /etc/vservers/min-centos4-2 /etc/vservers/.defaults/vdirbase/.pkg/min-centos4-2 any clue ? A second question: how do we delete a vserver-build ? Simply by deleting the files created ? regards, -- Jean-Christophe Petit Directeur RD et DSI Syspark inc. T: 1 514 875 8755 F: 1 514 875 8775 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver-build problem ?
By the way, is this warning problematic ? *You are using a version of yum which is insecure and broken in chroot related operations; either apply the patches shipped in the 'contrib/' directory of util-vserver, or ask the author of yum to apply them (preferred). In the meantime, 'vyum' will continue with dirty hacks which might not work when the vserver is running and local DOS attacks are possible. * regards, Jean-Christophe Petit wrote: I found the problem Oups, my /dev/ is now almost empty ? But why did that happen ? I rebooted, and everything back to normal Jean-Christophe Petit wrote: Hello everyone, kernel 2.6.12.3-vs2.0-rc8.1 and util-vserver-0.30.208 I have problem with vserver-build : [EMAIL PROTECTED] /]# vserver min-centos4-2 build -m yum --hostname domain.com --interface domain=eth0:192.168.0.136/24 --initstyle sysv --context 600 --force -- -d centos4 *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** Traceback (most recent call last): File /usr/bin/yum, line 6, in ? import yummain File /usr/share/yum-cli/yummain.py, line 23, in ? import yum File __init__.py, line 31, in ? File updates.py, line 18, in ? File arch.py, line 212, in ? File arch.py, line 202, in getCanonArch File arch.py, line 133, in getCanonX86Arch IOError: [Errno 2] No such file or directory: '/proc/cpuinfo' *** rpm-fake-resolver was built with glibc; please do *** *** not report errors before trying a dietlibc version. *** Traceback (most recent call last): File /usr/bin/yum, line 6, in ? import yummain File /usr/share/yum-cli/yummain.py, line 23, in ? import yum File __init__.py, line 31, in ? File updates.py, line 18, in ? File arch.py, line 212, in ? File arch.py, line 202, in getCanonArch File arch.py, line 133, in getCanonX86Arch IOError: [Errno 2] No such file or directory: '/proc/cpuinfo' rm -rf /etc/vservers/.defaults/vdirbase/min-centos4-2 /etc/vservers/min-centos4-2 /etc/vservers/.defaults/vdirbase/.pkg/min-centos4-2 any clue ? A second question: how do we delete a vserver-build ? Simply by deleting the files created ? regards, -- Jean-Christophe Petit Directeur RD et DSI Syspark inc. T: 1 514 875 8755 F: 1 514 875 8775 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] V_xxxx not running ?
On Wed, 27 Jul 2005 19:49:03 -0500, Herbert Poetzl wrote On Wed, Jul 27, 2005 at 10:37:48AM -0500, Jacques Gelinas wrote: On Mon, 25 Jul 2005 18:12:01 -0500, Enrico Scholz wrote This was lost from the 2.4 kernel version of the vserver. root in context 0 was allowed to reset its iproot. well, not lost :) but it was changed, yes ... What was the reason ? - Jacques Gelinas [EMAIL PROTECTED] dav_ufs: Access your home directory using WebDav http://www.solucorp.qc.ca/miscprj/dav_ufs.hc ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] V_xxxx not running ?
On Wed, Jul 27, 2005 at 03:52:43PM -0500, Jacques Gelinas wrote: On Wed, 27 Jul 2005 19:49:03 -0500, Herbert Poetzl wrote On Wed, Jul 27, 2005 at 10:37:48AM -0500, Jacques Gelinas wrote: On Mon, 25 Jul 2005 18:12:01 -0500, Enrico Scholz wrote This was lost from the 2.4 kernel version of the vserver. root in context 0 was allowed to reset its iproot. well, not lost :) but it was changed, yes ... What was the reason ? we switched to network context, with similar properties like the process contexts (which are also not allowed to migrate into eachother) maybe in the future, when the 'admin' context becomes a flag, we will allow to migrate between contexts (but there is really no demand for that atm) HTH, Herbert - Jacques Gelinas [EMAIL PROTECTED] dav_ufs: Access your home directory using WebDav http://www.solucorp.qc.ca/miscprj/dav_ufs.hc ___ 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