[Vserver] Web/SVN/FTP Server Downtime
Hi Community, because of a physical relocation of the server hosting various Linux-VServer services (www, svn, people, ftp, git) there will be a service outage on January 9th, 2007 between 10:00AM and 3:00PM UTC. TIA, Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] [Release] util-vserver 0.30.212
On Saturday 09 December 2006 17:53, Daniel Hokka Zakrisson wrote: Hello everybody! Hello Gentoo users :) util-vserver 0.30.212 is an early christmas present to you all, with a couple of new features and a few fixes. Get it now, from http://ftp.linux-vserver.org/pub/utils/util-vserver/ 0.30.212 has just been added to gentoo, but be aware that, ... - wrapper scripts for Gentoo have been added (vemerge, vesync, vupdateworld and vdispatch-conf), thanks to Benedikt Böhm. ... you have to update scripts that depend on these scripts - they now have a slightly different syntax... - the gentoo initstyle has been reimplemented by Benedikt Böhm. ... the gentoo init style will only work with =sys-apps/baselayout-1.13.0_pre5 Additionally, the vserver-new script has been removed, it is superseded by vserver ... build -m template ... -- -d gentoo ... Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Gentoo update-world script
On Thursday 07 December 2006 17:48, Daniel W. Crompton wrote: Hi, I read the Gentoo weekly newsletter[1] and was led to an update program[2]. I usually don't update my box besides from the required packages as I'm a little lazy. But I thought it would be handy for creating my base gentoo vservers. I got the error below. Has anybody had a play with this before? Otherwise I'll go back and investigate, I think it might be something with them splitting names on - (the dash). I use baselayout-vserver, which is also in my world file, so this could account for the problem. [1] http://www.gentoo.org/news/en/gwn/20061204-newsletter.xml [2] http://forums.gentoo.org/viewtopic-t-497125.html # update-world --prepare These are the packages that I would merge, in order: Calculating world dependencies !!! Problems have been detected with your world file !!! Please run emaint --check world / !!! All ebuilds that could satisfy =sys-apps/baselayout-1.11.14 have been masked. !!! One of the following masked packages is required to complete your request: - sys-apps/baselayout-1.11.15-r3 (masked by: package.mask) - sys-apps/baselayout-1.12.4-r7 (masked by: package.mask) - sys-apps/baselayout-1.13.0_alpha6 (masked by: package.mask, package.mask, ~x86 keyword) - sys-apps/baselayout-1.13.0_alpha7 (masked by: package.mask, package.mask, ~x86 keyword) - sys-apps/baselayout-1.13.0_alpha5 (masked by: package.mask, package.mask, ~x86 keyword) - sys-apps/baselayout-1.12.5-r2 (masked by: package.mask) - sys-apps/baselayout-1.12.6 (masked by: package.mask) - sys-apps/baselayout-1.11.14-r8 (masked by: package.mask) - sys-apps/baselayout-1.13.0_alpha7-r1 (masked by: package.mask, package.mask, ~x86 keyword) - sys-apps/baselayout-1.13.0_alpha5-r1 (masked by: package.mask, package.mask, ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!!(dependency required by sys-fs/udev-103 [ebuild]) looks like you have the wrong profile... can you paste the output of emerge --info from inside the guest? !!! Problem resolving dependencies for net-misc/asterisk !!! Depgraph creation failed. WARNING: You need to unmask some packages before continuing. blaze your trail ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 2006.1 Gentoo x86 stage3 for vserver ?
On Tuesday 05 December 2006 12:57, Chuck wrote: I have searched everywhere I can think of and can only find stage3 files dated march 2006. That will require an entire rebuild to bring it to spec! unfortunately these are the newest vserver stage3 currently available... Any place to find something done using 2006.1/gcc4.1.1? I understand I cannot build my own any more as there are no more vserver baselayout packages according to a previous msg in this list and I must use production quality packages on this machine. I cannot use experimentals. As long as baselayout-1.13 is not stable, there will be no standard stages that work with vserver... you still have to use vserver stages until it's stable... baselayout-vserver still exists, and should be used in production environments, it will be removed after 1.13 is stable... probably i'll create a bunch of new stages meanwhile, so that upgrade loads will decrease.. Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 2006.1 Gentoo x86 stage3 for vserver ?
On Tuesday 05 December 2006 16:06, John Alberts wrote: What arch do you need? If you need x86, I gave Bob P from the Jackass! project a tarball that was created around September. You can download it at one of the mirrors at: http://jackass.homelinux.org/jackass/mirror.html If you need an amd64 arch, I can try and tarball one up for you tonight and provide a link tomorrow. please take a look at http://dev.croup.de/repos/gentoo-vps/stages/ if you want to build own stages... you will need catalyst for the script to work... i will give it a run during this week, and upload the new stages then... -John On 12/5/06, Benedikt Böhm [EMAIL PROTECTED] wrote: On Tuesday 05 December 2006 12:57, Chuck wrote: I have searched everywhere I can think of and can only find stage3 files dated march 2006. That will require an entire rebuild to bring it to spec! unfortunately these are the newest vserver stage3 currently available... Any place to find something done using 2006.1/gcc4.1.1? I understand I cannot build my own any more as there are no more vserver baselayout packages according to a previous msg in this list and I must use production quality packages on this machine. I cannot use experimentals. As long as baselayout-1.13 is not stable, there will be no standard stages that work with vserver... you still have to use vserver stages until it's stable... baselayout-vserver still exists, and should be used in production environments, it will be removed after 1.13 is stable... probably i'll create a bunch of new stages meanwhile, so that upgrade loads will decrease.. Bene ___ 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 mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Development 2.1.1
On Friday 10 November 2006 14:15, Herbert Poetzl wrote: On Thu, Nov 09, 2006 at 03:53:05PM -0800, William Berks wrote: I noticed that some kind soul had updated the Gentoo Portage tree to include the most recent vserver patches. you can always find latest rc* kernels in our overlay (http://overlays.gentoo.org/proj/vps/browser) I updated my server today to the 2.6.18 kernel along with the vserver 2.1.1 sources. I built a new kernel and restarted my server. So far, so good. However, when I entered one of the guests and tried to do anything that used the network device, it failed. Finally I tried a simple ifconfig and found that there were no network devices defined. Is there some kind of migration needed to configure the guests to the new patches? not really, and it works quite fine here, so maybe a weird kind of configuration issue, or maybe a gentoo bug? works quite fine here too... a more detailed description of the problem would probably help.. best, Herbert Bill Berks ___ 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 mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] [Gentoo] baselayout-vserver is dead!
On Saturday 04 November 2006 18:05, Georges Toth wrote: On Friday 03 November 2006 18:00, Benedikt Böhm wrote: Just want to let you know that baselayout-vserver is dead now, since we got baselayout-1.13.0_alpha5 working within vservers. Great work, thanks !! :-) Will that eventually be merged into the main portage tree or will it remain in the vps overlay ? the util-vserver-svn ebuild will be merged once 0.30.212 is released ;) a stable baselayout-0.13.0 will probably still take quite some time .. bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] [Gentoo] baselayout-vserver is dead!
Hey folks! Just want to let you know that baselayout-vserver is dead now, since we got baselayout-1.13.0_alpha5 working within vservers. For details please take a look at my blog entry[1], I don't want to copypaste the whole story here. Have a nice day! [1] http://planet.gentoo.org/developers/hollow/2006/11/03/baselayout_vserver_is_dead ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver start: exec-ulimit error
Hi Thomas, Please post emerge --info and your version of util-vserver and dietlibc and see http://bugs.gentoo.org/show_bug.cgi?id=138468 HTH, Bene On Oct 16, 2006, at 3:30 PM, Thomas Duif wrote: Hello, I followed a vserver gentoo howto (http://www.gentoo.org/doc/en/ vserver-howto.xml). Everything was fine till vserver start: ~ # vserver gentoo-main start exec-ulimit: execv(): Bad address An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (/sbin/init) failed. Common causes are: * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build method knows how to deal with this, but on existing installations, appending 'true' to this file will help. Failed to start vserver 'gentoo-main' I dont have any idea what to do - google doesn't help. What could i do? What did i wrong? PS: reply to my address too - i didn't subscribe the list. Greetings, Thomas Duif ___ 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] gentoo update?
On Monday 11 September 2006 19:03, Chuck wrote: i remember reading a bit ago that version 2.1 has gone production.. this has not happened yet, curent stable is 2.0.2, released on september 3rd when will that be integrated into gentoo's vserver-sources portage group? you can find all rc* kernels in our overlay at http://overlays.gentoo.org/proj/vps or should i just do the kernel manually... i have to set up a new host next week and wanted to use the latest and greatest stable sources. currently, what is available is vserver-sources-2.0.1-r5 vserver-sources-2.0.2 is in portage, still ~arch for the required minimum of 30 days until going stable HTH, Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] gentoo update?
On Monday 11 September 2006 19:23, Chuck wrote: On Monday 11 September 2006 13:15, Benedikt Böhm wrote: ok cool. thanks... i have a question tho.. i am confused... we are currently using 2.6.13.3-vs2.1.0-rc4 on some of our machines from last december or so... other newer ones we installed 2.6.15-vs2.0.1-gentoo-r5. does this mean that the earlier ones using 2.1.0 have more fixes and options .. ie.. a 'higher version' than the 2.0.1? or has that particular 2.1 been 'grandfathered' into the 2.0.x ? well, fixes go into both series, but new major features will only be added to 2.1 On Monday 11 September 2006 19:03, Chuck wrote: i remember reading a bit ago that version 2.1 has gone production.. this has not happened yet, curent stable is 2.0.2, released on september 3rd when will that be integrated into gentoo's vserver-sources portage group? you can find all rc* kernels in our overlay at http://overlays.gentoo.org/proj/vps or should i just do the kernel manually... i have to set up a new host next week and wanted to use the latest and greatest stable sources. currently, what is available is vserver-sources-2.0.1-r5 vserver-sources-2.0.2 is in portage, still ~arch for the required minimum of 30 days until going stable HTH, Bene ___ 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] Linux-VServer Project Announces New Stable Release and New Website
Linux-VServer Project Announces New Stable Release and New Website Today, the Linux-VServer project released a new stable version of its kernel patch featuring support for Bind Mount Extensions, improved filesystem support for JFS, kernel helper improvements and other minor enhancements. The new version also fixes a lot of bugs including potential deadlocks, missing context unhashing and network adress removal. Alongside with the new kernel patch, the project announced the launch of a new and overhauled infrastructure for its web presence. The new project website is now based on MediaWiki using a complete new look and feel and will replace the old wiki in the future. Furthermore, an anonymous FTP archive, Subversion repositories and developer webspace have been added to public infrastructure. The complete announcements (including a ChangeLog and detailed description of the new website) can be found at http://linux-vserver.org/Announcements/20060903 -- Benedikt Böhm [EMAIL PROTECTED] Public Relations Infrastructure Userspace Development ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] New wiki + many other things
Hi Community, as some of you may already know there is an ongoing effort to move linux-vserver.org to MediaWiki, the software used by Wikipedia. The new installation can temporarily be found at http://vwiki.croup.de (please do not register for now, email isn't setup yet) There are still many things that need to be discussed, some of them not entirely related to the new wiki, but it is probably the best to do things at once ;) The following things came to my mind where things still need to be decided and discussed: * SCM Repository This is mostly a question for Bertl, since he is managing the current releases. AFAIK git was suggested and i think it is the best choice for kernel development, but i don't have a preference here. Another question would be if we should also setup Subversion/CVS (rather the former ;) for project hosting (util-vserver, libvserver, vserver-utils, openvcp, etc) * Bug reporting Do we need a central instance here like Bugzilla, or do we manage all bugs via mailing list/irc as-is? * Public Relations Yeah, i know, anyone wants to do PR, but IIRC Bertl asked some time ago for PR help, so maybe we can sort this out and build a team responsible for PR... * Wiki Team One thing we really need, IMO. There should be a bunch of people maintaining locked pages, and review changes on a regular basis to keep the wiki easy to use and sorted... * Planet VServer I'm not sure how many people in the community do blogging but it may be worth thinking about an aggregator, since it nearly is no overhead to maintain and a nice (PR) thing to have ;) Beside discussing there is also real work to do: Move old wiki content to new mediawiki * Old wiki pages Bertl already said to prepare a sqldump of the current wiki to get at least _all_ content, since there does not seem to be a list-all-pages function in the current wiki. * New structure The structure currently applied at vwiki.croup.de is by no means decided, however it fits the overall requirements quite good IMO. Nevertheless feel free to comment on that too. For all old pages there should be redirects to the new location of this piece of information, so that google links won't get invalid. Since this is the most time-consuming task, please drop a note if you are willing to help moving content and adapting the (sometimes) new wiki formatting. New structure in detail: * Paper: Bertl will review and update the current paper * FAQs: Many current pages can be consolidated (derjohn?) * Downloads: See below for Download Archives * Documentation: the biggest part, most help needed here, especially different distros etc.. * Participate/Report Bug: Write down detailed information about bug reporting (testme/testfs etc) * Projects: list projects related to linux-vserver (util-vserver, vserver-utils, etc) * Related Projects: Gather all related projects, and probably do a comparison finally (wikipedia has a preliminary comparison, btw) Rest should be self-explanatory and is also quite easy to create.. * Download archives Currently there are so many locations for utils, patches, etc, that confuses users. I suggest a central archive organized in a similar way to kernel.org where all developers can put their stuff. These archives should be reachable by HTTP/FTP and its structure should documented on the Downloads page... I'd volunteer to setup and maintain the infrastructure for all parts listed above, but I seriously need help during migration and future wiki updates. TIA for comments and your time Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Scheduling parameter and vschedcalc
On Sunday 23 July 2006 22:02, Daniel Hokka Zakrisson wrote: Wilhelm Meier wrote: Hello, the util-vserver comes with a tool called vschedcalc to calculate the values for the token-bucket-algorithm. vschedcalc is from the Gentoo package. These lines are from vschedcalc: # calculate token bucket let interval=100*${fillrate}/${avgcpu} let tokensmin=${hz}*${bursthold}*${fillrate}/${interval} let tokensmax=${hz}*${maxburst}-${maxburst}*${interval} I don't know If I understand the description right, but I think the line to compute tokensmax is wrong. The maxburst-time is the time the vserver can consume tokens from the initial filling, which is tokensmax/hz plus the additional time, which the vserver gets because of the the refilling-rate lasting for the maxburst-time, which is (fillrate/intervall)*maxburst. With this statement we get: tokensmax=maxburst*hz - maxburst * (fillrate/intervall)*hz So, please help me if I misinterpreted the things here. If my math is right, you're correct. fixed in 0.30.210-r16, thanks ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] [SECURITY] ccaps not limited to root inside a guest
On Fri, 28 Apr 2006 04:25:04 +0200 Herbert Poetzl [EMAIL PROTECTED] wrote: - alternatively the following kernel patch fixes the issue for stable and devel kernels for 2.6.16 and later, but might need a little massaging for older (2.6.14/2.6.15) kernels for 2.6.15 the patch can be found at http://dev.croup.de/proj/gentoo-vps/browser/vserver-sources/2.0.1-r4/4915_vs2.0.1-vxcapable-fix.patch ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] version confusion
On Fri, 28 Apr 2006 06:55:29 -0400 Chuck [EMAIL PROTECTED] wrote: we use gentoo exclusively in our servers, ... also, we will be moving to amd64 arch using multiple opteron dual core processors for all machines except one which will remain x86. is the vserver amd production branch 'in sync' with the x86 branch? yes, it is if i used the devel branch is it as stable as the x86 was? hard to say, but in general it will work as good or bad as the other one.. any caveats with the amd branch at this time? we have no need for most of the advanced features of linux-vserver so far and only use the most basic of capability options. i have been told by a close friend who does a serious amount of video production work using the amd gentoo versions that we should only use the ~ branch of both gentoo and linux-vserver and that it would be stable for us. he has the ~ combinations out in production in literally hundreds of installations... comments on that? i would not run production system with ~arch, this branch is just too fast moving, and i wouldn't even rely blindly on the stable branch, espacially with critical packages like php, mysql and things, which are known to break during upgrades from time to time if you're not up to date with changes to config and such.. just a bit of confusion here... our current version has proven rock stable for us, and in this new amd environment i don't want to sacrifice this. HTH, Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] great flower page
On Sun, 23 Apr 2006 09:57:06 +0200 eyck [EMAIL PROTECTED] wrote: In spite of stiff opposition, and with loosing a lot of important functionality in the process... hmm, what kind of functionality was lost, IYO? - ability to hot-mount directories into running guest vnamespace -e xid -- mount /foo /vservers/bar/foo - old vserver-build scripts created skeletons ready to be deployed, new method requires quite some time for vserver-enabling newly built skeletons... which is time-consuming, requires some knowledge and is error-prone. vserver name build -m skeleton - way of keeping heavily-commented template config for vserver. There is no easy way to comment current config. you'll love to hear that vserver-utils has configuration in a database *scnr* ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] latest stable for gentoo?
On Wednesday 15 March 2006 13:30, Chuck wrote: Hi- Sorry I haven't been around but my boss has caught the vserver fever and has me converting literally *everything* to guests! :) I have not had the time to keep up with this list or the website and to be honest I don't yet, so I'm going to be lazy and ask. I am currently using the following: vanilla kernal and patch : 2.6.13.3-vs2.1.0-rc4 Gentoo packages for util-vserver-0.30.210-r5 baselayout-vserver 1.11.13-r1 I see that 2.1.0 was released in Dec. Is this the latest stable? No. http://linux-vserver.org/ Section Downloads What newer kernel(s) will the patch work with? 2.6.16-rc5 http://vserver.13thfloor.at/Experimental/ I see that the latest kernel in portage is vanilla-sources-2.6.16_rc6 I may be biting my own tail, but I gave up on the gentoo sources kernels due to the extremely heavy patching. genpatches consists of bugfixes only, the extra patches can all be turned off with make menuconfig I find the vanilla kernels perform noticably faster and seem more stable. Everything I am running is rock stable so I'm not positive upgrades are truly needed but would like to incorporate any other features/fixes my above versions may be missing. Last question... has any progress been made on the proposed network code changes to allow each guest to have a true localhost and more than 16 ip addresses without falling apart? no ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Pseudo terminal proxy for util-vserver
With regard to the /dev/pts issue on vserver name enter i have ported the vlogin application from vserver-utils to util-vserver-0.30.210 See also http://list.linux-vserver.org/archive/vserver/msg12117.html Bene diff -NurpP util-vserver-0.30.210/scripts/Makefile-files util-vserver-0.30.210-vlogin/scripts/Makefile-files --- util-vserver-0.30.210/scripts/Makefile-files 2005-04-28 19:45:34.0 +0200 +++ util-vserver-0.30.210-vlogin/scripts/Makefile-files 2006-03-04 09:48:30.0 +0100 @@ -52,7 +52,8 @@ scripts_pkglib_src_DTA = scripts/functio scripts/vserver.functions \ scripts/vserver.start \ scripts/vserver.stop \ -scripts/vserver.suexec +scripts/vserver.suexec \ +scripts/vserver.login scripts_pkglib_gen_DTA = scripts/util-vserver-vars diff -NurpP util-vserver-0.30.210/scripts/util-vserver-vars.pathsubst util-vserver-0.30.210-vlogin/scripts/util-vserver-vars.pathsubst --- util-vserver-0.30.210/scripts/util-vserver-vars.pathsubst 2006-01-22 13:24:25.0 +0100 +++ util-vserver-0.30.210-vlogin/scripts/util-vserver-vars.pathsubst 2006-03-04 09:55:46.0 +0100 @@ -72,6 +72,7 @@ _VDU=$__SBINDIR/vdu _VHASHIFY=$__PKGLIBDIR/vhashify _VKILL=$__SBINDIR/vkill _VLIMIT=$__SBINDIR/vlimit +_VLOGIN=$__SBINDIR/vlogin _VNAMESPACE=$__SBINDIR/vnamespace _VPKG=$__PKGLIBDIR/vpkg _VPROCUNHIDE=$__PKGLIBDIR/vprocunhide diff -NurpP util-vserver-0.30.210/scripts/vserver util-vserver-0.30.210-vlogin/scripts/vserver --- util-vserver-0.30.210/scripts/vserver 2005-10-28 20:29:00.0 +0200 +++ util-vserver-0.30.210-vlogin/scripts/vserver 2006-03-04 09:47:52.0 +0100 @@ -101,6 +101,11 @@ function suexec() . $__PKGLIBDIR/vserver.suexec } +function vlogin() +{ +. $__PKGLIBDIR/vserver.login +} + function restart() { [EMAIL PROTECTED] --sync $vserver stop @@ -220,7 +225,7 @@ case $2 in ;; (enter) getEnterShell $VSERVER_DIR - suexec root [EMAIL PROTECTED] + vlogin [EMAIL PROTECTED] ;; (running) isVserverRunning $VSERVER_DIR diff -NurpP util-vserver-0.30.210/scripts/vserver.login util-vserver-0.30.210-vlogin/scripts/vserver.login --- util-vserver-0.30.210/scripts/vserver.login 1970-01-01 01:00:00.0 +0100 +++ util-vserver-0.30.210-vlogin/scripts/vserver.login 2006-03-04 09:46:19.0 +0100 @@ -0,0 +1,32 @@ +# $Id: vserver.suexec,v 1.14 2005/07/15 19:01:06 ensc Exp $ --*- sh -*-- + +# Copyright (C) 2003 Enrico Scholz [EMAIL PROTECTED] +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +is_stopped= +isVserverRunning $VSERVER_DIR S_CONTEXT || is_stopped=1 +test -z $is_stopped || { +echo $'vserver ... suexec' is supported for running vservers only; aborting... 2 +exit 1 +} + +generateOptions $VSERVER_DIR + +pushd $VSERVER_DIR/vdir/ /dev/null + +${USE_VNAMESPACE:+$_VNAMESPACE --enter $S_CONTEXT -- } \ +${_VLOGIN} -n ${S_CONTEXT} -x ${S_CONTEXT} -- $@ + +popd /dev/null diff -NurpP util-vserver-0.30.210/src/Makefile-files util-vserver-0.30.210-vlogin/src/Makefile-files --- util-vserver-0.30.210/src/Makefile-files 2006-01-22 12:28:00.0 +0100 +++ util-vserver-0.30.210-vlogin/src/Makefile-files 2006-03-04 09:34:00.0 +0100 @@ -67,6 +67,7 @@ DIETPROGS += src/chcontext-compat \ src/vcontext \ src/vcopy \ src/vkill \ + src/vlogin \ src/vsched \ src/vshelper-sync \ src/vrsetup \ @@ -141,6 +142,7 @@ sbin_PROGRAMS += src/chbind \ src/vcontext \ src/vlimit \ src/vkill \ + src/vlogin \ src/vnamespace \ src/vrsetup \ src/vsched \ @@ -201,6 +203,10 @@ src_vkill_LDADD = $(VSERVER_LDADDS) src_vkill_LDFLAGS = $(VSERVER_LDFLGS) src_vkill_CPPFLAGS = $(AM_CPPFLAGS) -DLEGACYDIR=\$(legacydir)\ +src_vlogin_SOURCES = src/vlogin.c +src_vlogin_LDADD = $(VSERVER_LDADDS) +src_vlogin_LDFLAGS = $(VSERVER_LDFLGS) + src_vlimit_SOURCES = src/vlimit.c src_vlimit_LDADD = $(VSERVER_LDADDS) src_vlimit_LDFLAGS = $(VSERVER_LDFLGS) diff -NurpP util-vserver-0.30.210/src/vlogin.c util-vserver-0.30.210-vlogin/src/vlogin.c --- util-vserver-0.30.210/src/vlogin.c 1970-01-01 01:00:00.0 +0100 +++ util-vserver-0.30.210-vlogin/src/vlogin.c 2006-03-04 09:56:27.0 +0100 @@ -0,0 +1,450 @@ +/*** + * Copyright 2005 by the vserver-utils team * + *
[Vserver] [x86_64] 2.6.15.4-vs2.1.1-rc10 works
Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl chcontext is working. chbind is working. chcontext 0.30.210 -- allocates/enters a security context This program is part of util-vserver 0.30.210 Copyright (C) 2004 Enrico Scholz This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. Linux 2.6.15.4-vs2.1.1-rc10-gentoo #3 SMP Thu Mar 2 18:58:17 MSK 2006 x86_64 Ea 0.30.210 236/glibc (DSa) v13,net VCI: 0002:0001 236 031101f4 (TbnPD) ([EMAIL PROTECTED]) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #3 SMP Thu Mar 2 18:58:17 MSK 2006 --- [000]# chcontext --xid 49151 true chcontext --xid 45678 true [000]# succeeded. [001]# chcontext --xid 45678 egrep 'context|VxID' /proc/self/status [001]# succeeded. [011]# chcontext --secure --xid 45678 mknod /tmp/testme.sh.qGFi0H/ node c 0 0 [011]# succeeded. [031]# chcontext --xid 49151 --hostname zaphod.14808 uname -a | grep - q zaphod.14808 [031]# succeeded. [101]# chbind --nid 49151 --ip 192.168.0.42 true [101]# succeeded. [102]# chbind --nid 49151 --ip 192.168.0.1/255.255.255.0 --ip 10.0.0.1/24 true [102]# succeeded. [201]# chcontext --xid 45678 --flag fakeinit bash -c 'test $$ -eq 1' [201]# succeeded. [202]# chcontext --xid 49151 --flag fakeinit bash -c 'test $$ -eq 1' [202]# succeeded. Linux-VServer FS Test [V0.13] Copyright (C) 2005-2006 H.Poetzl Linux 2.6.15.4-vs2.1.1-rc10-gentoo x86_64/0.30.210 VCI: 0002:0001 236 031101f4 (ugid24) --- testing ext2 filesystem ... [000]# succeeded. xid related tests ... [001]# succeeded. [002]# succeeded. [011]# succeeded. [012]# succeeded. [014]# succeeded. [015]# succeeded. [019]# succeeded. [020]# succeeded. [021]# succeeded. [022]# succeeded. [023]# succeeded. [024]# succeeded. [025]# succeeded. [026]# succeeded. [027]# succeeded. [028]# succeeded. [033]# succeeded. [034]# succeeded. [035]# succeeded. [037]# succeeded. xattr related tests ... [101]# succeeded. [102]# succeeded. [103]# succeeded. [104]# succeeded. [106]# succeeded. [108]# succeeded. [109]# succeeded. [112]# succeeded. [113]# succeeded. [114]# succeeded. [115]# succeeded. [116]# succeeded. [117]# succeeded. [118]# succeeded. [119]# succeeded. [121]# succeeded. [122]# succeeded. [123]# succeeded. [124]# succeeded. [199]# succeeded. --- testing ext3 filesystem ... [000]# succeeded. xid related tests ... [001]# succeeded. [002]# succeeded. [011]# succeeded. [012]# succeeded. [014]# succeeded. [015]# succeeded. [019]# succeeded. [020]# succeeded. [021]# succeeded. [022]# succeeded. [023]# succeeded. [024]# succeeded. [025]# succeeded. [026]# succeeded. [027]# succeeded. [028]# succeeded. [033]# succeeded. [034]# succeeded. [035]# succeeded. [037]# succeeded. xattr related tests ... [101]# succeeded. [102]# succeeded. [103]# succeeded. [104]# succeeded. [106]# succeeded. [108]# succeeded. [109]# succeeded. [112]# succeeded. [113]# succeeded. [114]# succeeded. [115]# succeeded. [116]# succeeded. [117]# succeeded. [118]# succeeded. [119]# succeeded. [121]# succeeded. [122]# succeeded. [123]# succeeded. [124]# succeeded. [199]# succeeded. --- testing xfs filesystem ... [000]# succeeded. xid related tests ... [001]# succeeded. [002]# succeeded. [011]# succeeded. [012]# succeeded. [014]# succeeded. [015]# succeeded. [019]# succeeded. [020]# succeeded. [021]# succeeded. [022]# succeeded. [023]# succeeded. [024]# succeeded. [025]# succeeded. [026]# succeeded. [027]# succeeded. [028]# succeeded. [033]# succeeded. [034]# succeeded. [035]# succeeded. [037]# succeeded. xattr related tests ... [101]# succeeded. [102]# succeeded. [103]# succeeded. [104]# succeeded. [106]# succeeded. [108]# succeeded. [109]# succeeded. [112]# succeeded. [113]# succeeded. [114]# succeeded. [115]# succeeded. [116]# succeeded. [117]# succeeded. [118]# succeeded. [119]# succeeded. [121]# succeeded. [122]# succeeded. [123]# succeeded. [124]# succeeded. [199]# succeeded. --- testing reiser filesystem ... [000]# succeeded. xid related tests ... [001]# succeeded. [002]# succeeded. [011]# succeeded. [012]# succeeded. [014]# succeeded. [015]# succeeded. [019]# succeeded. [020]# succeeded. [021]# succeeded. [022]# succeeded. [023]# succeeded. [024]# succeeded. [025]# succeeded. [026]# succeeded. [027]# succeeded. [028]# succeeded. [033]# succeeded. [034]# succeeded. [035]# succeeded. [037]# succeeded. xattr related tests ... [101]# succeeded. [102]# succeeded. [103]# succeeded. [104]# succeeded. [106]# succeeded. [108]# succeeded. [109]# succeeded. [112]# succeeded. [113]# succeeded. [114]# succeeded. [115]# succeeded. [116]# succeeded. [117]# succeeded. [118]# succeeded. [119]# succeeded. [121]# succeeded. [122]# succeeded. [123]# succeeded. [124]# succeeded. [199]# succeeded. --- testing jfs filesystem ... [000]# succeeded. xid related tests ... [001]# succeeded. [002]# succeeded. [011]# succeeded. [012]# succeeded. [014]# succeeded. [015]# succeeded. [019]# succeeded. [020]#
[Vserver] [x86] 2.6.15-vs2.0.2-rc10 works
Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl chcontext is working. chbind is working. Linux 2.6.15.4-vs2.0.2-rc10-gentoo #2 PREEMPT Thu Mar 2 21:53:34 CET 2006 i686 Ea 0.30.210 273/glibc (DSa) v13,net VCI: 0002:0001 273 03110034 (TbnPD) --- [000]# succeeded. [001]# succeeded. [011]# succeeded. [031]# succeeded. [101]# succeeded. [102]# succeeded. [201]# succeeded. [202]# succeeded. Linux-VServer FS Test [V0.13] Copyright (C) 2005-2006 H.Poetzl Linux 2.6.15.4-vs2.0.2-rc10-gentoo i686/0.30.210 VCI: 0002:0001 273 03110034 (ugid24) --- testing ext2 filesystem ... [000]. (ext2 format) xid related tests ... [001]. [002]. [011]. [012]. [014]. [015]. [019]. [020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028]. [033]. [034]. [035]. [037]. xattr related tests ... [101]. [102]. [103]. [104]. [106]. [108]. [109]. [112]. [113]. [114]. [115]. [116]. [117]. [118]. [119]. [121]. [122]. [123]. [124]. [199]. --- testing ext3 filesystem ... [000]. (ext3 format) xid related tests ... [001]. [002]. [011]. [012]. [014]. [015]. [019]. [020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028]. [033]. [034]. [035]. [037]. xattr related tests ... [101]. [102]. [103]. [104]. [106]. [108]. [109]. [112]. [113]. [114]. [115]. [116]. [117]. [118]. [119]. [121]. [122]. [123]. [124]. [199]. --- testing xfs filesystem ... [000]. (xfs format) xid related tests ... [001]. [002]. [011]. [012]. [014]. [015]. [019]. [020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028]. [033]. [034]. [035]. [037]. xattr related tests ... [101]. [102]. [103]. [104]. [106]. [108]. [109]. [112]. [113]. [114]. [115]. [116]. [117]. [118]. [119]. [121]. [122]. [123]. [124]. [199]. --- testing reiser filesystem ... [000]. (reiserfs format) xid related tests ... [001]. [002]. [011]. [012]. [014]. [015]. [019]. [020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028]. [033]. [034]. [035]. [037]. xattr related tests ... [101]. [102]. [103]. [104]. [106]. [108]. [109]. [112]. [113]. [114]. [115]. [116]. [117]. [118]. [119]. [121]. [122]. [123]. [124]. [199]. --- testing jfs filesystem ... [000]. (jfs format) xid related tests ... [001]. [002]. [011]. [012]. [014]. [015]. [019]. [020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028]. [033]. [034]. [035]. [037]. xattr related tests ... [101]. [102]. [103]. [104]* [106]. [108]. [109]. [112]. [113]. [114]* [115]. [116]. [117]. [118]. [119]. [121]* [122]* [123]* [124]* [199]. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] [x86] 2.6.15-vs2.1.1-rc10 works
Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl chcontext is working. chbind is working. Linux 2.6.15.4-vs2.1.1-rc10-gentoo #2 PREEMPT Thu Mar 2 21:49:54 CET 2006 i686 Ea 0.30.210 273/glibc (DSa) v13,net VCI: 0002:0001 273 03110134 (TbnPD) --- [000]# succeeded. [001]# succeeded. [011]# succeeded. [031]# succeeded. [101]# succeeded. [102]# succeeded. [201]# succeeded. [202]# succeeded. Linux-VServer FS Test [V0.13] Copyright (C) 2005-2006 H.Poetzl Linux 2.6.15.4-vs2.1.1-rc10-gentoo i686/0.30.210 VCI: 0002:0001 273 03110134 (ugid24) --- testing ext2 filesystem ... [000]. (ext2 format) xid related tests ... [001]. [002]. [011]. [012]. [014]. [015]. [019]. [020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028]. [033]. [034]. [035]. [037]. xattr related tests ... [101]. [102]. [103]. [104]. [106]. [108]. [109]. [112]. [113]. [114]. [115]. [116]. [117]. [118]. [119]. [121]. [122]. [123]. [124]. [199]. --- testing ext3 filesystem ... [000]. (ext3 format) xid related tests ... [001]. [002]. [011]. [012]. [014]. [015]. [019]. [020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028]. [033]. [034]. [035]. [037]. xattr related tests ... [101]. [102]. [103]. [104]. [106]. [108]. [109]. [112]. [113]. [114]. [115]. [116]. [117]. [118]. [119]. [121]. [122]. [123]. [124]. [199]. --- testing xfs filesystem ... [000]. (xfs format) xid related tests ... [001]. [002]. [011]. [012]. [014]. [015]. [019]. [020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028]. [033]. [034]. [035]. [037]. xattr related tests ... [101]. [102]. [103]. [104]. [106]. [108]. [109]. [112]. [113]. [114]. [115]. [116]. [117]. [118]. [119]. [121]. [122]. [123]. [124]. [199]. --- testing reiser filesystem ... [000]. (reiserfs format) xid related tests ... [001]. [002]. [011]. [012]. [014]. [015]. [019]. [020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028]. [033]. [034]. [035]. [037]. xattr related tests ... [101]. [102]. [103]. [104]. [106]. [108]. [109]. [112]. [113]. [114]. [115]. [116]. [117]. [118]. [119]. [121]. [122]. [123]. [124]. [199]. --- testing jfs filesystem ... [000]. (jfs format) xid related tests ... [001]. [002]. [011]. [012]. [014]. [015]. [019]. [020]. [021]. [022]. [023]. [024]. [025]. [026]. [027]. [028]. [033]. [034]. [035]. [037]. xattr related tests ... [101]. [102]. [103]. [104]. [106]. [108]. [109]. [112]. [113]. [114]. [115]. [116]. [117]. [118]. [119]. [121]. [122]. [123]. [124]. [199]. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] VServer patches now in Gentoo Portage
Hi all, I just added vserver-sources to gentoo portage cvs: vserver-sources-1.9.3 x86 vserver-sources-1.9.4_rc1 ~x86 vserver-sources-1.9.3.17 ~x86 and package.mask'ed Please test any of them if you like, they should be on the mirrors in a few hours. Unmask instruction: echo =sys-kernel/vserver-sources-1.9.3.17 /etc/portage/package.unmask echo sys-kernel/vserver-sources ~x86 /etc/portage/package.keywords Bene -- Benedikt Boehm www.croup.de [EMAIL PROTECTED] GPG-ID: 0xB5FAF161 If it moves, compile it. -- Gentoo pgpvmUB6nEQe8.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver iptables
On Thursday 23 December 2004 18:27, Bastian Boday wrote: from the vserver I can connect to eth0 but not to the internet. From my local net everything works fine. You need to do SNAT in order to get your vservers connecting to the internet when you're using different IPs on the root dev and the alias... it looks like this: /sbin/iptables -t nat -A POSTROUTING -s 192.168.50.0/255.255.255.0 -d ! 192.168.50.0/255.255.255.0 -j SNAT --to-source 192.168.2.x (this should be the ip of eth1) Bene -- Benedikt Boehm www.croup.de [EMAIL PROTECTED] GPG-ID: 0x32585A3D If it moves, compile it. -- Gentoo pgpHl5UvTaPfq.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Gentoo vserver on kernel 2.6 Guide
Hi all! Over the past few days i created a guide and some ebuilds to make installing vserver on gentoo more comfortable! As setting up gentoo as a guest system is somewhat tricky and documentation (especially for 2.6 kernels) is spread out all over the net i decided to write a guideline to help others. This guide is not complete yet, but you can get a basic vserver running. Help is always appreciated! You can find the guide at http://oss.croup.de/vserver/guide/ Also look at http://forums.gentoo.org/viewtopic.php?t=251730 Happy testing :) Hollow -- Benedikt Böhm[EMAIL PROTECTED] GPG-ID: 0x32585A3D pgpmm0HAMkeqT.pgp Description: PGP signature ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Gentoo vserver on kernel 2.6 Guide
On Monday 15 November 2004 01:49, Allen Parker wrote: the guest stuff will be released sometime this week, although not quite as pretty as yours, if you'd like benedikt, i'll just submit the raw information to you and let you make it pretty (as well as poking the gentoo-dev so that we can get that actually added to gentoo.org) sure, i'd like to see it! On Sun, 14 Nov 2004 14:55:18 +0100, Benedikt Böhm [EMAIL PROTECTED] wrote: Hi all! Over the past few days i created a guide and some ebuilds to make installing vserver on gentoo more comfortable! As setting up gentoo as a guest system is somewhat tricky and documentation (especially for 2.6 kernels) is spread out all over the net i decided to write a guideline to help others. This guide is not complete yet, but you can get a basic vserver running. Help is always appreciated! You can find the guide at http://oss.croup.de/vserver/guide/ Also look at http://forums.gentoo.org/viewtopic.php?t=251730 Happy testing :) Hollow -- Benedikt Böhm[EMAIL PROTECTED] GPG-ID: 0x32585A3D ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver -- Benedikt Böhm[EMAIL PROTECTED] GPG-ID: 0x32585A3D www.geek-is-sexy.de www.mediamappe.de www.kreativ-cafe.de pgpgvrMrxtycE.pgp Description: PGP signature ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver