1127779273 Q * lonewolff Ping timeout: 480 seconds 1127779465 J * lonewolff ~lonewolff@host86-128-128-38.range86-128.btcentralplus.com 1127780055 Q * lonewolff Quit: leaving 1127780173 J * lonewolff ~lonewolff@host86-128-128-38.range86-128.btcentralplus.com 1127780545 Q * douglas Quit: [BX] Reserve your copy of BitchX-1.0c19 for the PalmPilot today! 1127780567 J * douglas ~douglas@douglas.user.oftc.net 1127780597 M * douglas anyone alive? got a question regards to creating redhat images on a debian host machine 1127781387 M * mnemoc revenger_: run vprocunhide on init 1127781418 M * revenger_ mnemoc: already solved that problem thanks 1127781426 M * revenger_ another issue is the network now.. 1127781430 M * mnemoc sorry for being late :\ 1127781444 M * revenger_ better than never :-) 1127781501 M * revenger_ http://rafb.net/paste/results/emdtTb33.html 1127781507 M * revenger_ any idea why it doesn't start up the network? 1127781649 Q * litage Ping timeout: 480 seconds 1127781917 N * Bertl_oO Bertl 1127781930 M * Bertl revenger_: any reason why you thing it doesn't? 1127781989 M * Bertl *think 1127782022 M * revenger_ Bertl: morning, well just noticed I have to set up the interface in the host environment.. 1127782030 M * revenger_ isn't it possible to set it up directly in the vserver? 1127782047 M * Bertl the tools do set it up for you ... 1127782061 M * revenger_ which tools? 1127782067 M * Bertl (util-vserver) your config looks also fine ... 1127782072 M * revenger_ it wasn't setup automatically 1127782078 M * Bertl it was ... 1127782093 M * revenger_ no I had to run ifconfig eth0:1 192.168.11.205 to get it work 1127782097 N * micah_ micah 1127782107 M * Bertl no, you had to run 'ip addr ls' to see it :) 1127782135 M * Bertl ifconfig is obsolete since a few years, it was replaced by iproute2 ... 1127782152 M * Bertl ifconfig only shows a subset of the linux networking ... 1127782160 M * revenger_ i remember iproute2 yes.. 1127782168 M * revenger_ though I'm used to use the old tools 1127782211 M * Bertl if you want an alias (which you can see with ifconfig too), just add a file called 'name' with '1' in it (for example) 1127782228 M * Bertl (or 'hansi' or 'whatever' :) 1127782247 M * Bertl douglas: the question? 1127782278 M * revenger_ no problem I just want to know why what where :) 1127782300 M * revenger_ didn't even try to access the net from the vserver because I thought it won't work anyway without having an interface up 1127782330 M * Bertl yeah, I know, distros are lazy ... 1127782342 M * Bertl (eventually they'll catch up and remove ifconfig :) 1127782372 M * revenger_ vserver works fine :-) good work! 1127782403 J * litage ~nick@203.201.96.107 1127782469 M * Bertl revenger_: thanks! glad you like it! 1127782495 M * revenger_ you already told me a longer time about it .. just thought I should give it a try now :-) 1127782673 M * Bertl okay, off to bed now ... have a good whatever everyone, cya tomorrow! 1127782677 N * Bertl Bertl_zZ 1127782698 M * revenger_ night! and thanks 1127782811 Q * yarihm Quit: Leaving 1127783114 M * revenger_ hmm if I ssh to the vserver it logs me into the host server .. any way to change that? 1127783887 J * stefani ~stefani@c-24-19-46-211.hsd1.wa.comcast.net 1127783904 M * revenger_ gotit :) 1127783910 P * stefani 1127784969 Q * Aiken Quit: Leaving 1127785197 Q * Johnsie Remote host closed the connection 1127785297 J * Johnsie ~john@acs-24-154-53-217.zoominternet.net 1127785327 Q * Johnsie Remote host closed the connection 1127785691 J * Johnsie ~john@acs-24-154-53-217.zoominternet.net 1127786471 Q * litage Read error: Connection reset by peer 1127786694 J * Aiken ~james@tooax8-100.dialup.optusnet.com.au 1127786818 M * douglas arch 1127786819 M * douglas err 1127786820 M * douglas argh 1127787432 M * douglas what is /vservers/.pkg used for? 1127787529 J * litage ~nick@203.201.97.178 1127789860 Q * Aiken Quit: Leaving 1127790030 J * Aiken ~james@tooax8-100.dialup.optusnet.com.au 1127790402 J * menomc ~amery@200.75.27.31 1127790483 J * Aiken_ ~james@tooax7-072.dialup.optusnet.com.au 1127790511 Q * mnemoc Ping timeout: 480 seconds 1127790511 N * menomc mnemoc 1127790718 M * douglas what is /vservers/.pkg used for? 1127790871 Q * Aiken Ping timeout: 480 seconds 1127792105 Q * Aiken_ Quit: Leaving 1127792254 J * Aiken ~james@tooax7-072.dialup.optusnet.com.au 1127792264 Q * Aiken Remote host closed the connection 1127792269 J * Aiken ~james@tooax7-072.dialup.optusnet.com.au 1127792842 J * sebi_ ~sebi@C4a37.c.strato-dslnet.de 1127792948 Q * sebi Ping timeout: 480 seconds 1127794295 J * dddd44 ~dhb55@tor-irc.dnsbl.oftc.net 1127796229 Q * dddd44 Ping timeout: 480 seconds 1127797503 J * dddd44 ~dhb55@tor-irc.dnsbl.oftc.net 1127802004 Q * brc Ping timeout: 480 seconds 1127803539 J * andrew_ ~andrew@tnlug.linux.org.tw 1127803571 Q * andrew_ Quit: 1127803780 J * andrew_ ~andrew@tnlug.linux.org.tw 1127806416 Q * RoadRunnR Quit: Leaving 1127806905 J * brc bruce@200141127119.user.veloxzone.com.br 1127807159 Q * Johnsie Quit: G'bye! 1127807269 J * Johnsie ~john@acs-24-154-53-217.zoominternet.net 1127807871 J * prae ~prae@gut75-1-81-57-27-189.fbx.proxad.net 1127808764 J * TheSeer ~theseer@border.office.salesemotion.net 1127808866 J * Aiken_ ~james@tooax6-130.dialup.optusnet.com.au 1127809133 Q * Aiken Ping timeout: 480 seconds 1127812248 Q * AndrewLee Remote host closed the connection 1127813285 M * litage when creating a vserver, if you want its FQDN to be box.sub.domain.com, would you use "--hostname box.sub.domain.com" when creating the vserver? 1127813380 M * Aiken_ if I remember correctly I do 1127813543 M * Greek0 I think --hostname enables the hostname virtualisation for the guest (i.e. /proc/sys/kernel/hostname). which is probably what you want in that case 1127815391 Q * Aiken_ Ping timeout: 480 seconds 1127816176 N * Bertl_zZ Bertl 1127816181 M * Bertl morning folks! 1127816460 Q * Hunger Remote host closed the connection 1127817104 Q * dddd44 Remote host closed the connection 1127818316 J * Blissex pcg@82-69-39-138.dsl.in-addr.zen.co.uk 1127818579 M * lonewolff morning Blissex 1127818582 M * lonewolff Bertl: even 1127818616 M * lonewolff damn tab completion and my not paying attention lol 1127818632 M * Bertl lol 1127818655 A * lonewolff is ordering hardware for a new server :) 1127818905 M * Bertl a linux-vserver server? 1127818964 M * lonewolff yup 1127819004 M * lonewolff and this ones going into a production environment unlike my testbox here :) 1127819075 M * lonewolff i settled on a machine with 2.4ghz pentium 4 cpu, 2GB pc2700 DDR ram, booting from 1GB CF card with 250gb SATA drive mounted at /vservers and a 20gb swap drive 1127819139 M * Bertl interesting ... 1127819227 J * oliwel ~chatzilla@ldvpc07.ldv.e-technik.tu-muenchen.de 1127819257 M * oliwel hello everybody 1127819265 M * oliwel Bertl - are you in ? 1127819301 M * Bertl hey oliwel! yes, I am :) 1127819306 M * oliwel great :) 1127819315 M * oliwel Thats a lot easier than email :) 1127819346 M * oliwel BTW: I have two working solutions for the mount problem :) I will put them on the wiki asap 1127819402 M * oliwel Bertl: I have some questions regarding the udev thing... 1127819427 M * Bertl yep? 1127819435 M * oliwel So my host is running 2.6.13-vs2.1.0-pre5-gentoo wit udev support - teh root partition is read-only mounted and "writing" to the /dev/log device works fine 1127819477 M * Bertl check with 'cat /proc/mounts' what is mounted on /dev 1127819479 M * oliwel Do you think it will solve my problem to install udev inside the vserver guests ? Wont this give access to all kernel ressources to the vserver ? 1127819507 M * Bertl udev inside a guest will not work at all 1127819515 M * oliwel sysfs /sys sysfs rw 0 0 1127819517 M * oliwel udev /dev tmpfs rw,nosuid 0 0 1127819518 M * oliwel devpts /dev/pts devpts rw 0 0 1127819533 M * Bertl see, so the host mounts a tmpfs on /dev 1127819548 M * oliwel hmm, yes...you are right 1127819550 M * Bertl the same thing you can do inside a guest ... 1127819581 M * oliwel but than I must create the needed nodes on the tempfs everytime ? 1127819647 M * Bertl same as udev does ... 1127819677 M * oliwel But you said udev will not work inside the vserver ? 1127819678 M * Bertl (could probably become a startup option) 1127819702 M * Bertl oliwel: yes, udev is based on kernel hotplug event, which will not happen inside a guest 1127819732 M * oliwel i dont need hotplug event - I am happy with log, null and random 1127819756 M * oliwel But in this case a simple boot script will do the job better I think... 1127819792 M * Bertl definitely 1127819803 M * oliwel So. Suggested Solution: add tmpfs in dev to vserver's fstab and write a startscript that creates the appropriate dev-nodes on the tmpfs ? 1127819835 M * lonewolff Bertl: can i ask what was 'interesting' about my chosen setup? (just before i finally commit to buying the kit) 1127820184 M * Bertl lonewolff: sure, I wondered about 'flash disk' and single? SATA drive + swap drive ... 1127820296 M * Bertl probably I'd also consider an x86_64 or dual x86 (SMP) for a server ... 1127820337 M * lonewolff Bertl: the stuff im running is not very hardware intensive, just uses lots of drivespace, so i went for one large sata drive 1127820378 M * Bertl yeah, thought it would probably be realted to your field of use ... 1127820429 J * Mystine ~meerzill@fire.webotek.com 1127820430 M * Bertl lonewolff: may I ask for what purpose the host is intended? 1127820436 M * Bertl welcome Mystine! 1127820453 M * lonewolff Bertl: just running my own website and a couple of sites for some freinds 1127820466 M * lonewolff (well about 20 sites) 1127820467 M * Mystine hi everybody 1127820494 M * lonewolff some of whom would like root on the server 1127820620 M * Mystine Im using vserver 2.0 and have some problems with /proc and chrooting. Inside virtual machine i see the host machine's /proc so chroot really not working :) howto chroot it and get own /proc with the virtuak machine 1127820626 J * yarihm ~yarihm@84-74-16-246.dclient.hispeed.ch 1127820646 M * yarihm hey everyone 1127820889 M * yarihm i've a problem i don't know exactly where it comes from. i googled a bit and found a IRClog with Bertl investigating the problem. here is the is the paste: http://paste.lisp.org/display/12009 1127820892 M * Mystine should i apply gcsec patch to get this work? im really confused now 1127820911 M * yarihm basically it is this "ifspec: ioctl(SIOCGIFNETMASK): Cannot assign requested address"-problem i guess 1127821113 M * oliwel Mystine: You have to enable "proc security" in the kernel config 1127821171 M * oliwel to get a usable proc inside the vserver just mount it there - run vprocunhide on bootup, this will make the procfs accessible by the guests in a secure wasy 1127821242 M * Mystine oliwel, thank i recompiling my kernel right now. I got util-vserver 0.30.208-2 but im missing vprocunhide, where to get that one? 1127821272 M * oliwel vprocunhide comes with the tools normally 1127821279 M * Bertl Mystine: you see the hosts proc? 1127821295 M * Mystine yeah 1127821301 M * Bertl Mystine: what kernel do you use? 1127821307 M * Mystine 2.6.12 1127821328 M * Bertl http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh 1127821345 M * Bertl (could you give this a spin (on the host) and upload the output to pastebin.com?) 1127821364 M * Bertl Mystine: your distro is? 1127821403 M * Bertl hey yarihm! it's a configuration/setp issue 1127821441 M * Bertl yarihm: you already have that IP assigned, and try to reassign it (for the guest) which fails 1127821543 M * Bertl lonewolff: what about a dual opteron and a two disk SATA setup, mirroring or striping? 1127821563 M * lonewolff Bertl: very expensive 1127821581 M * Bertl really? 1127821608 M * lonewolff well the current setup should come in at around 350gbp 1127821621 M * Bertl this is in euro? 1127821635 M * lonewolff well im in uk 1127821663 M * Bertl let me rephrase this: could you convert it to EUR for me :) 1127821665 Q * hvd Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org 1127821680 M * lonewolff Bertl: one mo, 1127821712 M * lonewolff about 500euro 1127821753 M * Bertl hmm, yes that's pretty cheap ... what about the swap disk? 1127821786 M * Bertl lonewolff: that's a P4 with HT? 1127821793 M * lonewolff yeah 1127821802 M * Bertl well, good enough ... 1127821832 M * lonewolff im going to wait untill the case arrives, and see how much i can squash in, in terms of drives 1127821849 M * lonewolff 2 SATA drives would be nice 1127821967 M * Mystine Bertl, i will do that. im using debian sarge in host machine 1127822019 M * Bertl Mystine: I thought so .. but the kernel is from sid/etch, or vanilla? 1127822050 M * yarihm Bertl: well ... ummm ... i don't see that alias here? 1127822056 M * yarihm Bertl: lemme test again 1127822058 M * Mystine Bertl, http://pastebin.com/375608 1127822074 M * Mystine Bertl, kernel is original 2.6.12 from kernel.org and patch from sf.net 1127822100 M * Bertl yeah, looks good ... 1127822134 M * Bertl and you say you see the host's proc inside a guest? 1127822141 M * Mystine yeah 1127822156 M * Bertl could you do the following test for me and upload the output again? 1127822161 M * Mystine and get lot's of error about mounting when shutdown the server.. 1127822174 M * Bertl chcontext --xid 42 ls -la /proc/ 1127822180 M * yarihm Bertl: i just did: vserver build stop ; ifconfig (and check whether i already have the alias) ; vserver build start ... and i still get the error? 1127822186 M * Mystine Bertl, of course 1127822201 M * Bertl yarihm: forget about ifconfig, check with 'ip addr ls' 1127822233 M * Mystine Bertl, http://pastebin.com/375614 1127822249 M * Bertl tx 1127822273 M * yarihm Bertl: aha ... well, there we have the bastard :) 1127822287 M * Bertl Mystine: does this look like what you see inside your guest? 1127822294 M * yarihm with completely wrong netmask ... heck 1127822296 M * Mystine wait second, i will check 1127822330 M * Bertl yarihm: probably a bug in the tools, no? *G* 1127822335 M * Mystine Bertl, looks 100% same 1127822350 M * Mystine not 100% but very much 1127822358 M * Bertl okay, then it is the proc security ... let me check your kernel config ... 1127822359 M * yarihm Bertl: that somewhat explains quite some problems i had ... 1127822383 M * Mystine Bertl, i think the problem is now the kernel config, do you want me to upload that to pastebin? 1127822400 M * Bertl yeah, won't hurt ... 1127822403 Q * ag- Ping timeout: 480 seconds 1127822473 M * Bertl Mystine: but I see you have the proper CONFIG_VSERVER_PROC_SECURE enabled ... 1127822502 M * Mystine Bertl, yes i check that also 1127822504 M * Mystine http://pastebin.com/375618 1127822518 M * Bertl Mystine: so I assume something disabled the procfs security, maybe some script did run setattr -R --~hide /proc or so? 1127822566 M * Mystine Bertl, that very much possbile, i try something like that before :/ howto to reverse that? 1127822577 M * Bertl ah, okay, that explains ... 1127822592 M * Bertl so let me recapture ... 1127822608 M * Bertl you started _without_ the vprocunhide script (missing in debian, I think) 1127822619 M * Mystine yes 1127822623 M * Bertl then you had issues with /proc security, and you did the setattr 1127822629 M * Mystine yes 1127822642 M * Bertl after that, everything is visible (not quite unexpected) 1127822683 M * Bertl okay, np, the solution as oliwel already stated is, get proper tools, 0.30.208 (there are debian packages for that) 1127822709 M * Bertl after that, make sure that vprocunhide (runlevel script in /etc/init.d) is configured for startup 1127822731 M * Bertl then simply reboot the host ... the proc security will be configured automatically ... 1127822747 M * Mystine ok, i will try to find that package 1127822755 M * Bertl alternativel, you can also configure it by hand 1127822761 M * Bertl +y 1127822784 M * Bertl the setattr command allows you to change the attributes for each entry 1127822839 M * Bertl http://linux-vserver.org/Proc-Security (for details) 1127822884 M * Bertl yarihm: so I assume they are now solved and everything works fine again? 1127822917 M * Mystine Bertl, where i can find util-vserver 0.30.208 ? 1127822920 M * yarihm Bertl: umm ... not yet, but i'll start bothering again when i'm sure about the issue. i just saw the error occur even when ip addr ls didn't show anything wrong 1127822932 M * yarihm so i'm rebooting the machine 1127822994 M * Bertl Mystine: the debian packages, I don't know, I guess they are in testing or unstable, the main site is at: http://www.13thfloor.at/vserver/s_rel26/v2.0/ 1127823005 M * Mystine ok, thanks very much 1127823014 M * Bertl you're welcome! 1127823039 M * Bertl if you compile the tools by hand, make sure to apply the fix, and configure them for 'debian' pathes 1127823312 M * yarihm Bertl: ... are the debian vserver-tools known to have problems? i think i installed those from unstable ... 1127823422 M * Bertl well, I remember that they don't work on most archs (because of missing patches/bad compiles) but this might be already fixed 1127823465 M * Bertl micah probably knows more about that ... 1127823474 M * yarihm Bertl: see, i want to use the newer style configs ... but the script that easily sets up vservers on debian uses old style. it has the advantage that it customizes the things inside the vserver so not all cronjobs run at default-times, unneeded packages are removed etc. etc.. the documentation on riseup.net (vserver-website pointing to that) doesn't do that, so i'd need to do it by hand. thus i thought i want to be smart and do the follow 1127823474 M * yarihm ing: i create the vservers with the script and then convert the configs to the newer style ... 1127823517 M * yarihm but: i can not create these vservers either way it seems ... either it assigns the wrong netmask or no address at all with old-sytle-configs. maybe i really should use the stable tools ... lemme test that 1127823553 M * Bertl yeah, the debian-vserver tools or what it is called, are severely broken, don#t use them 1127823581 M * yarihm gnnnn ... and now i can't downgrade them, (scheisse) 1127823624 M * oliwel Bertl: I am running into problems woth the tmpfs / dev thing :( 1127823645 M * Bertl oliwel: what kind of issues? 1127823647 M * oliwel I have now an entry for creating a dev by tmpfs in fstab - this works 1127823666 M * Bertl good! 1127823677 M * oliwel When I enter the started host I have some tty and null in the dev, on startup it complains about missing console/random/log 1127823707 M * oliwel I added a "mknod" for these to "pre-start" - but it seems that at pre-start execution time the dev-fs is not mounted 1127823722 M * oliwel refering to teh flowser page pre-start is run after mouting... 1127823764 M * Bertl yes, but you might lack the proper permissions 1127823766 Q * douglas Ping timeout: 480 seconds 1127823830 M * Bertl let me ask a few questions, regarding the deeper purpose of the guest / is readonly ... 1127823840 M * oliwel No - definitly - I get an error that the node already exists what means that the old /dev is still visible 1127823848 M * oliwel ok 1127823856 M * Bertl a) what are you trying to accomplish? 1127823868 M * Bertl b) what if the guest wants to change something? 1127823883 M * Bertl c) how many guests do use the same 'ro' / 1127823916 M * oliwel c) some - (atm four) - so this is the main reson why no writing is granted to the disk 1127823966 M * oliwel b) guest are webservers, all under my control, so changes are done safely by me, the variable data (webtree, los, etc) are on rw partitions taht are mounted inside the guests per server 1127824025 M * oliwel I have a drbd disk containing all individual data for a guest that is combined by bind mounting with the common root 1127824039 M * Bertl yeah, guess we already know that :) 1127824041 J * VooDooMaster VooDoo@topas.informatik.uni-ulm.de 1127824044 M * oliwel *gg* 1127824050 M * Bertl welcome VooDooMaster! 1127824059 M * Bertl oliwel: okay, why not do the following: 1127824101 M * Bertl set aside some space for each guest's dev (on your harddisk) maybe an lvm partition or so 1127824118 J * ag- ag@caladan.roxor.cx 1127824147 M * Bertl --bind (ro) mount the 'shared' rootfs on all guest roots 1127824171 M * Bertl --bind (rw) mount the guest's dev (one for each) 1127824232 M * Bertl or, even simpler, make the /dev/log a symlink to /var/log 1127824249 M * Bertl to be precise something like /var/log/log 1127824396 Q * VooDooMaster Read error: Connection reset by peer 1127824452 M * oliwel Bertl: I thought about the link vor dev/log - but whats about random and null ? 1127824458 J * VooDooMaster VooDoo@topas.informatik.uni-ulm.de 1127824481 M * Bertl oliwel: they should be fine (with the ro /dev no?) 1127824500 M * Bertl I mean, util-vserver does create them inside the guest, IIRC 1127824600 M * oliwel No, there is only tty0 to 10 and null... 1127824612 M * oliwel but this should be enough :) 1127824635 M * Bertl ahem, no, that is wrong! 1127824653 M * Bertl (probably something the debian tools screwed up) 1127824659 M * oliwel ?? 1127824766 M * Bertl http://pastebin.com/375634 1127824781 M * Bertl this is how a dev inside a guest should look like (after built with util-vserver) 1127824830 M * Bertl tty0 - tty10 are a bad idea and are _not_ required ... the rest makes sense and is secure 1127824928 M * oliwel STOP: 1127824942 M * oliwel tty0 to 10 are not on the disk but created on the tmpfs 1127825017 M * oliwel I have tty's in all my vservers.... 1127825029 M * oliwel might be an issue of the gentoo stuff 1127825065 M * Bertl well, as I said, not reuqired and not secure ... 1127825081 M * Bertl Hollow: ping! 1127825107 M * oliwel ok :) 1127825133 M * oliwel will I actually need some of the other devices ? 1127825145 J * VooDooMaster_ VooDoo@topas.informatik.uni-ulm.de 1127825155 P * VooDooMaster 1127825169 M * oliwel So means, if I make log a symlink to writable var partition and mount the dev ro this should be sufficient 1127825178 N * VooDooMaster_ VooDooMaster 1127825183 M * oliwel Seems that the tmpfs is not really doing... 1127825185 M * Bertl IIRC, null and zero are required by some scripts, ptmx and pts is used for pty handling (ssh and such), urandom is preferred over random 1127825223 M * Bertl oliwel: the tmpfs will do nicely if configured properly (which might be non obvious) 1127825254 M * oliwel Bertl: so back to the inital question - why cant I create the nodes from pre-start :) 1127825287 M * Bertl most likely because you try to create them in the wrong location :) 1127825334 M * oliwel hmm, you might tell me that I must prefix /dev with the abslute path :) 1127825336 M * Bertl oliwel: are you interested in improving the pre/post stop/start weirdness by adding some info/wiki page? 1127825357 M * oliwel Bertl: Yes I will do this as soon I have finished the issue :) 1127825374 M * Bertl ah, heard that soo many times, promise? 1127825379 M * oliwel After my holidays (leaving for egypt on thursday for a week) 1127825391 M * oliwel for sure :) 1127825415 M * Bertl k, then let me walk you through some tests, to evaluate the script contexts, yes? 1127825417 M * oliwel I dont have a clue on start/stop but will add a solution for the drbd problems 1127825431 M * oliwel wait - just a simple question - It think I got it 1127825454 M * oliwel pre-start runs in the namespace of the new server, but the / is still the root of the host ? Isnt it ? 1127825462 M * Bertl yep 1127825476 M * oliwel so this might be the problem . I wrote "mknod /dev/null" 1127825478 M * Bertl (well, I guess so) 1127825508 M * oliwel Is there a Makro for accessing the base path of teh vserver ? Id like to put the tempfs script in defaults... 1127825543 M * oliwel brb 1127825553 M * Bertl that's what I'd like to find out for everyone ... with your help :) 1127825627 M * Bertl oliwel: so ready to start? 1127825862 M * oliwel yep 1127825885 M * Bertl okay, first let's consider the various states and scripts ... 1127825911 M * Bertl we have: 1127825922 M * Bertl - prepre-start 1127825930 M * Bertl - pre-start 1127825934 M * Bertl - post-start 1127825943 M * Bertl - pre-stop 1127825952 M * Bertl - post-stop 1127825960 M * Bertl - postpost-stop 1127825979 M * Bertl (all of them could be single files or dirs) 1127825995 M * Bertl we also know that there are: 1127826002 M * Bertl - the namespace 1127826007 M * Bertl - the context 1127826017 M * Bertl - the chroot/rbind 1127826029 M * Bertl okay? 1127826045 M * oliwel hmm, basically yes 1127826078 M * Bertl good, now you already got the 0.30.208 tools? 1127826170 M * oliwel mom 1127826204 M * oliwel 0.30.208 yep 1127826229 M * Bertl okay, we are interested in: 1127826233 M * Bertl - the current context state 1127826249 M * Bertl - the namespace info/state 1127826259 M * Bertl - the environment 1127826264 M * Bertl - the script arguments ... 1127826273 M * Bertl (did I miss anything?) 1127826371 M * yarihm Bertl: what exactly are you listing? information that should be available to the scripts? 1127826392 M * yarihm (because then i'd like to add network-information such as ip-addresses) 1127826395 M * Bertl currently I'm making a list what we are interested in ... 1127826415 M * Bertl the next step is to have a script to output the information 1127826429 M * oliwel Basically: The basedirectory of the server 1127826432 M * Bertl (I'm pretty sure we'll find interesting oportunities there) 1127826474 M * oliwel So Bertl: If you tell me where I cann find all this information I will be glad to write some lines to put the on the sconsole :) 1127826508 M * Bertl yeah, that's the idea ... but I'd suggest we write it to some file ... give me a minute to get a first test script 1127826520 M * Bertl (we can refine that as we go) 1127826560 J * douglas ~douglas@c-67-160-174-224.hsd1.or.comcast.net 1127826560 P * douglas 1127826577 J * douglas ~douglas@douglas.user.oftc.net 1127826590 M * douglas anyone alive? 1127826606 M * Mystine yeps 1127826644 M * douglas what is /vservers/.pkg used for? 1127826847 M * Bertl oliwel: http://pastebin.com/375652 1127826893 M * Bertl douglas: I'd assume for external package management 1127826932 M * douglas how do you use it? 1127826974 M * Bertl well, util-vserver will use it .. (assumption) 1127827012 M * Bertl i.e. I assume if you have external package management (packages outside the guest root) 1127827025 M * Bertl then util-vserver will put the package databases there .. no? 1127827043 M * douglas I dunno thats what I'm asking, theres not much documention on it 1127827192 M * Bertl well, I don't know either, the source and Enrico (the author) probably knows ... but it would be my educated guess ... 1127827208 M * Bertl douglas: you can try with externalized package management and see what gets written there, no? 1127827245 M * lonewolff if i have an image of a linux install, what stuff should i strip out to use it as a guest vserver? i assume /boot should go, but is there anything else? 1127827280 M * Bertl /dev should be replaced, everything else is optional 1127827304 M * Bertl of course /boot and /usr/src/linux* as well as /lib/modules/* does not make much sense 1127827308 M * entroposcope boot scripts can/should be modified... 1127827312 M * entroposcope heh, what Bertl said 1127827329 M * Bertl a cleanup of hardware related init scripts is advised, hardware services can go ... 1127827377 M * Bertl oliwel: does the script work as prepre-start script? 1127827391 M * oliwel Bertl: sorry was urgently out of office last 10 mins 1127827401 M * oliwel gimme time to read the log 1127827413 M * lonewolff so, get rid of any init scripts which relate to hardware? 1127827425 M * Bertl oliwel: np! 1127827450 M * Bertl lonewolff: yes the script and related tools (if you want to cleanup) 1127827455 M * douglas bertl is that something you would use .pkg for? so init scripts are not overridden by updates? 1127827576 M * Bertl douglas: no, I think the .pkg just contains the package databases (rpm, dpkg, yum ...) for the guests 1127827601 M * entroposcope anyone using autofs/automount in a guest vserver? 1127827651 M * Bertl I'd assume (unverified) this would not work inside :) 1127827667 M * douglas ahh 1127827669 A * entroposcope just tried bind mount of hosts's automounted directory inside a guest, and it causes a NULL pointer dereference in the kernel 1127827672 J * dos000 ~dos000@CPE00119572fd49-CM00137186e53a.cpe.net.cable.rogers.com 1127827675 M * dos000 howdy 1127827682 M * douglas so the rpmdb would be placed in .pkg? 1127827701 M * entroposcope whereas autofs itself in the vserver is getting a permission denied error (according to strace) 1127827708 M * Bertl entroposcope: ah, interesting ... could you provide the oops/trace? (and the testme.sh) output? 1127827711 M * oliwel BertL. after some fixes it worked, output is on 1127827718 M * entroposcope yes, and yes. 1127827726 M * Bertl entroposcope: TIA! 1127827727 M * oliwel http://pastebin.com/375669 1127827775 M * dos000 should i be using kernel 2.6.12.5 or get the latest 2.6.13.2 1127827801 M * Bertl oliwel: great, let's try with the other scripts too ... 1127827816 M * entroposcope http://pastebin.com/375672 is the OOPs 1127827824 M * Mystine how can i set mirror where "vserver build.." loads the packages? 1127827840 M * oliwel Bertl: Same Script as pre/post ? 1127827849 M * Bertl dos000: there is a 2.0.1-pre for 2.6.13.2 ... 1127827869 M * dos000 Bertl, its stable enough ? 1127827871 M * Bertl Mystine: depends on the isntall method, did you have a look at the alpha util-vserver page yet? 1127827891 M * Bertl dos000: the 2.0.1-pre2 is 2.0 plus some fixes :) 1127827897 M * Mystine yeah, and i have compiled the util-vserver with sources and still missing the vprocunhide so im kind on stuck over here :)) 1127827909 M * Bertl oliwel: yes, please for all six scripts we listed above 1127827917 M * Mystine but my work day is ending so have to check more today 1127827925 M * Mystine tpday = tomorrow :) 1127827955 M * Bertl Mystine: did you do 'make install' and the requested 'make distro-install'? 1127827967 M * Mystine i did make install but not make disto-install 1127827978 M * Bertl dos000: or did you mean the mainstream kernel? 1127827986 M * Mystine everything is there but the vprocunhide is missing, i really don't understant 1127828001 M * Bertl Mystine: 'make disto-install' install it :) 1127828012 A * Mystine hit him self and told rtfm!!! 1127828017 M * Mystine :) 1127828036 M * Mystine but going home now, see u later guys 1127828067 M * dos000 Bertl, i just cant get a hold of your pre stuff ! 1127828103 M * dos000 Bertl, i meant the main stream kernel from kernel.org .. this is getting confusing 1127828139 A * Bertl is now confused ... 1127828254 M * dos000 Bertl, i am trying to get a relatively stable vserver setup. according to http://linux-vserver.org/Step-by-Step+Guide+2.6 it syas i should ask if there is a more stable kernel/vserver to use 1127828288 M * Bertl ah, good advice ... 1127828309 M * Bertl http://vserver.13thfloor.at/Experimental/patch-2.6.13.2-vs2.0.1-pre2.diff.bz2 1127828325 M * Bertl (this is the latest stable prerelease) 1127828345 M * Bertl i.e. it fixes some issues over 2.0 1127828355 M * Bertl (and it applies cleanly to 2.6.13.2) 1127828373 M * dos000 cool ! 1127828387 M * oliwel Bertl: here is the complete startup sequence 1127828389 M * oliwel http://www.oliwel.de/startup 1127828434 M * Hollow heya 1127828434 M * Greek0 Bertl: uh. pre2? is that the old pre2, just forward-ported? i.e. is it older then rc2 (aside from the forward-port)? 1127828459 M * Hollow Bertl: we just backported the timeout fix to stable baselayout, so it should be fixed, just fyi... 1127828463 M * oliwel And the stop Seq http://www.oliwel.de/stop 1127828479 M * Bertl Greek0: no, I just messed up the extension ... should be rc2 1127828487 M * Bertl Greek0: thanks for pointing it out to me ... 1127828513 M * Greek0 ah ;) 1127828521 Q * Mystine Ping timeout: 480 seconds 1127828550 M * dos000 Bertl, for some reason that pre2 is not available from the web as a link .. or i missed it 1127828602 M * Bertl Greek0: ah, no, you managed to confuse me :) 1127828609 A * dos000 downloading 2.6.13.2 now 1127828617 M * Bertl so let's take a step back now and clarify ... 1127828658 M * Bertl - latest stable is 1127828666 M * Bertl - 1.2.10 for 2.4 1127828672 M * Bertl - 2.0 for 2.6 1127828684 M * Bertl - latest stable pre/rc 1127828701 M * Bertl - 1.2.11-rc1 for 2.4 1127828706 M * Greek0 ah, ic 1127828709 M * Bertl - 2.0.1-pre2 for 2.6 1127828716 M * Bertl - latest developemnt is 1127828730 M * Bertl - 2.1.0-rc2 1127828733 M * Hollow Bertl: seems like we're readay for combined gentoo stages for vserver/openvz ;) 1127828747 M * Greek0 I'm pretty sure I have some slight form of dyslexia 1127828750 M * Bertl Hollow: sounds good, what about the proc mount? 1127828763 M * Hollow kir wrote a small util to be included into baselayout-vserver :) 1127828778 M * Hollow so we don't need the whole mount dep 1127828785 M * Bertl aha, cool! 1127828790 M * Hollow yeah :) 1127828809 M * Bertl regarding /dev (did you read up the backlog?) 1127828893 M * Hollow me? no 1127828927 M * Bertl Hollow: please check a few lines before Hollow: ping! 1127828944 M * oliwel Bertl: seen my posts ? 1127828944 M * dos000 Bertl, wouldnt it make sense to add the menu option when doing menuconfig in the step by step guide ? 1127828958 M * dos000 instead of CONFIG_KERNEL_HZ ... 1127828991 M * oliwel Hollow: Quick summary of the problem: The gentoo init creates tty0 to 10 on the vservers guest whcih is considere insecure by Bertl 1127828992 M * Hollow Bertl: we create secure device nodes in our stages... 1127829010 M * Hollow oliwel: no, it doesn't 1127829016 M * Hollow at least baselayout-vserver does not 1127829021 M * Hollow dunno about normal baselayout 1127829059 M * oliwel hollow: I am using a quite old (~6 month) baselayout - might be this is the problem 1127829068 M * Hollow definitely 1127829093 M * oliwel Hollow: ok, as soon as I solved the other problems here I will upgrade my servers :) 1127829102 M * Hollow you should use at least baselayout-vserver-1.11.13 1127829105 M * Hollow +use 1127829106 M * entroposcope http://pastebin.com/375686 is the excerpt of the failed automount mount inside the guest 1127829133 M * Bertl oliwel: yeah, go them, thanks, we need a minor modification ... 1127829139 M * oliwel Hollow: are current baselayout working with a read.only partition for /dev ? 1127829159 M * oliwel BertL: Hurry up have to leave at 4 1127829160 M * Hollow baselayout-vserver doesn't touch /dev in any way.. 1127829166 M * oliwel Hollow: ok 1127829191 M * Bertl oliwel: could you upload the current script? 1127829193 M * oliwel Hollow: we tried using a tmpfs for dev inside the guest put had several problems - 1127829205 M * oliwel bertl : erghh you meand the modifications ? 1127829214 M * Hollow oliwel: you'll probably go best with static device nodes (those created by the stage tarball) 1127829236 M * Bertl oliwel: and do the following on the host: 'rm -f /tmp/test; mkdir /tmp/test; touch /tmp/test/host' 1127829285 M * oliwel Bertl: The only modifiaction was the renaming of the logfile because $9 resolved to /usr/sbin/somewaht 1127829335 M * Bertl did I write $9? 1127829376 M * Bertl if $0 wasn't suited, try with $1 1127829420 M * Bertl oliwel: ah, and please add it for stop too 1127829435 M * oliwel www.oliwel.de/start-31122.log www.oliwel.de/stop-32369.log 1127829453 M * oliwel No yopu wrote 0 - was my typo 1127829455 M * yarihm Bertl: do you happen to know whether vserver build takes care of device-nodes in /etc/vservers/.default/vdirbase//dev ? 1127829469 M * Bertl oliwel: ah, looks good! 1127829539 M * oliwel Bertl: I dont have any idea what you are looking for... 1127829602 M * Bertl oliwel: it give a lot of information regarding when, where and how the scripts are called ... I'll evaluate this and write down something ... 1127829634 M * Bertl yarihm: yes, it is supposed to do so 1127829752 M * oliwel Bertl: ok - withthe dev fs I will upgrade the servers so we can inspect the problem better -. but this has time till after my holidays ;) 1127829768 M * Bertl okay, have a nice vaccation! 1127829780 M * douglas bertl, I'm trying to get redhat working ontop of my debian host machine 1127829785 M * douglas and I'm having serious issues :( 1127829874 M * Bertl what kind of issues? 1127829935 M * douglas well 1127829940 M * douglas I can't build em for one 1127829959 M * douglas I installed apt4rpm which I believe is what you use to install redhat? 1127830045 M * oliwel bertl: thx for the help (as always fast and usable) 1127830047 Q * oliwel Quit: Chatzilla 0.9.68.5 [SUSE 1.0.6-4.3/20050715] 1127830053 M * douglas pkgcfgbase-dir '/vservers/.pkg' does not exist or is invalid 1127830053 M * douglas rm -rf 1127830071 M * douglas do I need to put something in there? or simply mkdir /vservers/.pkg world? 1127830086 M * Bertl did you isntall the tools properly? 1127830107 M * Bertl (IIRC, util-vserver should create all necessary dirs/links) 1127830115 M * douglas pretty sure 1127830129 M * Bertl which ones, and how did you install them= 1127830132 M * Bertl s/=/? 1127830133 M * dos000 anyone tell me where the vserver stuff can be configured on the menuconfig ? 1127830140 M * douglas this is the same box you help me install member when I was having all those problems with using /etc/vservers ? 1127830155 M * douglas dos000 yea its under linux-Vserver 1127830161 M * douglas right on the front page 1127830172 M * Bertl dos000: there are a few options which are distributed over the kernel sections too, but most stuff is under linux-vserver 1127830199 M * douglas and it was cuz my friend installed deb packages first? 1127830200 M * Bertl vroot (devices), memory split (general) 1127830205 M * douglas you remember that bertl? 1127830221 M * Bertl douglas: ah, I remember now ... 1127830224 M * douglas yea 1127830225 M * douglas same box 1127830231 M * douglas so I assume I installed it properly 1127830236 M * douglas mount: mount point /etc/rpm does not exist 1127830252 M * douglas thats what I get when I did a mkdir /vservers/.pkg 1127830267 M * Bertl did you install rpm? 1127830310 M * Bertl (should have created a dir called /etc/rpm) 1127830322 M * douglas vsroot-lab1:/usr/src# which rpm 1127830322 M * douglas /usr/bin/rpm 1127830324 M * douglas yup 1127830347 M * douglas nope no dir /etc/rpm 1127830371 M * Bertl if there is no /etc/rpm, just make a dir there or symlink it to the */rpm config directory of your package 1127830403 M * Bertl (might be /usr/etc/rpm or /usr/local/etc/rpm, debian is very strange in this regard) 1127830468 M * douglas perhaps ?/usr/include/rpm 1127830474 Q * yarihm Ping timeout: 480 seconds 1127830481 M * douglas what is it looking for? 1127830491 M * douglas in /usr/include/rpm theres a bunch of .h files and stuff 1127830527 M * Bertl it usually contains a 'macros' file, not much more 1127830543 M * douglas whats the file called? maybe I can do a search for it 1127830545 M * Bertl (I've seen it empty on some distros) 1127830561 M * Bertl the file is called 'macros' :) 1127830581 M * douglas hmm ?/usr/lib/rpm/macros 1127830592 M * Bertl see, I said debian is strange :) 1127830601 M * entroposcope it looks like i need to add some flags to /etc/vservers/[vserver]/ccapabilities if I want to enable mount in a guest 1127830609 M * Bertl just do 'ln -s /usr/lib/rpm /etc/rpm 1127830615 M * entroposcope mount didn't seem to be sufficient 1127830636 M * Bertl entroposcope: you can't do that, flags go to 'flags' but you might add some ccaps there :) 1127830638 M * entroposcope er, adding the mount flag 1127830646 M * entroposcope oh 1127830647 M * entroposcope huh 1127830653 A * entroposcope got that from the flower page 1127830661 M * entroposcope and when I put in a bad flag, it certainly complained 1127830674 M * entroposcope so I should use /etc/vservers/[vserver]/flags ? 1127830680 M * Bertl yeah, the difference is 'flag' vs. 'bcap' vs 'ccap' :) 1127830707 M * Bertl the flags go into 'flags' the ccaps into ccapabilities ... 1127830714 M * entroposcope right 1127830722 M * entroposcope isn't mount a ccap ? 1127830732 M * douglas error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. 1127830764 M * Bertl douglas: check/search for the rpmrc then) 1127830772 M * douglas ls -al /usr/lib/rpm/rpmrc 1127830772 M * douglas -rw-r--r-- 1 root root 10029 2005-03-21 02:31 /usr/lib/rpm/rpmrc 1127830777 M * douglas umm? 1127830788 M * Bertl maybe it means inside the guest? 1127830801 M * douglas how do I change that? 1127830815 M * douglas yea but thats not right, cuz I haven't installed the guest 1127830819 M * Bertl entroposcope: yes, it's a ccap, not a flag, that's what I tried to say! 1127830820 M * douglas I'm running the build command 1127830839 M * entroposcope bertl 1127830839 M * entroposcope well 1127830850 M * douglas vserver vs3 build -m apt-rpm --force --context 73 --interface eth0:192.168.1.140/24 -- -d rh9 1127830853 M * douglas thats my build command 1127830860 M * entroposcope I added mount to the ccapabilities file, but I'm still getting permission denied inside the guest 1127830875 M * entroposcope so 1127830891 M * entroposcope what do I need to do to allow mounting filesystems withing a guest? 1127830894 M * Bertl entroposcope: a) did you restart the guest, b) what are you trying to mount c) what ccaps did you add? 1127830903 M * entroposcope ccaps added, mount 1127830908 M * entroposcope guest was completely restarted 1127830913 A * entroposcope wants to mount a NFS filesystem 1127830919 M * entroposcope inside the guest 1127830998 M * Bertl NFS requires 'binary_mount' 1127831004 M * entroposcope ah, ok. 1127831014 M * entroposcope only binary mount? 1127831021 M * entroposcope or both mount and binary_mount ? 1127831040 M * Bertl both, but be aware, that this might cause issues when the server times out ... (i.e. DoS scenario) 1127831046 M * douglas hmm I'm still getting that error bertl. 1127831060 M * douglas error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. 1127831060 M * douglas r 1127831064 M * douglas the file exists 1127831068 M * Bertl douglas: you are trying to use apt-rpm have you installed that one too? 1127831080 M * douglas I installed apt4rpm 1127831081 M * entroposcope Bertl, how so? rather, how so any more or less than any other NFS timeout issue? 1127831086 M * douglas isn't that what vserver uses? 1127831090 M * Bertl douglas: and does it work for you? 1127831097 M * douglas what do you mean? 1127831138 M * Bertl entroposcope: well, guest root can mount her remote server, then take the NFS filer down -> your host will hang ... 1127831169 M * Bertl douglas: well, you should make sure that apt-rpm is working on the host ... I didn't manage to get that working on debian last time I tried 1127831213 M * entroposcope why will the host hang if a guest gets a stuck mount? 1127831215 M * Bertl douglas: also, you installed the tools from the source, IIRC 1127831226 M * entroposcope or are you talking about the "standard" NFS timeouts that more or less kill the server 1127831227 M * entroposcope ? 1127831236 M * Bertl entroposcope: because host and guest are the same ... (i.e. the kernel will hang) 1127831242 M * entroposcope if so, that's why I'm trying to get automount working, and use soft mounts 1127831265 M * entroposcope ok, binary_mount and mount capabilities together get me past the permission issue 1127831278 M * entroposcope now I get rootnet/sunrpc/rpc_pipe.c: rpc_lookup_parent failed to mount pseudofilesystem 1127831278 M * entroposcope NFS: cannot create RPC client. 1127831299 M * Bertl is portmap running? 1127831302 M * entroposcope heh 1127831305 M * entroposcope that's what I'm checking 1127831311 M * entroposcope I think portamp in host may be bound to all interfaces 1127831683 M * Bertl entroposcope: hmm, the oops/trace looks interesting .. investigating now if it is vserver related ... 1127831705 M * entroposcope ack, thx 1127831712 M * entroposcope autofs works just fine in the host, fwiw 1127831738 M * entroposcope I could cd into a directory that only existing when the automount worked 1127831745 M * entroposcope ls -l triggered the oops 1127831894 M * dos000 Bertl, care to tell which util-vserver is suited for 2.0.1pre2 patches ? 1127831923 M * dos000 which version i mean 1127831951 M * douglas hmmm 1127831952 M * douglas error: incorrect apt/rpm repository directory. 1127831952 M * douglas current value: /dist 1127831959 M * douglas thats when I run aptate 1127832081 M * brc good morning bertl! 1127832387 M * douglas I think I'm getting pretty close 1127832561 M * dos000 anyone know "TInconsistent kallsyms data ... Try setting CONFIG_KALLSYMS_EXTRA_PASS" means. the kernel compile is borking. 1127832786 M * douglas error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. 1127832790 M * douglas I'm still getting that error 1127832799 M * douglas and I have no idea why 1127833132 M * mnemoc how can i make a pid=1 first process without sending a -s INT on stop? 1127833279 M * brc has anyone compared linux-vserver to xen regarding performance? 1127833300 M * mountie brc: Linux-vserver is native. Xen is not-quite-native. 1127833817 M * brc i am have some problems with linux-vserver 1127833819 M * brc having 1127833824 M * brc limiting memory 1127833828 M * brc everything is getting killed :P 1127833837 M * brc i have a vps on a xen machine 1127833844 M * brc with low ram and i can run lot of stuff 1127834176 M * mnemoc Bertl: do you have a minute? 1127834199 M * mnemoc brc: give it a decent amount of resources 1127834239 M * brc i am giving 256MB of RAM 1127834259 M * brc the average use is at about 46MB, but sometimes it goes above it 1127834260 M * brc with all servers. 1127834263 M * brc that is weird 1127834274 M * brc if process were swapped and not killed, it wuold be perfect. 1127834378 M * mnemoc swapon -a ? 1127834434 M * brc vserver will kill the process when the limit ishitted. 1127834464 M * mnemoc increase the limit 1127834485 M * brc then there is no reason to limit 1127834488 M * brc since everyone will have lots of memory 1127834848 J * stefani ~stefani@superquan.apl.washington.edu 1127835552 M * douglas hmm 1127835558 M * douglas I need a install gensrclist 1127835590 M * Bertl mnemoc: yes ... 1127835680 M * Bertl dos000: 0.30.208 + fix02 is probably the best one 1127835788 M * brc BERTL ! :) 1127835971 M * mnemoc Bertl: i have a problem using runit as fakeinit 1127835993 M * Bertl yeah, what kind of probelm? 1127835998 M * mnemoc Bertl: on stop vserver seems to always send it a kill INT 1127836013 M * mnemoc which is understood by runit as a ctrl-alt-supr 1127836031 M * mnemoc so it tries to reboot and get on limbo 1127836035 M * Bertl which looks fine ... 1127836042 M * mnemoc fine? 1127836045 M * dos000 what is the propper command for people who choose to use --prefix in the configure of vserver-utils. it is complaining it cannot find /vserver which of course does not exist 1127836068 M * Bertl mnemoc: let me put it like this: the ctrl-alt-del is the correct way to shut down the guest, no? 1127836087 M * dos000 i am trying to do "vserver debsarge build -m debootstrap -- -d sarge -m ftp://mirrors.kernel.org/debian/" 1127836091 M * Bertl mnemoc: and once the guest issues the reboot, the last process should be stopped 1127836149 M * mnemoc but init still running 1127836153 M * mnemoc i can enter 1127836158 M * Bertl dos000: this sounds like isntall issue ... when you isntall the tools, they create all proper/configured pathes (see vserver-infi - SYSINFO for pathinfo) 1127836171 M * Bertl mnemoc: what kernel release? 1127836179 M * mnemoc 2.6.11.12 1127836189 M * mnemoc vs2.0-bp1 1127836228 M * Bertl ah, okay, this is missing the reboot_kill flag 1127836251 M * douglas I'm so close bertl I can taste it 1127836252 M * Bertl but I guess you can easily backport this feature ... 1127836266 M * douglas I need to install gensrclist and it's sister programs and I'm set I believe. 1127836275 M * dos000 Bertl, indeed vserver-Rootdir seems totally wrong ... 1127836281 M * Bertl douglas: sounds good, hope you do some posting/wiki page once it works ... 1127836282 M * douglas but I can't stay, I have to go to my french class. 1127836291 M * mnemoc Bertl: for 2.0.1 or 2.6.13? :) 1127836295 M * mnemoc from* 1127836308 M * Bertl mnemoc: actually from 2.1.0 :) 1127836321 M * Bertl (but it is a change which will get into 2.0.1) 1127836374 M * douglas do me a favor if you can, find a tarball that has gensrclist in it. the only stuff I'm seeing is from cncmoin and his package compiles with about 50,000 errors. I've fixed some but I think I'm just gonna give up on his package. I have apt4rpm installed works good, it just needs gensrclist to work properly. 1127836377 M * Bertl dos000: I'd suggest you get the source, make sure you wiped out all previously installed binaries, ./configure them according to your likings, and install them clean ... 1127836391 M * douglas and I can't seen to find the source code for it. 1127836415 M * Bertl douglas: I'll see maybe I'll find something ... 1127836429 M * douglas if you can I think we are set, thats the only errors I'm getting 1127836463 M * douglas -> Bin: /usr/bin/aptate: line 2398: genpkglist: command not found 1127836465 M * dos000 Bertl, i just did that .. not sure why it took /vserver as the vserver-Rootdir. is it a config option that can be cnaged ? 1127836469 M * douglas ok I gotta jet 1127836470 M * douglas l8rz 1127836478 N * douglas dougschool 1127836496 M * brc Bertl: do yo uthink that i might have problems running xen and vserver on the same machine ? 1127836563 M * Bertl not at all, xen and linux-vserver are complementary 1127836569 M * brc ok 1127836573 M * brc cause i am having problems with some of my users 1127836576 M * brc due to memory limitations 1127836581 M * brc proccess gtting killed 1127836585 M * brc well, with almost all of my users 1127836596 M * Bertl probably an unfortunate config then 1127836598 M * brc i have a shell vps with 32MB and i can run lots of things, it swaps stuff 1127836606 M * brc i am giving them 256MB to run hosting 1127836620 M * brc web/mail 1127836622 M * Bertl what about using strict no overcommit? 1127836626 M * brc with 128 it is impossible 1127836631 M * brc what is that ? 1127836654 M * Bertl well, I think your guests mainly suffer from overcommitment issues 1127836676 M * brc What is overcommitment ? 1127836682 M * Bertl i.e. some app requests 1GB memory but just allocates 1kb 1127836701 M * brc what should i do ? 1127836703 M * Bertl the 1G request will succeed, until you want to go above the actual limit 1127836752 M * brc how can i do that ? 1127836753 M * Bertl could you show me the /proc/virtual//limit of a guest where the user has complained (but you haven't taken any action yet) 1127836792 M * brc [root@localhost root]# cat /proc/virtual/23772/limit 1127836793 M * brc PROC: 47 66 -1 0 1127836793 M * brc VM: 84244 99508 -1 0 1127836793 M * brc VML: 0 0 -1 0 1127836793 M * brc RSS: 32533 32768 32768 1641 1127836793 M * brc FILES: 599 791 -1 0 1127836795 M * brc SOCK: 116 130 -1 0 1127836795 M * brc OFD: 469 534 -1 0 1127836831 M * Bertl so the guest actually uses 32k+ pages ... 1127836853 M * Bertl (as you can see, the limit was hit 1641 times) 1127836875 M * brc i see 1127836882 M * brc well, this one is limited to 128MB 1127836888 M * Bertl the question now is, do you want that guest to use more memory? 1127836889 M * brc i started limiting those with 160MB 1127836904 M * Bertl if not, then the kills are the only way, no? 1127836905 M * brc the problme is that process gettig killed, and sometimes importatng stuff dies 1127836916 M * brc i have a guest which is using 60MB right now, and has reached the limit of 160MB 1127836931 M * Bertl ah, okay, the OOM kilelr 1127836941 M * brc i am just worried of the user having important stuff dieing when he is not using even 40% of his limit 1127836943 M * Bertl that is what I mean with no overcommit 1127836949 M * brc most ot eh time 1127836953 M * brc How do i do that ? 1127836964 M * Bertl sec 1127837060 M * Bertl you have a kernel source tree at hand? 1127837068 M * brc yes 1127837071 M * Bertl Documentation/vm/overcommit-accounting 1127837074 M * Bertl Documentation/sysctl/vm.txt 1127837080 M * Bertl Documentation/filesystems/proc.txt 1127837122 Q * prae Quit: Execute Order 69 ! 1127837126 M * brc ok gonna chcek 1127837131 M * brc i would have to recompile the kernel ? 1127837321 M * Bertl no, should be just an option via proc 1127837336 M * Bertl but you have to reboot the machine 1127838715 M * mnemoc Bertl: sorry to ask but, where is 2.1.0-rc2 patchset? :) 1127838745 M * Greek0 vserver.13thfloor.at/Experimental 1127838750 M * mnemoc thanks 1127838821 M * mnemoc no split? 1127838829 M * Bertl no, not yet ... 1127838838 M * mnemoc :( 1127838911 M * Greek0 Bertl: do you want to drop the whole varhz patch actually or only the config option/HZ modifications (and keep the other misc changes around)? 1127838961 M * mnemoc Bertl: any obscure (not obvius) part of 2.1.0-rc2 to backport VXF_REBOOT_KILL ? 1127838973 M * Bertl we'll see, maybe some varhz cleanups will be kept around ... 1127839001 M * Bertl mnemoc: I can probably provide a broken out patch for that tonight ... 1127839029 M * mnemoc 2.0.1-pre3? 1127839034 M * mnemoc or just his delta? 1127839039 M * mnemoc this* 1127839072 M * Bertl we'll see .. I'm trying to get something done the whole day .. but no chance yet ... hopefully the night will be better :) 1127839086 M * mnemoc :) 1127839117 M * Bertl entroposcope: do you ahve the build tree from that kernel including the vmlinux? 1127839288 M * michal hey everybody ! :] 1127839299 M * Bertl hey michal! 1127839327 M * michal Bertl: if you don't mind, could you please give me some hints / links to documentation about using qemu in kernel development process ? it looks like a huge timesaver 1127839377 M * mnemoc qemu is _great_ 1127839395 M * Bertl michal: http://vserver.13thfloor.at/Stuff/QEMU/ 1127839411 M * michal working good on powerbook ? 1127839418 M * Bertl yep 1127839430 M * michal great. /me does to read 1127839474 M * michal nice, howto and plenty of helper files ^^ 1127839476 J * Hunger Hunger.hu@Hunger.hu 1127839482 Q * Blissex Read error: Connection reset by peer 1127839501 M * mnemoc Bertl: text/plain for .sh would be nice :) 1127839513 M * michal heh, yeah 1127839558 M * Bertl only for those who view it, not for those who download the scripts ... 1127839588 M * mnemoc left button - save as :) 1127839646 M * Bertl when I get to moving my apache setup from www.13thfloor to the vserver.13thfloor site, it will have a lot of other features too ... till then, feel free to mirror it :) 1127839690 M * Bertl ad features, try: http://www.13thfloor.at/vserver/s_rel26/v2.0/split-2.6.12.4-vs2.0/30_2.6.12.4_split.diff.hl 1127839722 M * michal nice ^^ 1127839738 M * Bertl (change the .hl to .md5) 1127839742 M * michal what powers it ? 1127839746 M * Bertl or .gz or bz2 if you like 1127839769 M * mnemoc :) 1127839791 M * Bertl michal: linux, linux-vserver and apache/php :) 1127839810 M * michal hehe, probably ;) 1127839866 M * mnemoc lighttpd/php :) 1127839988 M * Bertl what's that? 1127840037 M * Bertl michal: added a qemu.txt with an up-to-date example ... 1127840050 M * Bertl (except for the qemu, which is at 7.1 or 7.2 now) 1127840132 M * michal thx ! 1127840169 M * mnemoc lighttpd is a light, robust and secure httpd server with great fastcgi support, which can be used to run php apps 1127840370 M * michal hm, how could i compile i386 kernel on powerbook ? 1127840386 M * Bertl the 'normal' cross compiling ... 1127840388 M * michal qemu target i386 on ppc won't be fast but well, enough for kernel testing 1127840398 M * michal ok, i have no idea about normal ;p 1127840412 M * Bertl make ARCH=i386 CROSS_COMPILE=i386-linux- 1127840427 M * Bertl you need to have binutils and gcc for i386 1127840438 M * Bertl (labeled i386-linux-gcc and as and such) 1127840463 M * Bertl michal: http://vserver.13thfloor.at/Stuff/Cross/ 1127840480 M * michal you have everything there ? ;p 1127840492 M * michal 13thfloor, the enless source of knowledge ;p 1127840495 M * Bertl well, let's say, most of it :) 1127840515 M * Bertl all the stuff I usually answer with: "been there, done that :)" 1127840563 M * michal yeah, and you save on answering all this questions again and again :] 1127840573 M * michal nice, even spec files there ^^ 1127840578 M * michal (fedora core 4 here) 1127840581 M * Bertl gcc/binutils are tested and working for most kernel archs (currently comping 22 as cross compile tests) 1127840589 M * Bertl *compiling 1127840748 J * lilo ~lilo@lilo.usercloak.oftc.net 1127840774 M * entroposcope Bertl, yes, I have the build tree 1127840862 M * Bertl okay, could you do the following for me: 1127840993 M * Bertl entroposcope: 'addr2line -e vmlinux c01203c1 c01557fb c016d932 1127841059 M * entroposcope sure, one sec. 1127841066 M * entroposcope kernel/sched.c:5133 1127841066 M * entroposcope mm/slab.c:2093 1127841066 M * entroposcope fs/file_table.c:77 1127841181 M * Bertl okay, that clarifies it, it is not linux-vserver related ... 1127841200 M * michal Bertl: could you reveal me location of package... 1127841201 M * michal glibc-static-devel is needed by qemu-0.6.1-2mdk.ppc 1127841215 M * michal is it static compilled glibc ? 1127841220 M * Bertl entroposcope: but I assume using namespaces is required to trigger it (not sure about that one) 1127841273 M * entroposcope ack, Bertl 1127841275 M * Bertl michal: better get the qemu rpm for your distro ... there should be one available IIRC 1127841306 M * Bertl michal: mandr* splits up the libraries into static and dynamic 1127841322 M * michal i see 1127841338 M * michal lol @ it, look here 1127841338 M * Bertl michal: or simply compile the source by hand (get a recent 0.7.x version) 1127841340 M * michal Server: Apache-AdvancedExtranetServer/1.3.28 (Mandrake Linux/3.4.92mdk) PHP/4.3.3 1127841347 M * michal it is one of fedora servers ;p 1127841364 M * michal not that redhat is running mandrake ;p 1127841393 M * Bertl hehe, okay, I'm off now ... back later tonight ... 1127841397 M * michal cya 1127841414 N * Bertl Bertl_oO 1127841450 M * brc Bertl_oO: Ok bertl, thanks a lot, i am reading that stuff :) 1127843011 M * dougschool hey 1127843013 M * dougschool bertl 1127843052 N * dougschool douglas 1127843303 J * yarihm ~yarihm@84-74-18-28.dclient.hispeed.ch 1127843658 J * prae ~benjamin@sherpadown.net 1127844115 J * liquid_ ~liquid@p54976F62.dip.t-dialin.net 1127844556 Q * liquid Ping timeout: 480 seconds 1127845733 J * Dark_Princess ~1034B640E@bzq-249-36.red.bezeqint.net 1127845754 M * Dark_Princess HELLO 1127845761 M * Dark_Princess hello everybody 1127845791 P * Dark_Princess 1127846701 Q * Hollow Read error: Connection reset by peer 1127846734 J * Hollow ~hollow@home.xnull.de 1127847446 Q * [MUPPETS]Gonzo Ping timeout: 480 seconds 1127847857 J * dddd44 ~dhb55@tor-irc.dnsbl.oftc.net 1127847880 J * sallandxs ~eddy@84.246.3.140 1127848343 J * [MUPPETS]Gonzo gonzo@langweiligneutral.deswahnsinns.de 1127848484 Q * any Remote host closed the connection 1127848560 Q * dddd44 Quit: Leaving 1127848623 J * dddd44 dhb55@218.111.178.26 1127848630 Q * dddd44 Read error: Connection reset by peer 1127848641 J * dddd44 dhb55@218.111.178.26 1127848678 Q * dddd44 Quit: 1127848686 J * dddd44 dhb55@218.111.178.26 1127849287 Q * dos000 Quit: Leaving 1127850056 Q * revenger_ Ping timeout: 480 seconds 1127850365 J * newz2000 ~newz2000@12-226-91-204.client.mchsi.com 1127850428 Q * newz2000 Quit: 1127850602 J * jayeola ~jayeola@host86-130-206-19.range86-130.btcentralplus.com 1127850819 Q * Johnsie Quit: G'bye! 1127850858 P * sallandxs 1127851514 J * Johnsie ~john@acs-24-154-53-217.zoominternet.net 1127851631 Q * prae Quit: Pwet 1127851641 Q * brc Quit: [BX] I see your BitchX is as big as mine! 1127851674 J * brc bruce@200141127119.user.veloxzone.com.br 1127852006 J * revenger ~revenger@p54B02396.dip0.t-ipconnect.de 1127852511 Q * Johnsie Quit: G'bye! 1127852703 J * Johnsie ~john@acs-24-154-53-217.zoominternet.net 1127853584 J * Aiken ~james@tooax8-041.dialup.optusnet.com.au 1127856020 P * stefani I'm Parting (the water) 1127856303 Q * Johnsie Quit: G'bye! 1127857773 J * Johnsie ~john@acs-24-154-53-217.zoominternet.net 1127858300 Q * Johnsie Quit: G'bye! 1127859226 Q * Greek0 Ping timeout: 480 seconds 1127859277 N * Bertl_oO Bertl 1127859282 M * Bertl evening folks! 1127859301 M * mnemoc hi Bertl 1127859313 M * mnemoc did you thing finaly work? 1127859359 M * Bertl huh? :) 1127859415 M * mnemoc the one that haven't work the whole day, and you hope works by night 1127859516 M * Bertl ah, lol! 1127859554 M * mnemoc *g* 1127860046 N * revenger mrec 1127860240 Q * maharaja_ Quit: leaving 1127860499 M * Bertl mnemoc: looks like you're lucky ... 1127860766 Q * SiD3WiNDR Ping timeout: 480 seconds 1127860847 J * SiD3WiNDR luser@bastard-operator.from-hell.be 1127860879 Q * maharaja Remote host closed the connection 1127863000 M * litage when creating a vserver, if you want its FQDN to be box.sub.domain.com, would you use "--hostname box.sub.domain.com" when creating the vserver? 1127863024 M * Bertl yep 1127863038 M * Bertl the domain stuff is only for yellow pages (nis) 1127863054 M * litage it's not also for dns? 1127863084 M * Bertl if dns is done via yp/nis+ yes :) 1127863104 M * Bertl (I'm talking about --domain not --hostname) 1127863116 M * douglas bertl 1127863116 M * litage oh, didn't know there a --domain option 1127863134 M * litage so i'd be better off creating the vserver with "--hostname box --domain sub.domain.com"? 1127863145 M * douglas mind if I message you, I got to ask you a couple of questions 1127863153 M * litage or "--hostname box.sub.domain.com --domain sub.domain.com"? 1127863161 M * Bertl litage: not, on the contrary, that would only set your nis+ domain 1127863170 M * litage ah 1127863174 M * Bertl (and I doubt you want to use nis+) 1127863180 M * litage aye 1127863187 M * Bertl douglas ! 1127863203 M * litage is it possible to change a vserver's hostname after it's being created? 1127863343 M * litage s/being/been/ 1127863380 M * Bertl yes, with vuname, you can set it from outside 1127863382 M * daniel_hozac /etc/vservers//uts/nodename 1127863391 M * Bertl and the guest can also change it from inside ... 1127863407 M * Bertl (so in total 3 options :) 1127863437 M * Bertl daniel_hozac: thanks, it seems I'm really confused today ... 1127863474 M * Bertl litage: so do not listen to me, listen to daniel ... 1127863532 M * daniel_hozac hehe. 1127863730 M * litage so the following would fully change a vserver's hostname?: vserver OLDNAME stop; mv /etc/vservers/OLDNAME/ /etc/vservers/NEWNAME/; mv /etc/vservers/.defaults/vdirbase/OLDNAME/ /etc/vservers/.defaults/vdirbase/NEWNAME/; echo NEWNAME >/etc/vservers/.defaults/vdirbase/NEWNAME/etc/hostname 1127863856 M * Bertl ahem, why would you move the dir around? 1127863875 M * Bertl those are two different changes and one seems wrong 1127863881 M * Aiken vi /etc/vservers/test/uts/nodename ? 1127863892 M * Bertl yeah, that's the host name change :) 1127863900 M * Bertl or in your terms: 1127863913 M * litage oops forgot about that one. then also "echo NEWNAME >/etc/vservers/NEWNAME/uts/nodename" 1127863942 M * litage i would move the dir around so that vserver NEWNAME isn't located at /etc/vservers/OLDNAME/ 1127863949 M * Bertl vserver NAME stop; echo NEWNAME >/etc/vservers/NAME/uts/nodename; vserver NAME start 1127863961 M * Bertl (this will change the hostname) 1127863986 M * Bertl the dir renaming/moving probably requires to fix up some links inside too 1127864000 M * Bertl (so I would not do that unless necessary) 1127864024 M * litage Bertl: moving the dir(s) around might break things? 1127864026 M * Bertl also what.a.fine.domain.com isn't a too good guest dir name :) 1127864057 M * Bertl litage: yes, there are links inside (symbolic) which might still use the old name 1127864063 M * litage ah 1127864073 M * litage Bertl: why is "box.sub.domain.com" not a good guest dir name? 1127864194 M * Bertl well, that was just my opinion, because it is hard to type ... 1127864272 M * litage ah 1127864273 M * litage :) 1127864277 M * litage thanks for your help guys 1127864284 M * Bertl you're welcome! 1127864306 J * shep ~Shep@disgruntledgoat.plus.com 1127864312 M * Bertl ah, welcome shep! 1127864325 M * shep Hi - sorry - IRCwrangling... 1127864356 M * Bertl short introduction: shep is testing linux-vserver on gentoo 1127864373 M * Bertl and after some reboot issue fixing we did the following: 1127864392 M * Bertl - added the ctrl-alt-del line to inittab (shep) 1127864407 M * Bertl - added the VXF_REBOOT_KILL flag to the flags 1127864418 M * Bertl and now the guest seems to kill itself on startup 1127864423 M * Bertl http://pastebin.com/376334 1127864440 M * Bertl shep: did I miss something? 1127864462 M * shep Nope - that's about it... 1127864477 M * Bertl okay, this is 2.1.0-rc2 IIRC 1127864508 M * Bertl shep: you have debugging compiled in so let's enable a few debug flags 1127864537 M * shep compiling - compile bombed with inconsistens symbols - doing a clean make on the kernel 1127864570 M * Bertl okay, in this case, please add a line to the soruce 1127864584 M * Bertl kernel/vserver/helper.c, line 107 1127864591 M * Bertl right before: 1127864595 M * Bertl if (vx_info_flags(vxi, VXF_REBOOT_KILL, 0)) { 1127864599 M * Bertl add: 1127864645 M * Bertl printk("vs_reboot %p[#%d],%d\n", vxi, vxi->vx_id, cmd); 1127864656 M * shep Done. 1127864673 M * Bertl k, let me know when the kernel is ready/booted ... 1127864698 M * shep CC kernel/vserver/helper.o 1127864698 M * shep kernel/vserver/helper.c: In function `vs_reboot': 1127864698 M * shep kernel/vserver/helper.c:110: warning: implicit declaration of function `vx_info_kill' 1127864698 M * shep kernel/vserver/helper.c:105: warning: `ret' might be used uninitialized in this function 1127864713 M * shep Just a warning... 1127864726 M * Bertl stop 1127864733 M * shep 'K 1127864744 M * Bertl ah, right, gcc 4.x, yes? 1127864756 M * shep gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8) 1127864782 M * Bertl interesting, well, gcc is right, but it doesn't matter 1127864788 M * Bertl let's continue .. 1127864796 M * shep OK - restarting build 1127865235 A * shep twiddles thumbs... 1127865264 A * Bertl breaks down patches ... 1127865314 M * mnemoc rehi 1127865338 M * mnemoc Bertl: am i lucky? 1127865366 M * Bertl yes, I guess you are ... slowly getting there, i.e. you should have a patch within an hour (at most) 1127865376 M * mnemoc :D 1127865549 M * shep Hmmm... 1127865552 M * shep SYSMAP .tmp_System.map 1127865552 M * shep Inconsistent kallsyms data 1127865552 M * shep Try setting CONFIG_KALLSYMS_EXTRA_PASS 1127865552 M * shep make: *** [vmlinux] Error 1