Re: [Vserver] Debian guest on a Gentoo Host?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jepa kazol wrote: Hi guys, I am trying to move all of my gentoo servers to debian and for now I am trying to install a debian guest vserver on a gentoo host. But I couldn't find out how to do that. Is there anyone on this list did the job? Please share your experiences with me... emerge debootstrap '=sys-cluster/util-vserver-0.30.213' vserver name build -m debootstrap other stuff you want -- -d etch -m mirror url -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGcB7zmPFBzbX68WERApUrAJkBt2BM13bE7m8i3inasJM5I79YXwCfcYKj 2EDDVhaZzSuF5Kz+SNiMjxY= =OjkG -END PGP SIGNATURE- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] New dedicated box for linux-vserver.org
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benedikt Boehm wrote: Hi all, as some of you may already have noticed, the web services have experienced some outages during the last weeks, mostly because the machine is heavily overloaded. Fortunately my employer (www.newthinking-communications.de) has donated a dedicated box for the Linux-VServer project. I have just received the confirmation of our hoster, our new box is an Opteron 1218 Dual Core, 4G RAM, 2x300G HDD, so it should be enough ;) Finally, the last guest has been moved (database), and things should be stable again from now on. Sorry for the inconveniences, Bene -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGW9lAmPFBzbX68WERAnaGAJ45lxaGlek+uM3OVZiqtC7VBbf+VwCeKLyt XAGw7LNcPOaw2UOFpmacqIE= =YH/8 -END PGP SIGNATURE- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] New dedicated box for linux-vserver.org
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, as some of you may already have noticed, the web services have experienced some outages during the last weeks, mostly because the machine is heavily overloaded. Fortunately my employer (www.newthinking-communications.de) has donated a dedicated box for the Linux-VServer project. I have just received the confirmation of our hoster, our new box is an Opteron 1218 Dual Core, 4G RAM, 2x300G HDD, so it should be enough ;) I will announce the downtime for migration later this week, but expect it to take place sometime next week... Bene -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGOH6ymPFBzbX68WERAtEhAJkB8Al+x+l2vhmZI8Pispd1F7pmfQCeMdZy Z7ZL/vmM0ZGYrkQ+X/j2tng= =rX9N -END PGP SIGNATURE- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] current stable on gentoo ?
Oliver Welter wrote: Hi Folks, if I read the website correctly, the 2.2.0 is stable on 2.6.20 kernel. In the gentoo portage I only see vserver-sources-2.2.0_rc20 - can anybody shed some light on this? 2.2.0 is in portage since Apr 2nd .. @Hollow - whats about new stages and the new baselayout - I saw your planet dev post from November 06 which reads about almost done. http://people.linux-vserver.org/~hollow/stages/ Oliver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Linux-VServer booth at Linuxtag 2007
Benedikt Boehm wrote: Hi all, this years Linuxtag will take place in Berlin (ICC), from 30.5. to 2.6. and we are applying for a booth, so is there anyone willing to help? If you want to participate i need your answer pretty much, even better yesterday, since the time for booth application is officialy over already, though we still have a chance, and i need to know (at least) rough numbers for exhibitor passes, if you want one. Since there wasn't a single response, there will be NO vserver booth at linuxtag (at least i won't do it myself)... Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] gentoo util-vserver-0.30.212/baselayout-1.13 issues
Christian Affolter wrote: Hi Benedikt! Thanks for your reply. After installing * sys-kernel/vserver-sources-2.0.2.1 * sys-cluster/util-vserver-0.30.212-r2 please update ro -r3, see below I was unable to find an -r3 release, neither on the official gentoo CVS repository [1], nor on the VPS overlay [2]. Manually bumping the util-vserver ebuild doesn't seems to make sense, as no different patches will be fetched. Where can I find the mentioned ebuild? oh crap, i forgot to commit it, will do so later, not at home currently .. On a newly (template) created vserver (with gentoo init style) the following errors appearing while starting the vserver: # vserver basesystem-ng start ... klogctl: Operation not permitted just a cosmetic bug, will be fixed soon Ok, thanks. * Using existing device nodes in /dev ...[ ok ] ... * Starting syslog-ng ... Error opening file /proc/kmsg for reading (Operation not permitted) Error initializing configuration, exiting. fixed in -r3 * Failed to start syslog-ng [ !! ] ... The second error can easily be solved by removing the /proc/kmsg source entry out of the syslog-ng.conf file (as there is no kmsg within the vserver's proc directory). It would be nice if the pre-built vserver stages would reflect this change. The vserver stop process drops the following error messages: # vserver basesystem-ng stop ... * Deactivating swap ... Not superuser. [ !! ] * Unmounting loopback devices ... [ ok ] * Unmounting filesystems ... * Unmounting /usr/portage/distfiles ... umount2: Operation not permitted umount: /usr/portage/distfiles: must be superuser to umount umount2: Operation not permitted umount: /usr/portage/distfiles: must be superuser to umount [ !! ] * Unmounting /usr/portage ... umount2: Operation not permitted umount: /usr/portage: must be superuser to umount umount2: Operation not permitted umount: /usr/portage: must be superuser to umount [ !! ] * Unmounting /tmp ... umount2: Operation not permitted umount: none: not found umount: /tmp: must be superuser to umount umount2: Operation not permitted umount: none: not found umount: /tmp: must be superuser to umount [ ok ] WARNING: could not determine runlevel - doing soft halt (it's better to use shutdown instead of halt from the command line) shutdown: /dev/initctl: No such file or directory init: /dev/initctl: No such file or directory /usr/lib/util-vserver/vserver.stop: line 85: 3682 Killed [EMAIL PROTECTED] ${USE_VNAMESPACE:+$_VNAMESPACE --enter $S_CONTEXT -- } $_VCONTEXT $SILENT_OPT --migrate --chroot --xid $S_CONTEXT -- [EMAIL PROTECTED] more or less cosmetic too, will be fixed soon too, together with updated stages.. feel free to poke me if there aren't new stages within the next week Will those changes be in a new sys-apps/baselayout or do you perform some manual vserver related changes within the stage building process? In the first case I should be able to simply update the baselayout within an existing vserver... this changes will be in a newer baselayout, but basically, you need the following patch: http://people.linux-vserver.org/~hollow/baselayout-1.13.0-gentoo-init-style-fixes.patch Thanks again! Chris [1] http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/util-vserver/ [2] http://overlays.gentoo.org/proj/vps/browser/sys-cluster/util-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
[Vserver] Linux-VServer booth at Linuxtag 2007
Hi all, this years Linuxtag will take place in Berlin (ICC), from 30.5. to 2.6. and we are applying for a booth, so is there anyone willing to help? If you want to participate i need your answer pretty much, even better yesterday, since the time for booth application is officialy over already, though we still have a chance, and i need to know (at least) rough numbers for exhibitor passes, if you want one. Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] gentoo util-vserver-0.30.212/baselayout-1.13 issues
Christian Affolter wrote: Hi! I finally found some time to play with the new util-vserver (0.30.212) on a gentoo host. First, thanks to all the involved people for their hard work! After installing * sys-kernel/vserver-sources-2.0.2.1 * sys-cluster/util-vserver-0.30.212-r2 please update ro -r3, see below and the latest available stage4 (stage4-i686-20070321) from hollow's stage repository, I ran into some small problems: On a newly (template) created vserver (with gentoo init style) the following errors appearing while starting the vserver: # vserver basesystem-ng start ... klogctl: Operation not permitted just a cosmetic bug, will be fixed soon * Using existing device nodes in /dev ...[ ok ] ... * Starting syslog-ng ... Error opening file /proc/kmsg for reading (Operation not permitted) Error initializing configuration, exiting. fixed in -r3 * Failed to start syslog-ng [ !! ] ... The second error can easily be solved by removing the /proc/kmsg source entry out of the syslog-ng.conf file (as there is no kmsg within the vserver's proc directory). It would be nice if the pre-built vserver stages would reflect this change. The vserver stop process drops the following error messages: # vserver basesystem-ng stop ... * Deactivating swap ... Not superuser. [ !! ] * Unmounting loopback devices ... [ ok ] * Unmounting filesystems ... * Unmounting /usr/portage/distfiles ... umount2: Operation not permitted umount: /usr/portage/distfiles: must be superuser to umount umount2: Operation not permitted umount: /usr/portage/distfiles: must be superuser to umount [ !! ] * Unmounting /usr/portage ... umount2: Operation not permitted umount: /usr/portage: must be superuser to umount umount2: Operation not permitted umount: /usr/portage: must be superuser to umount [ !! ] * Unmounting /tmp ... umount2: Operation not permitted umount: none: not found umount: /tmp: must be superuser to umount umount2: Operation not permitted umount: none: not found umount: /tmp: must be superuser to umount [ ok ] WARNING: could not determine runlevel - doing soft halt (it's better to use shutdown instead of halt from the command line) shutdown: /dev/initctl: No such file or directory init: /dev/initctl: No such file or directory /usr/lib/util-vserver/vserver.stop: line 85: 3682 Killed [EMAIL PROTECTED] ${USE_VNAMESPACE:+$_VNAMESPACE --enter $S_CONTEXT -- } $_VCONTEXT $SILENT_OPT --migrate --chroot --xid $S_CONTEXT -- [EMAIL PROTECTED] more or less cosmetic too, will be fixed soon too, together with updated stages.. feel free to poke me if there aren't new stages within the next week The /usr/portage and /tmp mounts are from the vserver's config fstab (/etc/vservers/basesystem-ng/fstab). The 'umount none:' messages are possibly related to /proc and /dev/pts The internal vserver init process probably shouldn't try to swap-off and unmount those mounts ;) Are these some known issues or did I something completely wrong? Many thanks for your help! Kind regards Christian HTH, Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: Centos guest on Gentoo Vserver
On Tuesday 31 January 2006 11:21, Stephane Bortzmeyer wrote: On Tue, Jan 31, 2006 at 10:01:50AM +, Joksim [EMAIL PROTECTED] wrote a message of 14 lines which said: Hmmm, but aren't this xen images? Can I use them on vserver? They just have a few adjustments for Xen so I believe it could work (I did not try): after all, it is just userland stuff (and you can edit it before booting, anyway). http://linux-vserver.org/CentOS_HowTo paragraph C. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] How to vunify/vhashify on Gentoo
On Sunday 22 January 2006 15:46, Wilhelm Meier wrote: Am Sonntag, 22. Januar 2006 12:38 schrieb Enrico Scholz: [EMAIL PROTECTED] (Wilhelm Meier) writes: I'm using Gentoo as a host and also Gentoo as VPSs. If I try to vunify/vhashify two VPS, I get: gs vservers # ln -s /etc/vservers/vs01 /etc/vservers/vs01c/apps/vunify/refserver.00 gs vservers # vserver vs01c unify Can not determine packagemanagement style failed to determine configfiles Does vhashify/vunify really make sense on Gentoo? AFAIK, Gentoo does not have a packagemanagement and you have to recompile everything (which will probably produce different checksums). Yes, but Gentoo has package-management - the portage system. When you do a 'make install' from the same source tree, vhashify/vunify will still not work because most 'make install' do not preserve timestamps. But because timestamps are used to check whether files are identically resp. are going into the calculation of the hash value, you will not gain very much with vhashify/vunify on Gentoo. You have to use binary packages, then you will gain the same amount as with other distributions. And you have to compile the things only once. This is o.k. since the compiler-flags won't change from Vserver to VServer. The only issue might be with the portage-use-flags. well, if you want unification you probably use the same use flags among unified guests anyway... Enrico ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Screen inside vserver
On Saturday 14 January 2006 16:08, Michael S. Zick wrote: On Sat January 14 2006 08:59, Michael S. Zick wrote: On Sat January 14 2006 06:40, Oliver Welter wrote: eyck wrote: afair, you have to ssh into the box to use screen. vserver name enter and issuing a screen command does not work. it's not that it doesn't work, it's that it easier and safer to tell people 'just ssh into your guest' instead of explaining how to make it work. As I dont have SSH running inside the guest and I am not afraid of some work, how :) You could try making it 'by hand' - but that would only work for the pts that you create by hand. Also recall, that on that system, you are using udev and /dev is probably mounted in /tmpfs, not as persistent files on the hard disk. Gentoo gives you three ways to handle a missing device (follow the directions for a missing /dev/console or /dev/null). But what you want to handle is dynamic devices (pts 0...254) in the guest with a device creation system that runs in the host. First, grab all the udev manuals you can lay your hands on... The 'stock' system scripts are creating devices in '/dev'; modify to create them also in /vserver/guestroot/dev Sorry, I don't know how only what. Scratch that - - here is how: Each udev rule can call an external script - write one that hardlinks the just created /dev/pts/xx to a /vservers/guestroot/dev/ptx/xx Now all you have to do is figure out 'which vserver' to create the link in. Mike The thing is, you normally don't run udev inside a vserver, because you don't have CAP_MKNOD... the problem with /dev/pts entries not appearing on vserver ... enter is that the vserver prorcess only migrates to the context and replaces itself with bash, so there is no login process and no terminal devices are created by devpts filesystem (in contrary to the ssh attempt)... i don't know a solution for this atm, but if anyone can help, i'd appreciate it Bene Mike Oliver ___ 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] Screen inside vserver
On Saturday 14 January 2006 16:46, Benedikt Boehm wrote: On Saturday 14 January 2006 16:08, Michael S. Zick wrote: On Sat January 14 2006 08:59, Michael S. Zick wrote: On Sat January 14 2006 06:40, Oliver Welter wrote: eyck wrote: afair, you have to ssh into the box to use screen. vserver name enter and issuing a screen command does not work. it's not that it doesn't work, it's that it easier and safer to tell people 'just ssh into your guest' instead of explaining how to make it work. As I dont have SSH running inside the guest and I am not afraid of some work, how :) You could try making it 'by hand' - but that would only work for the pts that you create by hand. Also recall, that on that system, you are using udev and /dev is probably mounted in /tmpfs, not as persistent files on the hard disk. Gentoo gives you three ways to handle a missing device (follow the directions for a missing /dev/console or /dev/null). But what you want to handle is dynamic devices (pts 0...254) in the guest with a device creation system that runs in the host. First, grab all the udev manuals you can lay your hands on... The 'stock' system scripts are creating devices in '/dev'; modify to create them also in /vserver/guestroot/dev Sorry, I don't know how only what. Scratch that - - here is how: Each udev rule can call an external script - write one that hardlinks the just created /dev/pts/xx to a /vservers/guestroot/dev/ptx/xx Now all you have to do is figure out 'which vserver' to create the link in. Mike i missed that you link it in the root path of the vserver.. probably it works, but it looks more like a workaround, than a fix.. The thing is, you normally don't run udev inside a vserver, because you don't have CAP_MKNOD... the problem with /dev/pts entries not appearing on vserver ... enter is that the vserver prorcess only migrates to the context and replaces itself with bash, so there is no login process and no terminal devices are created by devpts filesystem (in contrary to the ssh attempt)... i don't know a solution for this atm, but if anyone can help, i'd appreciate it Bene Mike Oliver ___ 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 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] VServer logo?
On Friday 06 January 2006 22:56, Guenther Fuchs wrote: Hi there, anyone graphically talented created a logo for VServer yet or wants to? I guess, there's not only me wanting to show a powered by Linux- VServer on their page ;-) Okay, i gave it a try too. Three suggestions at http://dev.gentoo.org/~hollow/vserver-logos.png Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] [OPoll] BME inclusion into next stable release
OPINION POLL please check (X) all points which apply ... (according to your opinion) [ ] I had no idea about this issue/deficiency [X] I did already know about it [X] I'm already using BME (or similar) patches [ ] I will start using BME patches now [ ] I do not need/use this 'feature' at all [X] I think this SHOULD get into the next stable Linux-VServer release because ... [X] I am using it/want to use it [ ] It's more a bugfix than a feature [X] I like the idea of ro --bind mounts [ ] I think this should NOT be included into the next stable release because ... [ ] it is not thoroughly tested [ ] it is not mature enough [ ] it adds unnecessary code [ ] it should better be fixed in the mainline Linux Kernel ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Gentoo VServer Usage Survey
Hi all, just wanted to let all Gentoo users know (at least those who don't read Planet Gentoo) that i created a usage survey for gentoo users. Would be very kind if you could spend some minutes on the survey [1]. Regards, Benedikt [1] http://dev.croup.de/survey/survey.php?uid=243afa1992cbee ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Gentoo Vserver: PHP5 - udev - baselayout problem
On Saturday 12 November 2005 19:33, Tor Rune Skoglund wrote: Christian Heim wrote: On Friday 11 November 2005 11:46, Tor Rune Skoglund wrote: I am trying to emerge dev-lang/php to get php5. package.keywords have been set accordingly. Emerge wants to install udev for some reason. (Why would I want udev in a vserver? I probably don't...) Rune, could you please copypaste the tree output of your emerge (-t) ?! Anyway, when trying to emerge udev, udev want a baselayout other than the vserver baselayout, and there my knowledge stops. Yes, here we go: emerge -t dev-lang/php please read http://bugs.gentoo.org/show_bug.cgi?id=105616 and try to find out which package depends on udev, no package should depend on udev in a vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver-new reports a guest exists when it does not
On Monday 31 October 2005 19:08, Chuck wrote: this is on a gentoo system. i am trying to create a guest called support. i created the mount point in /vservers, it is mounted and a clear, empty volume. i run this command and get this result: phoenix vservers # vserver-new support --hostname support --context 3920 --interface eth3:64.113.39.20/24 template /work/guest-stuff/template.tar.bz2 * Existing vserver installation found. Try --destroy vserver-new can handle mount points, just add --destroy and it will umount/mount the defice automagically... (you have to specify destroy here, because vserver-new can't decide if the mount point is fresh or already used.. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Probs after update world in Gentoo Guest
On Saturday 29 October 2005 13:19, Chuck wrote: On Saturday 29 October 2005 06:40 am, Oliver Welter wrote: Hi Chuck, 1) I build a new guest from scratch using vserver-new with a stage3 tarball from your website, afterwards I did an emerge -u world. Running etc-update tries to replaced /etc/inittab with a version taht contains tty entries - no good ida I think... did you first run emerge metadata this is not needed, it just speeds things up and check the world file to be sure the standard baselayout is replaced with the vserver one in the listing? it errgh - metadate: no, but emerge -u world -vp shows baselayout-vserver-1.12.0_pre8-r2, now, after the update emerge -s baselayout: * sys-apps/baselayout-vserver Latest version available: 1.12.0_pre8-r2 Latest version installed: 1.12.0_pre8-r2 this is ~x86, don't expect things to work properly So this is right there were some start/stop issues with earlier tools on gentoo. -r4 is the first one to work properly -r3 should do as well with their fixes for it. i just installed -r5 which seems to be working well once i figure out what i dont have ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] gentoo util-vserver -r5 problem
On Saturday 29 October 2005 18:03, Chuck wrote: On Saturday 29 October 2005 11:59 am, Benedikt Boehm wrote: On Saturday 29 October 2005 11:44, Chuck wrote: I'm sure its something I have mis-configured, but I have no clue where to look. when i try to use the vservers startup script, which now works right on the other system, i get this error: phoenix rio # /etc/init.d/vservers start * Unhiding /proc entries ... [ ok ] * Starting vservers of type 'default' ... * ns1 starting make: *** No rule to make target `..stamp', needed by `.ns2.stamp'. make: Target `all' not remade because of errors. and it only starts ns1 then exits. this is definitely a problem with util-vserver, the init script uses /usr/lib/util-vserver/start-vservers which is pretty borked hmm, ok even in -r5.. yeah, we try to fix up things step by step. i assume you noticed that the patch tarball grows by every release.. ;) ok i will refrain from using the init and just put the order to start/stop in local.start and local.stop using the vserver guest action command i have depends set up on this machine but it seems i must have something else.. something about a guest.stamp or something.. for ns2 which failed, i have in /etc/vservers/ns2/apps/init/depends a single entry ns1 and then the others all depend on each other so there is a specific start order but it never gets that far. what do i still need to do? and then it hides proc entries and i cannot start the others manually until i unhide them manually. i still think this is a bad place to put the vprocunhide as without the other init script to back it up it leaves a person unable to manually work with their system when the init script setup doesnt work. for me i shall always edit that script to remove the vprocunhide/hide code in every version and will continue to use the manual script which i saved a copy of since i dont believe it is supplied any more. ___ 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] Can't bind-mount host-guest
On Saturday 29 October 2005 18:18, Bruno wrote: I'm running util-vserver-0.30.205-r1. On my host I have folowing line for portage in fstab: /home/snapshot.sqfs /usr/portage squashfs loop,ro 0 0 any reason for keeping portage on ro squashfs? ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Hard freezes on SMP?
On Friday 28 October 2005 15:45, Herbert Poetzl wrote: On Thu, Oct 27, 2005 at 10:56:58PM +0200, Grzegorz Nosek wrote: Hello all, I have noticed a disturbing pattern on my smp systems with vserver patches (2.6.13.4 with vserver patches from gentoo). as you said, you are using the gentoo (devel) please specify the gentoo portage version of vserver-sources, 2.6.13.4 does not necessarily mean it's devel additionally, vserver-sources does not have 2.6.13.4 in any version number... the default gentoo kernels do not show the fourth version element, and we stopped it for vserver-sources too (although 2.0.1_pre2 has 2.6.13.1 as version number, it's a (cosmetic) bug...) ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Hard freezes on SMP?
On Friday 28 October 2005 16:12, Herbert Poetzl wrote: On Fri, Oct 28, 2005 at 04:06:29PM +0200, Benedikt Boehm wrote: On Friday 28 October 2005 15:45, Herbert Poetzl wrote: On Thu, Oct 27, 2005 at 10:56:58PM +0200, Grzegorz Nosek wrote: Hello all, I have noticed a disturbing pattern on my smp systems with vserver patches (2.6.13.4 with vserver patches from gentoo). as you said, you are using the gentoo (devel) please specify the gentoo portage version of vserver-sources, 2.6.13.4 does not necessarily mean it's devel ah, sorry, got the impression that gentoo was using the devel branch only ... is there a list of versions out there and to what mainstream versions they are related? actually the vserver-sources only contain the vserver version number, and they have the kernel version hardcoded in their ebuild so e.g. in vserver-sources-2.0-r1 you have CKV=2.6.12 for Current Kernel Version the fourth version element is not shown, because vserver-sources uses genpatches, which ship the patches but don't change the kernel version, so it actually might be 2.6.13.4 but it does never appear in the version string.. additionally, vserver-sources does not have 2.6.13.4 in any version number... the default gentoo kernels do not show the fourth version element, and we stopped it for vserver-sources too (although 2.0.1_pre2 has 2.6.13.1 as version number, it's a (cosmetic) bug...) as far as I remember, the newer versions should include the vserver patch version plus some gentoo marker, no? (at least we agreed upon that :) right, all versions currently in portage have a naming scheme like 2.6.x-vs2.x.x-gentoo-rx TIA, Herbert ___ 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] Hard freezes on SMP?
On Friday 28 October 2005 16:12, Herbert Poetzl wrote: On Fri, Oct 28, 2005 at 04:06:29PM +0200, Benedikt Boehm wrote: On Friday 28 October 2005 15:45, Herbert Poetzl wrote: On Thu, Oct 27, 2005 at 10:56:58PM +0200, Grzegorz Nosek wrote: Hello all, I have noticed a disturbing pattern on my smp systems with vserver patches (2.6.13.4 with vserver patches from gentoo). as you said, you are using the gentoo (devel) please specify the gentoo portage version of vserver-sources, 2.6.13.4 does not necessarily mean it's devel ah, sorry, got the impression that gentoo was using the devel branch only ... is there a list of versions out there and to what mainstream versions they are related? there is a listing at http://dev.gentoo.org/~dsd/genpatches/kernels.htm including vserver-sources.. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vservers init script broken?
On Saturday 22 October 2005 09:03, Chuck wrote: On Friday 21 October 2005 10:57 pm, Chuck wrote: forgot to tell you how i installed both this one and the dell from a previous msg.. i used the vserver-new script along with hollow's new instructions to create a template guest using the stage3-pentium3 install tar and for creating a template tar and using that as the 'install tar' for the other guests. all the guests use baselayout-vserver-1.11.13-r1 as supplied in his tar. the host utils are util-vserver-0.30.208-r4 the kernel and vserver patch is 2.6.13.3-vs2.1.0-rc4 should i be using baselayout-vserver-1.12.0_pre8-r2 with this? i used this in the previous 'prometheus' setup. this is a different method than i used in the 2 temp hosts i had set up as this stage3-pentium3 version for the guests and the new instructions using vserver-new was not available then. this is also , for completeness, using the version of vservers init script that does its own vprocunhide which was not available in the other temp host installs. they used util-vserver-0.30.208-r3. on a totally different machine and completely different installation i get this which is a different error than the one on the dell: on start eron ~ # /etc/init.d/vservers start chdir(): No such file or directory chdir(): No such file or directory * Unhiding /proc entries ... [ ok ] * Starting vservers of type 'default' ... Davin starting [ ok ] on stopping: eron ~ # /etc/init.d/vservers stop * Stopping all types of vservers ... [ ok ] * Checking for vservers still running ... vuname: vc_xidopt2xid(/proc/virtual/3883): No such file or directory this is fixed, and will be released as -r5 soon basename: too few arguments Try `basename --help' for more information. * Hiding /proc entries ... chdir(): No such file or directory chdir(): No such file or directory [ ok ] and the vserver is still running just fine. vserver guest stop works perfectly. do i have something misconfigured or is this script broken? it is giving me errors on 2 different machines and they are 2 different errors.. i posted the previous one a day or so ago -- 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 mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Missing Gentoo init script?
On Sunday 09 October 2005 02:55, Chuck wrote: On Saturday 08 October 2005 08:01 pm, Benedikt Boehm wrote: its a good place to put it when you use the vservers init script to auto start. but when you dont there is no option to call vservers unhide or some such to just run vprocunhide... i know i can set all the guests to some mark other than default or change the default to some other name, but when working on the systems its a pain to keep editing back and forth so vservers doesnt find anything to start.. please realize this is my own uneducated opinion, but i still vote for a separatre script. for me the way i work and use them its far more convenient. the vservers init script does only start those guests you tell it to, if you don't specify any guest it will just make proc entries visible.. additionally the vservers init script ensures that on stop/reboot _all_ guests are shut down probperly so there is definitely no need to put one command (vprocunhide) in an extra ini script. i just re-emerged util-vserver-0.30.208-r3 to see the msg that i missed... it doesnt tell me that vprocunhide is no longer a separate script. it tells me to run vprocunhide then goes on to tell me an init script was installed and how to add it with no reference that vprocunhide was added into it.. there is nothing about changes.. sorry:) * You have to run the vprocunhide command after every reboot * in order to setup /proc permissions correctly for vserver * use. An init script has been installed by this package. * To use it you should add it to a runlevel: * * rc-update add vserver default * * This init script will also help you to start/stop your vservers * on reboot. See /etc/conf.d/vserver for details what nice message! it told you everything i told you :) On Saturday 08 October 2005 22:19, Chuck wrote: It appears that the ebuild for util-vserver-0.30.208-r3 is missing the vprocunhide init script. On a clean system it did not install one and I could not find one. I copied one from another host. you should read the messages popping up after the build of util-vserver the two init scripts (vprocunhide and vservers) have been merged into one (vservers) ___ 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] Missing Gentoo init script?
On Sunday 09 October 2005 12:07, Chuck wrote: On Sunday 09 October 2005 03:11 am, Benedikt Boehm wrote: its just me being lazy not wanting to change the default name to rabbits or something in the conf.d config file:) well, if you have default marks in your config, you probably want them to start at boot anyway, else you remove the mark... if you don't have any marks configured, the default mark will not start anything... it makes perfect sense to put it where it is... the only thing i ask is that you change the message after to indicate there are changes and that they should remove the vprocunhide from default if it is an upgrade. possibly one of those beeping timed yellow msgs. :). i have suggested this several times in bugzilla that they change the way portage operates to make it output all info msgs from every pkg emerged to a text file with a single msg at the end to check xxx.txt for changes. that way people like me who may emerge 10 things and go to bed or out on site won't miss anything important. however no one has acted on this in more than a year. probably you should take a look at PORT_LOGDIR (see make.conf(5)) On Sunday 09 October 2005 02:55, Chuck wrote: On Saturday 08 October 2005 08:01 pm, Benedikt Boehm wrote: its a good place to put it when you use the vservers init script to auto start. but when you dont there is no option to call vservers unhide or some such to just run vprocunhide... i know i can set all the guests to some mark other than default or change the default to some other name, but when working on the systems its a pain to keep editing back and forth so vservers doesnt find anything to start.. please realize this is my own uneducated opinion, but i still vote for a separatre script. for me the way i work and use them its far more convenient. the vservers init script does only start those guests you tell it to, if you don't specify any guest it will just make proc entries visible.. additionally the vservers init script ensures that on stop/reboot _all_ guests are shut down probperly so there is definitely no need to put one command (vprocunhide) in an extra ini script. i just re-emerged util-vserver-0.30.208-r3 to see the msg that i missed... it doesnt tell me that vprocunhide is no longer a separate script. it tells me to run vprocunhide then goes on to tell me an init script was installed and how to add it with no reference that vprocunhide was added into it.. there is nothing about changes.. sorry:) * You have to run the vprocunhide command after every reboot * in order to setup /proc permissions correctly for vserver * use. An init script has been installed by this package. * To use it you should add it to a runlevel: * * rc-update add vserver default * * This init script will also help you to start/stop your vservers * on reboot. See /etc/conf.d/vserver for details what nice message! it told you everything i told you :) On Saturday 08 October 2005 22:19, Chuck wrote: It appears that the ebuild for util-vserver-0.30.208-r3 is missing the vprocunhide init script. On a clean system it did not install one and I could not find one. I copied one from another host. you should read the messages popping up after the build of util-vserver the two init scripts (vprocunhide and vservers) have been merged into one (vservers) ___ 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] Missing Gentoo init script?
On Saturday 08 October 2005 22:19, Chuck wrote: It appears that the ebuild for util-vserver-0.30.208-r3 is missing the vprocunhide init script. On a clean system it did not install one and I could not find one. I copied one from another host. you should read the messages popping up after the build of util-vserver the two init scripts (vprocunhide and vservers) have been merged into one (vservers) ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] gentoo stop fix? and final production guidance requested.
On Sunday 02 October 2005 20:21, Chuck wrote: On Sunday 02 October 2005 11:49 am, Chuck wrote: with these new versions of base layout and util-vserver, do we still need to put this into a post start script? vattribute --xid 3407 --flag ^37 or is that now not needed? it is not needed with baselayout-vserver-{1.11.13-r1,12.0_pre8}, and 0.30.208-r3 contains a patch which adds the cflags to vattribute, so you could do vattribute --xid 3407 --flag reboot_kill if you still need it for some guests... also look at http://home.xnull.de:8008/doc/en/vserver-howto.xml i updated it to make use of new tools included in 0.30-208-r3 Cheers! ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] gentoo stop fix? and final production guidance requested.
On Sunday 02 October 2005 20:42, Chuck wrote: On Sunday 02 October 2005 04:41 pm, Benedikt Boehm wrote: ok cool thanks... one more quick one... if i choose the latest 2005.1 standard p3 stage3 from the mirrors then overlayed the guest baselayout is that sufficient or are there other changes in the stage3 that i should stick with the older one? proably it will work, but not sure, i think you have to unmerge baselayout before and without it you're not able to emerge anything... if you're familar with catalyst you could try the http://dev.gentoo.org/~hollow/stages/build-stages script, it will build stages for you, though we will upload new ones soon... On Sunday 02 October 2005 20:21, Chuck wrote: On Sunday 02 October 2005 11:49 am, Chuck wrote: with these new versions of base layout and util-vserver, do we still need to put this into a post start script? vattribute --xid 3407 --flag ^37 or is that now not needed? it is not needed with baselayout-vserver-{1.11.13-r1,12.0_pre8}, and 0.30.208-r3 contains a patch which adds the cflags to vattribute, so you could do vattribute --xid 3407 --flag reboot_kill if you still need it for some guests... also look at http://home.xnull.de:8008/doc/en/vserver-howto.xml i updated it to make use of new tools included in 0.30-208-r3 Cheers! ___ 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 stop issue
On Friday 30 September 2005 11:25, Christian Wolf wrote: Hi, my vserver setup works pretty good. Installed under gentoo with 2.6.12 vserver kernel. My virtual server is called mailserver. Installed gentoo in there too (special stages and baselayout). It just works. which baselayout-vserver/util-vserver version? But, when I try to stop the mailserver the following happens: prompt server mailserver stop vkill: vc_ctx_kill(): No such process Vserver '/etc/vservers/mailserver' still running unexpectedly; please investigate it manually... But the mailserver is stopped since I get that output from status: prompt vserver mailserver status Vserver 'mailserver' is stopped prompt Has anbody a clue? Thanks for your help. Christian ___ 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 stop issue
On Friday 30 September 2005 11:57, Christian Wolf wrote: Hi, sys-cluster/util-vserver is 0.30.205-r1 (latest) could you try if 0.30.208-r2 solves this problem? we're also working on -r3 atm, it will be released today... and sys-apps/baselayout-vserver is 1.11.13 Chrisitan Benedikt Boehm wrote: On Friday 30 September 2005 11:25, Christian Wolf wrote: Hi, my vserver setup works pretty good. Installed under gentoo with 2.6.12 vserver kernel. My virtual server is called mailserver. Installed gentoo in there too (special stages and baselayout). It just works. which baselayout-vserver/util-vserver version? But, when I try to stop the mailserver the following happens: prompt server mailserver stop vkill: vc_ctx_kill(): No such process Vserver '/etc/vservers/mailserver' still running unexpectedly; please investigate it manually... But the mailserver is stopped since I get that output from status: prompt vserver mailserver status Vserver 'mailserver' is stopped prompt Has anbody a clue? Thanks for your help. Christian ___ 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] [RESOLVED] gentoo guest shutdown error
On Wednesday 21 September 2005 12:52, Chuck wrote: On Wednesday 21 September 2005 01:29 am, Benedikt Boehm wrote: On Wednesday 21 September 2005 07:22, Benedikt Boehm wrote: On Wednesday 21 September 2005 00:30, Herbert Poetzl wrote: On Tue, Sep 20, 2005 at 11:41:52AM -0400, Chuck wrote: For those Gentoo installations that used the pre-prepared baselayout or stage3 for vserver guests, add this line to every guest/etc/inittab including the template if you use one. # Trap CTRL-ALT-DELETE ca::ctrlaltdel:/sbin/shutdown -r now if this is added to a running guest, then do telinit q within the guest. Even if you used a different method, check inittab anyway to be sure this is there. This addition will cure the stop time outs happening when attempting to shut down via the vservers init script or using vserver guest stop. you could also just upgrade baselayout-vserver to 1.12.0_pre8-r1, it solved this and some other bugs as well.. wrong.. my guests have this line, my working copy of baselayout too, but it's not in the tar.. damn.. i'll update it when back from school.. ahh ok. i assume this baselayout version you're speaking of is for the 2.x series vservers.. no, doesn't matter, you can use it with 1.9, 2.0 and 2.1 ___ 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] [RESOLVED] gentoo guest shutdown error
On Wednesday 21 September 2005 00:30, Herbert Poetzl wrote: On Tue, Sep 20, 2005 at 11:41:52AM -0400, Chuck wrote: For those Gentoo installations that used the pre-prepared baselayout or stage3 for vserver guests, add this line to every guest/etc/inittab including the template if you use one. # Trap CTRL-ALT-DELETE ca::ctrlaltdel:/sbin/shutdown -r now if this is added to a running guest, then do telinit q within the guest. Even if you used a different method, check inittab anyway to be sure this is there. This addition will cure the stop time outs happening when attempting to shut down via the vservers init script or using vserver guest stop. you could also just upgrade baselayout-vserver to 1.12.0_pre8-r1, it solved this and some other bugs as well.. short explanation: the tools currently send an INT signal to the running init (if the initstyle is plain) to signal the guest shutdown (which is equiv to giving the three finger salute), which does not work if the appropriate line in inittab is missing ... best, Herbert Chuck On Tuesday 20 September 2005 10:43 am, Chuck wrote: On Tuesday 20 September 2005 10:05 am, Chuck wrote: correction. within the guest i typed init 0 anyway i tried from the host: vserver guestname exec init 0 and it shut down within seconds perfectly with no errors when i try vserver guestname stop it returns that the server is not running startup delivers no errors after stopping it in that fashion is this a clue or am i bypassing some important steps the 'stop' command does? I don't comprehend the verver.stop script :( however I can tell you the fail/timeout is external to the gentoo guests by this test I enter the guest via vserver guest enter. i type halt 0 within seconds i am tossed back into the host and looking at processes the vserver lock process kills itself in about 5 seconds.. then if i run vserver guest stop it says the guest is not running. I am sure there are numerous reasons for not doing this, but why not just execute init 0 within the guest from the vserver script while it does the rest of its cleanup? -- 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 -- 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 -- 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 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] [RESOLVED] gentoo guest shutdown error
On Wednesday 21 September 2005 07:22, Benedikt Boehm wrote: On Wednesday 21 September 2005 00:30, Herbert Poetzl wrote: On Tue, Sep 20, 2005 at 11:41:52AM -0400, Chuck wrote: For those Gentoo installations that used the pre-prepared baselayout or stage3 for vserver guests, add this line to every guest/etc/inittab including the template if you use one. # Trap CTRL-ALT-DELETE ca::ctrlaltdel:/sbin/shutdown -r now if this is added to a running guest, then do telinit q within the guest. Even if you used a different method, check inittab anyway to be sure this is there. This addition will cure the stop time outs happening when attempting to shut down via the vservers init script or using vserver guest stop. you could also just upgrade baselayout-vserver to 1.12.0_pre8-r1, it solved this and some other bugs as well.. wrong.. my guests have this line, my working copy of baselayout too, but it's not in the tar.. damn.. i'll update it when back from school.. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] File clash between libvserver and util-vserver: libvserver.so
On Tuesday 06 September 2005 00:27, Christian Aichinger wrote: util-vserver should be known well enough, libvserver is a project started by Benedikt Boehm in the time when Enrico was away. It provides an interface to the vserver-patched kernel. Homepage of libvserver: http://dev.croup.de/proj/libvserver/wiki Libvserver provides a shared object, libvserver.so.1, while util-vserver provides libvserver.so.0. Those two file have different origins, don't share code and have different APIs. We first hit a problem with the libvserver Debian package (unofficial, provided by Balint Laszlo Biller), which was not installable in parallel with the util-vserver package (the official one), since they both contained a libvserver.so symlink to the actual library (also in the same directories). So on the one hand libvserver somehow invades util-vserver's namespace, since clearly util-vserver's libvserver.so was there first. OTOH util-vserver's library isn't actually used by anything else then util-vserver AFAICS, so it could probably live in /usr/lib/util-vserver. I think this would be a nice and clean solution. Another option would be to drop libvserver.so (only the symlink, not the library itself) from the util-vserver .deb. The plain .so should only be used for building software against the library anyway, and since there is no such software AFAIK, it's useless. It stays the problem that there would be 2 libs in /usr/lib with the same name, different so-versions, but with different origin and authors. I don't think this as such a nice situation in the long run, because I think ther will be more of the problems we already have. Eg. what happens if Enrico descides (for whatever strange reason, since there are no users of the library) to increase the so-version.. Yet another thing would be to rename libvserver, I but I guess Benedikt wouldn't be too glad about this. i'm not against it if someone has a _better_ name ;) What are your opinions on this? Cheers, Christian 'Greek0' Aichinger ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Monitor Scheduler Ressources
On Monday 22 August 2005 09:36, Oliver Welter wrote: Hi, I have setup a host with the Token Scheduler (http://linux-vserver.org/Scheduler+Parameters) - is it possible to monitor the buckets ?? Oliver thanatos ~ # cat /proc/virtual/23760/sched Token: 9430 FillRate: 20 Interval: 57 TokensMin: 3000 TokensMax: 9430 PrioBias: 0 VaVaVoom: 0 cpu 0: 4632928 32 925413 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: Antwort: Re: [Vserver] PDA Webinterface
On Wednesday 10 August 2005 15:33, Dennis Paulisch wrote: if someone is interessted to help me. Dont histate to contact me. The backend deamon is written in Perl and the Webinterface in PHP. ah, well, i just contacted you about that, because there is the idea of an xmlrpc (or sth similar) daemon... Doener already did sth in this direction iirc ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Auto-Restart after systemcrash / gentoo init-style
On Monday 08 August 2005 23:55, Oliver Welter wrote: Hi List, today my host crashed du to some bad conditions...and I found a very stupid issue I run gentoo (host and guest) with 2.6 kernel and recent tools. The vServers are guarded by a heartbeat installation. Now my hardware crahed, the external server-watchdog rebootet the maschine and the host came up fine, BUT my vServers didnt start. As the servers crahsed during runtime the /var/lib/init.d inside the guests indicated a running system and so the vserver start command was ineffectiv on all vServers. Is there any tool or flag to force the start of a (gentoo) vServer even if the init.d directory is not empty ? Oliver use plain init style, or put a /sbin/depscan.sh after the sysboot section in /sbin/rc ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] libvserver-0.3 is out!
On Monday 01 August 2005 17:33, Jean-Christophe Petit wrote: Hello everyone, if I understand correctly from the README, libvserser is a replacement from util-vserser ? well, libvserver is just a replacement for a part of util-vserver. util-vserver ships a library in lib/ which is used by all/some (?) of the tools in src/ the new libvserver can be used by other applications to access the vserver kernel features What are the differences in terms of stability, compatibility, components, etc between util-vserver-0.30.208 (that I'm using) In fact, do you recommand me to upgrade to libvserser-0.3 ? regards, Benedikt Boehm wrote: Hi folks! I'm pleased to announce libvserver 0.3, the first release considered more or less stable. This release supports the complete API of the Linux-VServer 2.0 kernel patches (libvserver.so) and provides additional helper functions such as capability lists (libvserver-util.so). As of now, the public interface to libvserver.so is not subject of change anymore. An API doc is also available via doxygen, just use the provided Doxyfile or go to http://dev.gentoo.org/~hollow/vserver/libvserver/doc/ for the latest API doc. Have fun! ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver -- Benedikt Böhm Tel: +49 89 18 92 34 34 Creative Group Web: www.croup.de Hedwigstr. 10 E-Mail: [EMAIL PROTECTED] D-80636 München GPG-ID: 0xB5FAF161 -- He who asks a question is a fool for a minute, He who doesn't ask is a fool for a lifetime. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver startup problem
On Monday 11 July 2005 14:10, Benedikt Boehm wrote: On Monday 11 July 2005 12:59, Bastian Boday wrote: hello, I followed this Howto http://gentoo.home.xnull.de/doc/en/vshandbook/ OS : gentoo util-vserver: 0.30.207 vserver-sources : 2.0_rc6 my error: --- [EMAIL PROTECTED]:~ # vserver gentoo-template start No command given; use '--help' for more information. An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script () 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-template' - -- - Thank you for your answers Please do NOT use this handbook! it's not in any way official, up-to-date or correct... ... and also removed from the location mentioned above ... The current vserver howto can be found at http://www.gentoo.org/doc/en/vserver-howto.xml ___ 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] Kconfig doc patch
On Thursday 07 July 2005 20:55, Christian Aichinger wrote: Hi, I've written a patch that adds some more documentation to the vserver kernel config options. I hope it makes the effect of these options a bit clearer for people. CONFIG_VSERVER_HARDCPU stuff is taken from the wiki (and was the reason I wrote this patch in the first place), and is thusly licensed under the FDL. Just in case someone cares. Patch is attatched. Cheers, Christian Aichinger Look at http://vserver.13thfloor.at/Experimental/FOR-2.0/delta-kconfig-clean01.diff ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Announcing libvserver-0.1
What is it? === This is a clean implementation of the Linux-VServer 2.0 API using a library which handles all vserver syscalls and provides a interface usable in other applications such as the tools provided with libvserver. The tools directory contains the most basic implementation of the syscall commands in user space. High-level programs such as the vserver command of util-vserver can use these tools to access the VServer API. What's wrong with libvserver from util-vserver? === Short version: I guess the main issue is that nobody can read enricos code well enough to fix/change it? Long version: The current alpha util-vserver package contains lots of obsoleted legacy code and also contains huge wrapper functions to provide access to all previous versions of the VServer API though making it quite hard to fix bugs or add new features in an adequate timeframe. What can i do to help? == Currently all syscalls are implemented in the library though very rough for now. Additionally some tools already contain basic implementations of the library such as vcontext, vnamespace, vsched and vsignal. So you see there's still a lot of work to do... If you'd like to participate in libvservers development feel free to contact me (Hollow) using IRC (irc.oftc.net#vserver) or [EMAIL PROTECTED] You can download version 0.1 at http://dev.gentoo.org/~hollow/vserver/libvserver/ ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: Re: CAP_SYS_ADMIN, how unsecure it is within vserver
On Monday 06 June 2005 17:33, Martin Honermeyer wrote: Am Montag 06 Juni 2005 16:56 schrieb Herbert Poetzl: On Mon, Jun 06, 2005 at 03:58:07PM +0200, Martin Honermeyer wrote: Thanks Herbert! I am using the 1.9.5 developer patches. I've just looked at the table in the Release FAQ. Am I right I have to upgrade my kernel to 2.0RCx in order to have VROOT support? Is it already in implemented in RC3? check in the kernel config (grep VROOT .config) There is no VROOT option.. I am using vserver-sources-1.9.5 in Gentoo. I just searched through the patches made in the ebuild. It doesn't contain any VROOT changes. As I think it contains the vanilla vserver patch, I suppose 1.9.5 doesn't contain VROOT patches at all? Martin Latest vserver-sources i have installed is 2.0_pre1 and it has a VROOT option... ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Gentoo Build fails
On Tuesday 26 April 2005 22:25, Oliver Welter wrote: Hi Folks, I tried to update my Gentoo System and my util-vserver fail to compile The systm was running finde for about 8 weeks, yesterday I started a world update and the util-vserver ebuild fialed. Any Ideas ?? Oliver Could you please post the output of `emerge info`? -- He who asks a question is a fool for a minute, He who doesn't ask is a fool for a lifetime. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Starting vserver kills my X session
On Tuesday 26 April 2005 02:41, Michal Ludvig wrote: Hi all, I observe a strange behaviour with SL92/x86 (SuSE Linux 9.2) vserver running on SL92/amd64 host with 2.6.11.5-vs1.95 and util-vserver 0.30.204 (linked with dietlibc 0.28). When starting up the vserver in 'sysv' mode, everything works just fine except that I can't reboot it from inside of the vserver. Reboot fails with: ~# reboot init: timeout opening/writing control channel /dev/initctl So I changed the init method to 'plain' and did 'vserver popelka start'. The host came up in the background, but immediately my keyboard in X (xorg-x11-6.8.1/amd64) died I can confirm this, the plain init style causes exact the same error, and it doesn't matter where the vserver wa started, i tried, Konsole, the Terminal on Alt+F1, a screen session, ssh session.. the keyboard always died. and load came up to 1.00 because the 'X' process ended up eating all the CPU time. Everything else worked - I could use the mouse to exit X and logged in again and it worked fine until I did reboot from inside of the vserver. Now it succeeded, but as soon as the host was about to come up after reboot the keyboard died again. Has anyone else seen this behaviour? I suspect the SuSE init or one of the initscripts run *something* that breaks X/keyboard. N.b. from text console it works with no problems. No success until now finding out why it dies... Is there anyting I should try to avoid this? Or is there any way to allow reboot from inside of the vserver without having 'init' process running? Thanks! Michal Ludvig ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Execute ps for a selected vServer from outside
On Thursday 21 April 2005 12:44, Oliver Welter wrote: Hi Folks, is there anyway to show the processlist (ps ax) of a certain vServer from the MAIN context ? I tried vnamespace -e qmail ps ax but this executes ps in the MAIN Server. zeus ~ # vserver gentoo exec ps ax PID TTY STAT TIME COMMAND 1 ?S 0:00 init [3] 23410 ?Ss 0:00 /usr/sbin/syslog-ng 4021 pts/5R+ 0:00 ps ax related question: What is the best wy to get a list of the names of all running contexts ? zeus ~ # vserver-stat CTX PROCVSZRSS userTIME sysTIMEUPTIME NAME 0 99 1.2G 155.5K 13h08m26 1h42m18 3d32h04 root server 3253 2 3.2M 3280m00s76 0m01s00 1d45h45 gentoo Oliver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Experimental new features for Gentoo users
Hi all, i have just commited the sys-apps/baselayout ebuild, with a highly optimized version of baselayout for vserver, along with a vserver profile (in /usr/portage/profiles/vserver) adapted to needs for the baselayout and vserver in general. At the moment only glibc depends on sys-apps/baselayout instead of virtual/baselayout, so there are blocks, but this should be sorted out soon. So I encourage everone to test and report problems directly to me or bugzie I'm also working on a VServer Handbook for Gentoo users. You can look at the current version at http://gentoo.home.xnull.de/doc/en/vshandbook/ There are still many party empty, and the above mentioned changes are not documented yet. Any help is welcome Bene ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Experimental new features for Gentoo users
On Wednesday 20 April 2005 21:46, Benedikt Boehm wrote: Hi all, i have just commited the sys-apps/baselayout ebuild, with a highly this should be sys-apps/baselayout-vserver of course... optimized version of baselayout for vserver, along with a vserver profile (in /usr/portage/profiles/vserver) adapted to needs for the baselayout and vserver in general. At the moment only glibc depends on sys-apps/baselayout instead of virtual/baselayout, so there are blocks, but this should be sorted out soon. So I encourage everone to test and report problems directly to me or bugzie I'm also working on a VServer Handbook for Gentoo users. You can look at the current version at http://gentoo.home.xnull.de/doc/en/vshandbook/ There are still many party empty, and the above mentioned changes are not documented yet. Any help is welcome 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
Re: [Vserver] NGnet for vserver 1.9.5 ?
On Friday 01 April 2005 13:51, Bert De Vuyst wrote: Hello, Did enyone get NGnet running on vserver 1.9.5? Best regards, http://distfiles.gentoo.org/distfiles/vspatches-1.9.5-00.tar.bz2 contains ngnet 9.4 against 1.9.5 Bert. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver -- He who asks a question is a fool for a minute, He who doesn't ask is a fool for a lifetime. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] NGnet for vserver 1.9.5 ?
On Friday 01 April 2005 17:37, Herbert Poetzl wrote: On Fri, Apr 01, 2005 at 03:16:40PM +0200, Benedikt Boehm wrote: On Friday 01 April 2005 13:51, Bert De Vuyst wrote: Hello, Did enyone get NGnet running on vserver 1.9.5? Best regards, http://distfiles.gentoo.org/distfiles/vspatches-1.9.5-00.tar.bz2 contains ngnet 9.4 against 1.9.5 interesting! who did the forward port? /me TIA, Herbert Bert. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver -- He who asks a question is a fool for a minute, He who doesn't ask is a fool for a lifetime. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver -- He who asks a question is a fool for a minute, He who doesn't ask is a fool for a lifetime. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Fwd: Re: [mglug] Aapache mod_ssl + vhosts
Hi all, Just FYI. util-vserver seems not compile on amd64 Bene -- Forwarded Message -- Subject: Re: [mglug] Aapache mod_ssl + vhosts Date: Tuesday 25 January 2005 13:43 From: Michael Hayder [EMAIL PROTECTED] To: [EMAIL PROTECTED] P.S: Dein vserver-util Dings compiliert nicht auf ner amd64 Kiste. make all-recursive make[1]: Entering directory `/usr/src/util-vserver-0.30.196' Making all in . make[2]: Entering directory `/usr/src/util-vserver-0.30.196' /bin/sh ./libtool --mode=link --tag=CC diet gcc -g -O2 -std=c99 -Wall -pedantic -W -o vserver-start/vserver.start.bin -static vserver-start/main.o vserver-start/mount.o vserver-start/defaulttty.o vserver-start/scriptlets.o vserver-start/undo.o vserver-start/vshelper.o vserver-start/interface.o vserver-start/interface-add.o vserver-start/interface-read.o vserver-start/interface-remove.o vserver-start/interface-print.o vserver-start/configuration.o vserver-start/configuration-init.o lib/libvserver.la lib_internal/libinternal.a libensc_vector.a diet gcc -g -O2 -std=c99 -Wall -pedantic -W -o vserver-start/vserver.start.bin vserver-start/main.o vserver-start/mount.o vserver-start/defaulttty.o vserver-start/scriptlets.o vserver-start/undo.o vserver-start/vshelper.o vserver-start/interface.o vserver-start/interface-add.o vserver-start/interface-read.o vserver-start/interface-remove.o vserver-start/interface-print.o vserver-start/configuration.o vserver-start/configuration-init.o lib/.libs/libvserver.a lib_internal/libinternal.a libensc_vector.a vserver-start/undo.o(.text+0x100): In function `Undo_addTask': vserver-start/undo.c:85: warning: warning: your code still has assertions enabled! vserver-start/main.o(.text+0x5cf): In function `main': ensc_wrappers/wrappers-stdlib.hc:46: warning: setenv calls malloc. Avoid it in small programs. vserver-start/main.o(.text+0x56a): In function `main': ensc_wrappers/wrappers-unistd.hc:207: undefined reference to `nice' collect2: ld returned 1 exit status make[2]: *** [vserver-start/vserver.start.bin] Error 1 make[2]: Leaving directory `/usr/src/util-vserver-0.30.196' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/util-vserver-0.30.196' make: *** [all] Error 2 gentoo64 util-vserver-0.30.196 # Kernel: 2.6.3-gentoo-r2 pgpXVa090zRUU.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vserver instead of chroot
On Tuesday 18 January 2005 12:21, Lars E. D. Jensen wrote: Is that possible with vserver? Can't you use rbash as shell (restricted shell). Then your users can't get out of their home dir. Don't know if it's easy to break though. [EMAIL PROTECTED] ~ $ rbash [EMAIL PROTECTED] ~ $ cd public_html/ rbash: cd: restricted [EMAIL PROTECTED] ~ $ bash [EMAIL PROTECTED] ~ $ cd public_html/ [EMAIL PROTECTED] public_html $ so... i don't think it's safe... -- Benedikt Boehm dev.gentoo.org/~hollow/ [EMAIL PROTECTED] GPG-ID: 0xB5FAF161 If it moves, compile it. -- Gentoo pgpkRuQZtUXl0.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] VServer patches now in Gentoo Portage
On Friday 14 January 2005 13:20, Benedikt Böhm wrote: Hi all, I just added vserver-sources to gentoo portage cvs: [...] Bene and this is my correct gentoo email address :) -- Benedikt Boehm dev.gentoo.org/~hollow/ [EMAIL PROTECTED] GPG-ID: 0xB5FAF161 If it moves, compile it. -- Gentoo pgp2Tfvk6OnA7.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver