1137197581 P * undefined 1137199815 J * undefined ~undefined@adsl-68-93-109-94.dsl.rcsntx.swbell.net 1137201862 N * Bertl_oO Bertl 1137201868 M * Bertl evening folks! 1137202032 M * webdrv07 evenin 1137202128 M * Bertl hey webdrv07! what's up? 1137202302 M * webdrv07 hey bertl, new to the irc channel.. thought I'd check it out since we started using vserver .. nice work there bro 1137202835 M * Bertl thanks! 1137202913 M * webdrv07 no worries and don't worry.. i don't have any newb questions for you today :) 1137202938 M * Bertl well, that's usually no problem for me ... 1137203057 M * Bertl so ... you? (I assume a company?) started using linux-vserver .. for what exactly, if I may ask? 1137203109 M * webdrv07 for hosting shell accounts and private servers .. yes, company, nz based 1137203147 M * Bertl ah, great, and is everything (something?) working as expected? 1137203212 M * webdrv07 it works just fine, although I have made some changes to the networking side of things.. to get around the loopback issues .. other than than, its great 1137203242 M * Bertl hmm, care to elaborate on that? 1137203315 M * webdrv07 oh nothing drastically changed, I just set the vservers to use a differnt subnet for loopback. to get around 127.0.0.1 - they use 127.0.1.x , seems to work ok for us 1137203450 M * webdrv07 by our second vserver, i expect we'll see ngnet :) i look forward to it. We use predominantly debian, 1137203660 M * Bertl yeah, might happen sooner than folks expect ... 1137203758 M * webdrv07 hehe, cool, keeping up with 2.6.x is nightmare though right? 1137203790 M * Bertl it's not very hard, if you do it in small steps ... 1137203837 M * Bertl of course, sometimes there are bigger changes and sometimes something just breaks and we have to fix it ... 1137203842 M * webdrv07 i guess.. so many changes version to version right now .. should settle down.. maybe sometime soon 1137203895 M * Bertl yes, well, actually I love the change, but yes you're right, something more stable for production is missing ... but the 'sucker' tree is a good start to provide that 1137203947 M * webdrv07 do you develop the patches yourself bertl. or do you have contributors help? 1137203968 M * Bertl atm, it's 99% me and 1% contributions ... 1137204002 M * Bertl but I'm sure that will change over time ... 1137204029 M * webdrv07 keep up the good work there.. its appreciated. Nice chatting, got to go pick up my daughter , catch up again sometime maybe 1137204043 M * Bertl webdrv07: well, if you are happy, you might consider adding yourself/your company to the Provider Page .. I usually refer folks looking for VPS solutions there ... 1137204063 M * webdrv07 yes indeed 1137204069 M * Bertl aside from that, thanks for the chat, and get going ... :) 1137204080 M * webdrv07 we'll chat again.. about adding the company stuff to that page 1137204081 M * webdrv07 cheers 1137204253 M * Bertl FaUl: ah, ok, np! 1137209957 Q * webdrv07 Read error: Connection reset by peer 1137210154 J * tudenbart ~willi@xdsl-213-196-253-25.netcologne.de 1137210585 Q * dothebart Ping timeout: 481 seconds 1137211962 J * menomc ~amery@200.75.27.111 1137212071 Q * mnemoc Ping timeout: 480 seconds 1137212071 N * menomc mnemoc 1137217485 P * undefined 1137219306 M * Bertl night everybody ... cya tomorrow! 1137219315 N * Bertl Bertl_zZ 1137223665 J * Smutje ~Smutje@xdsl-84-44-187-224.netcologne.de 1137223772 Q * Smutje_ Ping timeout: 480 seconds 1137230638 Q * lonewolff Remote host closed the connection 1137232098 J * meandtheshell ~markus@85-125-228-196.dynamic.xdsl-line.inode.at 1137233906 J * coocoon ~coocoon@p54A07667.dip.t-dialin.net 1137233924 M * coocoon good morning 1137235377 J * NikDaPhreak ~NikDaPhre@193.24.241.34 1137235380 M * NikDaPhreak hi all 1137235414 J * cattivik ~andrea@yz.dsl.tizianodinca.com 1137235501 M * cattivik hi all 1137235515 M * cattivik any news about the logo contest? 1137235756 M * cattivik bye bye 1137235759 Q * cattivik Quit: Ciao! 1137236532 Q * meandtheshell Remote host closed the connection 1137236653 J * tso ~tso@rev.193.226.232.31.euroweb.hu 1137236655 M * tso hi all 1137237387 Q * skycode_ Remote host closed the connection 1137237912 J * Viper0482 ~Viper0482@p54974F51.dip.t-dialin.net 1137237999 J * meandtheshell ~markus@85-124-11-203.dynamic.xdsl-line.inode.at 1137238663 M * SiD3WiNDR how can I "leak through" some proc entries to a vserver? 1137238818 Q * Viper0482 Remote host closed the connection 1137239072 J * phreak`` ~phreak``@styx.xnull.de 1137239236 Q * meandtheshell Remote host closed the connection 1137239529 J * meandtheshell ~markus@85-124-13-150.dynamic.xdsl-line.inode.at 1137240228 J * bonbons ~bonbons@83.222.39.249 1137241001 Q * Roey Ping timeout: 480 seconds 1137242554 M * SiD3WiNDR Jan 14 14:32:31 khalid kernel: BUG: soft lockup detected on CPU#0! 1137242567 M * SiD3WiNDR Linux khalid 2.6.15-vs2.0.1.2 #1 SMP Sun Jan 8 22:31:30 CET 2006 i686 GNU/Linux 1137242579 A * SiD3WiNDR recalls someone else having the same? 1137244151 Q * shedi Quit: Leaving 1137244828 Q * yang2 Remote host closed the connection 1137244829 J * yang2 yang@sparc64.be 1137244878 J * Viper0482 ~Viper0482@p54974F51.dip.t-dialin.net 1137245425 Q * Viper0482 Remote host closed the connection 1137247362 J * undefined ~undefined@adsl-68-93-109-94.dsl.rcsntx.swbell.net 1137247506 P * undefined 1137247525 J * undefined ~undefined@adsl-68-93-109-94.dsl.rcsntx.swbell.net 1137247545 J * lilalinux ~plasma@h1-gw.of.net-lab.net 1137247944 M * bonbons Is someone here who knowns how to start a defined process as 'init' in a guest? 1137248370 Q * lilalinux Remote host closed the connection 1137249489 M * Doener bonbons: IIRC using cmd.start (see flower page for details) 1137249808 Q * tso Quit: BitchX: it isn't only my script, its also my client 1137249842 M * bonbons Doener: which init-style should I use when setting the cmd.start? 1137249886 M * Doener i don't think that matters in that case... but let me check... 1137249969 M * Doener bonbons: yup, unless you use "rescue" initstyle, cmd.start overrides what the initstyle sets as start command 1137250082 M * bonbons Doener: doesn't work... the program I put in there does not get virtual PID=1 1137250112 M * bonbons Doener: I had tried to add a style to vserver.functions, but always get a dummy additionnal init; I'm trying to get initng running in a guest 1137250112 Q * Doener Quit: Leaving 1137250122 J * Doener doener@i5387D409.versanet.de 1137250134 M * Doener bah, stupid pointer warping... 1137250145 A * Doener needs to reconfigure fvwm soon... 1137250294 M * bonbons Doener: does not work for me, ps -Af inside the vserver still shows a dummy init process 1137250319 M * Doener sounds like blend-through init (i.e. you see init from the host) 1137250408 M * bonbons I'm using vserver 2.1, util-vserver 0.30.209 1137250481 M * Doener bonbons: in the "flags" file, add a line for "fakeinit" 1137250725 M * bonbons Doener: ok, that worked. Is there a means to add this to the util-vserver codebase? (I tried editing vserver.functions but didn't work) 1137250777 M * Doener you mean an initstyle for init-ng? 1137250785 M * bonbons yes 1137250885 M * Doener i have no idea. you should send a mail about this to the ml, i guess enrico will take care of it 1137250961 M * coocoon Doener: hello do u know whioch vdlimit version is used in exp 2.1.0.4 1137251018 M * Doener coocoon: no, been too busy lately to follow development and actually never used the disklimits 1137251103 M * coocoon doener: oh ok 1137251208 J * mkhl ~mkhl@200-148-41-61.dsl.telesp.net.br 1137251407 M * coocoon does anyone know how to install the latest vdlimit tool from this side http://www.13thfloor.at/vserver/d_rel26/v2.1.0/ 1137253066 Q * mkhl Quit: 1137254055 P * undefined 1137255117 Q * derjohn Remote host closed the connection 1137255363 J * derjohn ~derjohn@80.69.37.19 1137255798 M * SiD3WiNDR [14|12:37:46] < SiD3WiNDR> how can I "leak through" some proc entries to a vserver? 1137255819 M * SiD3WiNDR oh, vprocunhide stuff 1137255826 A * SiD3WiNDR oogles 1137255949 M * SiD3WiNDR hm, doesn't seem to work? 1137256028 M * SiD3WiNDR root@khalid:/etc/vservers/pbx-beleu1/apps/vprocunhide# cat files 1137256028 M * SiD3WiNDR /proc/zap/ 1137256031 M * SiD3WiNDR but it doesn't show.. 1137256048 J * dothebart ~willi@xdsl-87-78-46-74.netcologne.de 1137256073 J * mef ~mef@pcp09872021pcs.ewndsr01.nj.comcast.net 1137256080 M * Doener SiD3WiNDR: that's not per-vserver 1137256086 M * SiD3WiNDR oh. 1137256093 M * Doener you probably have to put that file into the _defaults directory 1137256099 M * SiD3WiNDR yea, I see now :) 1137256100 M * SiD3WiNDR woopsie 1137256103 M * Doener and then run the vprocunhide script yourself 1137256105 M * Hollow and its name is vprocunhide-files 1137256154 M * mnemoc vprocunhide should run on host init 1137256157 M * mnemoc during* 1137256160 M * SiD3WiNDR well 1137256169 M * SiD3WiNDR apps/vprocunhide/files overrides vprocunhide-files ;) 1137256177 J * mkhl ~mkhl@200-148-41-61.dsl.telesp.net.br 1137256182 M * SiD3WiNDR but yes, I'm doing /etc/init.d/vprocunhide restart 1137256183 M * Doener hm, is NikDaPhreak the same who used to be DaPhreak? 1137256185 M * SiD3WiNDR hoping that would do the trick 1137256228 M * Hollow Doener: no 1137256244 M * Doener so DaPhreak is gone? 1137256259 M * Hollow his name is phreak`` now 1137256272 M * Doener ah i c 1137256301 M * SiD3WiNDR so is vprocunhide-files only counted when really starting the machine? 1137256308 M * SiD3WiNDR cause I did init.d/vprocunhide restart and such 1137256312 M * SiD3WiNDR restarted vserver to be sure too 1137256316 M * SiD3WiNDR but it's not appearing... 1137256322 M * SiD3WiNDR (i edited vprocunhide-files too now) 1137256328 M * bonbons Hollow: as you added code to util-vserver for gentoo init style, maybe you know what to add to use initng? 1137256372 M * Hollow bonbons: i did not add it, and i'd prefer it'd have never been added ;) 1137256456 M * bonbons Hollow: Ok, do you know what needs to be done to add a "native" program, instead of creating all the files under apps/init/ 1137256467 M * Hollow well, if you'd like to add initng you have to add the command to start it, somewhere... don't know it by heart.. if you need help i can take a look 1137256478 Q * tudenbart Ping timeout: 480 seconds 1137256490 M * Hollow it's somehwere in /usr/lib/util-vserver/vserver.functions i guess 1137256535 M * coocoon hollow: do u know using tagxid in fstab using DiskLimit.sh 1137256554 M * bonbons Hollow: I tried a few things in vserver.functions, but it never workd 1137256574 M * Hollow coocoon: what is DiskLimits.sh? 1137256580 M * Hollow bonbons: let me take a look 1137256608 M * Hollow bonbons: on a normal machine.. do you start initng like normal init? (i.e. the kernel starts /sbin/init) 1137256634 M * coocoon hollow: Context Disk Limits on Kernel 2.6.x (vs2.0) 1137256645 M * coocoon hollow: http://linux-vserver.org/Disk+Limits 1137256653 M * bonbons No, /sbin/initng 1137256660 M * Hollow coocoon: i know disk limits, but i don't know DiskLimit.sh ;) 1137256670 M * Hollow bonbons: ok, but no specialities else? 1137256720 M * coocoon it is a tool 1137256725 M * Hollow bonbons: btw.. did you post on gentoo-dev? 1137256729 M * bonbons No, first process is just /sbin/initng instead of /sbin/init, but when I tried in vserver guest I always got a fake init process above initng 1137256741 M * coocoon hollow: ok the tool is not so important 1137256752 M * bonbons Hollow: Yes, I did 1137256766 M * Hollow coocoon: well, you have to add the tagxid options to your fstab options, but i guess that wasn't your question ;) 1137256776 M * Hollow s/options/option/ 1137256835 M * Hollow bonbons: without even looking at the code i see two problems here: normally you use the fakeinit feature of linux-vserver to map the pid of the started init in the guest to pid 1 inside the guest 1137256856 M * Hollow second, if you skip fakeinit, initng probably fails because it isn't pid=1 1137256863 M * Hollow but only trying will tell 1137256934 M * coocoon hollow: right it is working if I started the vserver (have set vdlimitting in post-start.d folder under scripts in the vserver guest folder) 1137256973 M * bonbons Hollow: I nkow the fake-init feature, just nt what to modify so the style takes it into account (with fakeinit in flags it works) 1137256996 M * bonbons sure initng starts in fake mode if it's not PID=1 1137256999 M * coocoon hollow: the limitting starts and shows error invalid argument, but only for the /proc folder from vserver guest, when i am starting it befor ethe vserver starts no messages has been shown 1137257011 M * coocoon hollow: all works fine # 1137257036 M * coocoon hollow: maybe it isn't importing to have a look at these messages 1137257058 M * coocoon or how to start vdlimit in scripts folder before vserver starts 1137257059 M * Hollow hm, i'm not a tagxid expert... you'll probably have to wait for Bertl 1137257077 M * Hollow bonbons: how do you shutdown with initng? 1137257090 M * coocoon hollow: ok thanx 1137257094 M * coocoon I will wait 1137257123 M * bonbons With apps/init and lfags stuff, shutdown with initng works in the guest (host is not running initng) 1137257155 M * bonbons Shutdown is done with ngc -0 (ngc -6 to reboot) 1137257241 M * bonbons Hollow: not that initng's init scripts must be changed to skip all mount and similar system operations (as baselayout versus baselayout-vserver) 1137257253 M * Hollow bonbons: ok, i guess you tried sth like http://home.xnull.de/misc/uv-initng.patch ? 1137257342 M * bonbons Hollow: yes, also added and removed the _IS_FAKE_INIT=1 and _NEED_VSHELPER_SYNC=1 variables, but fails the same way 1137257378 M * bonbons Hollow: Initng is started, just not as (fake) PID=1 1137257457 M * Hollow bonbons: hm.. have to look how the fakeinit stuff is done 1137257599 M * Hollow bonbons: would you be willing to try it with vserver-utils? it's easier to debug for me :P 1137257613 M * Hollow if we figure it out we can add it to util-vserver as well 1137257635 M * Doener Hollow: set _IS_FAKEINIT to 1 1137257636 M * bonbons vserver-utils is on my todo list in second position ;) 1137257642 M * Hollow Doener: read above 1137257647 Q * mef Remote host closed the connection 1137257649 M * Doener oops 1137257656 M * Hollow :) 1137257667 M * Hollow bonbons: great :) 1137257715 M * Doener bonbons: did you really use _IS_FAKE_INIT=1? 1137257726 M * Doener cause that is made to fail ;) 1137257731 M * bonbons Hollow: what I'm missing on vserver-utils's wiki homepage is the list of implemented features 1137257738 M * Doener no underscore between FAKE and INIT 1137257760 M * Hollow bonbons: yeah, much information is still missing ;) 1137257781 M * bonbons Doener: yes, just behind the definitions of INITCMD_START and INITCMD_STOP variables 1137257799 M * Doener bonbons: then try with _IS_FAKEINIT=1 instead 1137257819 J * undefined ~undefined@adsl-68-93-109-94.dsl.rcsntx.swbell.net 1137257954 M * bonbons Doener: you're right, was my typo which made it fail 1137257961 M * Doener :) 1137257962 M * Hollow kay.. :P 1137258129 M * bonbons Hollow: Ok, so as it now works, I will try out vserver-utils (just bad luck that util-vserver and vserver-utils files overlap) 1137258184 M * bonbons Hollow: once you have time for it, could you patch util-vserver on gentoo to add initng? (and pass over upsteam) 1137258298 M * Hollow yup, will do 1137258355 M * bonbons So now it's vserver-utils' turn 1137258507 M * Hollow just as easy as in util-vserver 1137258522 M * Hollow in scripts/lib/vps.sh 1137258783 M * bonbons Hollow: looks like util-vserver and vserver-utils (+libvserver) conflict a lot (and thus should block each other) 1137258822 M * bonbons unmerging util-vserver after emerging libvserver make vserver-utils fail to compile 1137258856 P * undefined 1137258914 N * Bertl_zZ Bertl 1137258918 M * Bertl evening folks! 1137258927 M * Hollow bonbons: indeed... 1137258941 M * Hollow bonbons: will clean up a lot of (autoconf) things with the next release 1137258945 M * Hollow heya Bertl 1137258954 M * Bertl hey Hollow! how's everything? 1137258967 M * coocoon Bertl: hello bertl 1137259004 M * coocoon bertl: I need some informations using vdlimit 1137259017 M * Hollow Bertl: quite good, currently looking at the devpts problem on vserver ... enter, imo it could be solved by allocating a pseude terminal after migrating to the context... just trying it out now 1137259023 M * Bertl coocoon: go ahead, ask! 1137259055 M * coocoon bertl: because getting "invalid argument messages " during starting the vserver 1137259061 M * Bertl Hollow: yep, that should work, you might want to leave your session/terminal group behind though 1137259081 M * coocoon bertl: i have seen that there is only the /proc files involved 1137259131 M * coocoon bertl: all works the limit on the guest is set to what I wanted to have 1137259204 M * coocoon bertl: mount on the host shows /dev/mapper/lvm2-vservers on /vservers type ext3 (rw,tagxid) 1137259263 M * coocoon bertl: mount on guest => /dev/hdv1 on / type ufs (defaults) / none on /proc type proc (defaults) / none on /dev/pts type devpts (gid=5,mode=620) 1137259398 M * Bertl okay, what 'settings' do you use/try with vdlimit? 1137259461 M * Hollow Bertl: what do you mean by "leave behind"? 1137259506 M * coocoon Bertl: it looks like that the messages 1137259512 M * coocoon Bertl: /vservers/sin00/proc/3920/fd/10: Invalid argument 1137259610 M * coocoon Bertl: using this script http://linux-vserver.org/Disk+Limits, then I put in post-start.d folder /home/masterx/src/scripts/DiskLimit.sh sin00 2000000 1137259709 M * coocoon Bertl: # df -h => /dev/hdv1 2,0G 232M 1,6G 13% / 1137259734 M * Bertl Hollow: maybe the terminal group will give you some issues, because it belongs to the 'outside' process 1137259774 M * coocoon Bertl: # none 16M 0 16M 0% /tmp also last message is /vservers/sin00/tmp: Invalid argument 1137259977 M * coocoon Bertl: # /usr/sbin/vdlimit --xid 100 --set space_total=2000000 --set space_used=`du -s /vservers/test1/ | awk '{print $1}'` --set inodes_total=2000000 --set inodes_used=`ls -1aRi /vservers/test1/ | awk '/^[0-9]+ / { print $1 }' | sort -u | wc -l` --set reserved=5 /vservers/test1/ 1137260020 M * Bertl coocoon: try to evaluate the backtick expressions for me please 1137260036 M * Bertl so that we see what the final command looks like 1137260056 M * coocoon Bertl: ok 1137260145 M * coocoon Bertl: sorry I do not understand 1137260186 M * Bertl try to execute the following: 1137260199 M * Bertl echo `du -s /vservers/test1/ | awk '{print $1}'` 1137260207 M * Hollow Bertl: ah ok.. thanks for the hint 1137260216 M * Bertl echo ``ls -1aRi /vservers/test1/ | awk '/^[0-9]+ / { print $1 }' | sort -u | wc -l` 1137260230 M * Bertl echo `ls -1aRi /vservers/test1/ | awk '/^[0-9]+ / { print $1 }' | sort -u | wc -l` 1137260241 M * Bertl (only one abcktick at the beginning 1137260306 M * coocoon Bertl: first output from echo `du -s /vservers/sin00/ | awk '{print $1}'` => 236984 1137260379 M * coocoon echo ``ls -1aRi /vservers/sin00/ | awk '/^[0-9]+ / { print $1 }' | sort -u | wc -l` 1137260380 M * coocoon > 1137260394 M * coocoon Bertl: what should i do now 1137260443 M * Bertl as I said, the double backtick was a typo 1137260476 M * coocoon Bertl: ok 1137260484 M * coocoon Bertl: output 8950 1137260501 M * Bertl okay, now let's put the whole thing together ... 1137260539 M * Bertl /usr/sbin/vdlimit --xid 100 --set space_total=2000000 --set space_used=236984 --set inodes_total=2000000 --set inodes_used=8950 --set reserved=5 /vservers/test1/ 1137260545 M * bonbons Hollow: Is there somewhere a quick guide on how to configure the vserver for vserver-utils (where to put fstab, context.conf, ...) 1137260561 M * coocoon Bertl: 236984 echo 8950 1137260585 M * Bertl lol 1137260603 M * Bertl try the vdlimit line I wrote 3 lines ago 1137260633 M * coocoon Bertl: oh ok 1137260641 M * coocoon Bert: fg 1137260664 M * Hollow bonbons: there is an example context.conf in etc/examples and unfortunately for the rest you'll have to take a look at scripts/lib/vps.sh or ask me 1137260722 M * bonbons Hollow: I've found the context.conf example, if you could given me some initial guidelines it would speed up things :) 1137260783 M * coocoon Bertl: ok it is working without messages 1137260853 M * Hollow bonbons: fstab is in /etc/vservers//init/fstab 1137260861 M * Bertl coocoon: so that looks like two possible explanations: 1137260875 M * Bertl - the vdlimit is completely unrelated to your issue 1137260876 M * Hollow iirc there is no configuration file else.. 1137260888 M * Bertl - the vdlimit is called in a context which isn't appropriate 1137260910 M * bonbons Not need to explicitly define guest root? 1137260918 M * Bertl coocoon: does the 'limiting' work with your startup script as expected? 1137260932 M * coocoon Bertl: yes before and also now 1137261050 M * bonbons Hollow: where and how for network config? 1137261097 M * Hollow bonbons: NX_ADDR array in context.conf 1137261103 M * coocoon Bertl: I have installed vserver with skeleton than have tarballed a vserver guest which I have installed without tagxid 1137261112 M * coocoon Bertl: could this be the problem 1137261164 M * coocoon Bertl: but I have set a context 1137261165 M * bonbons Hollow: sample? (none in example context.conf) 1137261220 M * Hollow NX_ADDR=( "192.168.0.50/24" ) 1137261248 M * Hollow it does not configure any devices 1137261261 M * Hollow you have to set them up with your host rc scripts or manually 1137261285 M * bonbons Hollow: guest root as VDIR=/path/to/guest ? Ok for the manual IP addresses 1137261312 M * coocoon Bertl: is now everything done and does it work or is there something wrong when I used it in this way 1137261330 M * Hollow bonbons: yup, by default it uses VDIRBASE/ (at configure time: --with-vdirbase) 1137261346 M * Bertl coocoon: hmm, somehow I must have missed your issues ... I thought something was not working as expected, no? 1137261412 M * bonbons Hollow: So I read vps.sh correctly (not easy to read with the lots of indirections) 1137261424 M * coocoon Bertl: it works only showed "invalid argument messages" during starting the vserver guest, but now there are no messages anyway, thanxxxx a lot 1137261439 M * coocoon Bertl: ;-) 1137261441 M * Hollow bonbons: indirections? 1137261500 M * bonbons Hollow: variables which are build with variables 1137261535 M * Bertl coocoon: okay, so it jsut went away .. good :) 1137261581 M * Hollow bonbons: ah 1137261592 M * coocoon ok another challenge I have is with networking, maybe someone is here who can help me 1137261609 M * coocoon # iptables -t nat -L shows 1137261609 M * Hollow bonbons: i thought you already took a look at util-vserver, so nothing can shock you anymore.. ;) 1137261626 M * coocoon # DNAT tcp -- anywhere anywhere tcp dpt:2221 to:1.2.3.4:2 1137261658 M * Hollow bonbons: anyway, i don't like the current config system, i'm planning a libvconfig for 1.1 1137261665 M * coocoon # SNAT all -- 1.2.3.4 !1.2.3.4 to: blah myHostIp (is right) 1137261688 M * coocoon I tried to connect with my ssh client to the vservers guest 1137261700 M * coocoon but I have no chance to connect to it 1137261733 M * Bertl you might want to use to:1.2.3.4:22 (note the 22 instead of your 2) because usually ssh is on 22 not 2 1137261794 M * coocoon Bertl: hm if this would be I would be very happy today, but it would not; I have the sshd from my server to hostIP 1137261802 M * coocoon DNAT tcp -- anywhere anywhere tcp dpt:2221 to:1.2.3.4:22 1137261807 M * coocoon copy error 1137261809 M * coocoon sorry 1137261824 M * bonbons Hollow: as long as migration is documented, I see no objection ;) (I know util-vserver does such indirection very much as well) 1137261843 M * Hollow Bertl: apropos libvconfig, i'd like to talk about the configuration system with you (and all others of course) about the implementation... its aim is to privde a central library for all vserver related configuration (probably a backend driven lib (like in file, sql, ldap or so)) 1137261848 M * coocoon netstat -ln => tcp 0 0 85.214.22.240:22 0.0.0.0:* LISTEN 1137261856 M * coocoon with kiss 1137261866 M * coocoon for bertl 1137261867 M * Bertl Hollow: yes, sounds cool! 1137261884 M * Hollow Bertl: ok, will outline some ideas and ping you then 1137261909 M * Bertl coocoon: so the 85.214.22.240 is your host's ip, right? 1137261915 M * coocoon right 1137261918 M * Bertl Hollow: great, please do so ... 1137261940 M * coocoon could u erase it wever 1137261975 M * Bertl well, don't worry, now you will get a few more hits :) 1137262006 M * coocoon Bertl: set in pre-start.d/nat iptables -t nat -A PREROUTING -p tcp --destination-port 2221 -j DNAT --to-destination 1.2.3.4:22 SNAT --to-source 1137262018 M * bonbons Hollow: do you think about one file per guest, or one for all of them? (I prefer 1 per guest, easier to move guests around) 1137262024 M * Bertl anyway, what does 'vserver enter netstat -ln' show? 1137262048 M * Hollow bonbons: well, with a plugin driven libvconfig you could decide which system to use ;) 1137262051 M * Bertl ahem, 1137262056 M * coocoon Bertl: tcp 0 0 1.2.3.4:22 0.0.0.0:* LISTEN 1137262076 M * Bertl ah, okay, you got it right .. good 1137262086 M * coocoon tcp 0 0 1.2.3.4:25 0.0.0.0:* LISTEN 1137262123 M * coocoon Bertl: set in pre-start.d nat_port: iptables -t nat -A PREROUTING -p tcp --destination-port 2221 -j DNAT --to-destination 1.2.3.4:22 1137262136 M * Bertl I get a logon promt on your 2221 port? 1137262145 M * Bertl (so it seems to work for me :) 1137262161 M * coocoon aha ok so I am to stupid using my ssh client 1137262171 M * Bertl ssh -p 2221 1137262316 M * coocoon Bertl: I got message that my host key verification failled 1137262341 M * Bertl yes, that's normal here, because you are ssh-ing to the same' host/ip 1137262349 M * Bertl but a different sshd is answering 1137262357 M * Bertl possible solutions are: 1137262368 M * Bertl - use different key checks 1137262376 M * Bertl - use the same host keys for host and guest 1137262387 M * Bertl - ignore/override the checl 1137262389 M * Bertl *check 1137262413 J * undefined ~undefined@adsl-68-93-109-94.dsl.rcsntx.swbell.net 1137262442 M * coocoon Bertl: but where on host or vserver guest 1137262507 M * Bertl well, only the second option is on the host/guest, the other two apply to your ssh-client 1137262533 M * Bertl this is a 'normal' ssh issue, when you sshto two different ports on the same IP 1137262540 M * coocoon oh ok 1137262566 M * coocoon Bertl: I am looking on this problem for a long time 1137262587 M * coocoon Bertl: so configuring the ssh client is the challenge 1137262681 Q * mkhl Quit: 1137262800 M * coocoon Bertl: ok so long thanx have a nice evening 1137262804 M * coocoon bye 1137262839 M * Bertl you too, cya! 1137262856 Q * coocoon Quit: KVIrc 3.2.0 'Realia' 1137263612 M * bonbons Hollow: Looks like a lot of code is still missing in vserver-utils (/var/lock/vservers was missing, does not start at all because of unimplemented networkcontext...) 1137263669 M * Hollow bonbons: indeed, a _LOT_ of code is missing.. but 1.0.2 has network context implemented 1137263782 M * bonbons Hollow: vserver-utils (1.0.2) looks so, but possibly the libvserver behind does not (1.0.1) 1137263782 Q * Doener Read error: Connection reset by peer 1137263810 M * Hollow it does.. libvserver has network contexts since 0.2 or so 1137263818 J * Viper0482 ~Viper0482@p54974F51.dip.t-dialin.net 1137263826 J * Doener doener@i5387D7DE.versanet.de 1137263834 M * bonbons Hollow: For me it claims "Failed to create networkcontext: Function not implemented" 1137263855 M * Hollow well, that's a kernel issue 1137263858 M * Hollow ENOSYS 1137263898 M * bonbons what to I need to fix that? 1137263900 M * Hollow could you strace the command "vncontext -C -n 123"? 1137263954 P * undefined 1137263994 M * Bertl ENOSYS is really interesting ... 1137264301 M * Hollow Bertl: are the pseudo terminals virtualized or do the guests just get the next free number? 1137264329 M * bonbons Hollow: You can find the strace here: http://homepage.internet.lu/brunop/strace_vncontext 1137264355 M * Hollow .oO(lovely hex values) 1137264371 M * Bertl Hollow: just isolated, not virtualized 1137264395 M * Hollow Bertl: i.e. if xid=123 has /dev/pts/0 no other xid can have it? 1137264403 M * bonbons Hollow: If you want complete strings, tell me so I increase the "capture length" 1137264418 M * Hollow bonbons: no, it's ok, thanks 1137264496 M * bonbons Ok, I'll be back in about half an hour 1137264501 M * Hollow ok 1137264516 J * undefined ~undefined@adsl-68-93-109-94.dsl.rcsntx.swbell.net 1137265163 M * Bertl wb undefined! 1137265171 M * undefined hello Bertl 1137266950 Q * Viper0482 Quit: bin raus, 1137267017 M * bonbons Hollow, I'm back 1137267142 J * Smutje_ ~Smutje@87.78.99.166 1137267252 Q * Smutje Ping timeout: 480 seconds 1137267274 M * Hollow bonbons: somehow the command passes the wrong command to the vserver syscall, but i don't really know why 1137267287 M * Hollow do you have debugging enabled in your kernel? (i.e. vserver debugging) 1137267350 M * bonbons No, I have not enabled debugging, neither in kernel nor in userpsace (stripping is active) 1137267360 M * Hollow ok, you're running gentoo right? 1137267470 M * bonbons Sure 1137267586 M * Bertl bonbons: what arch, what syscall? 1137267612 M * bonbons x86, on pentium-m 1137267616 J * shedi ~siggi@inferno.lhi.is 1137267680 M * Hollow Bertl: well, looking at the command passed to the vserver syscall in his strace it seems that userspace passes the wrong VCMD 1137267690 M * bonbons Syscall should be the default (I changed nothing for it, if you want I can provided kernel config) 1137267817 M * Bertl no, that's fine ... 1137269231 J * Cru ~mindwarp@wlan-hotzpotz.e.de.wahlich.com 1137269232 M * Cru morning 1137269233 M * Hollow Bertl: hm, i'm a bit stuck atm.. is it even possible to exit the calling process wihtout losing i/o connections? 1137269245 M * Hollow (wrt pseude terms) 1137269324 M * Bertl Hollow: well, not sure this works, IMHO it should not work ... 1137269334 M * Hollow yeah, seems so 1137269365 M * Bertl but, if this is soemthing which is really bothering you, we can think about a generic bidirectional terminal 'extension' 1137269382 M * Hollow so, i have to connect the newly created pts with the pts created by the hosts ssh or virtual console, and let the calling process waitpid .. 1137269393 M * Bertl which could bet used for the init console too 1137269406 M * Hollow sounds neat ;) 1137269431 M * Bertl well, as far as I investigated, it is possible but requires userspace support 1137269455 M * Bertl i.e. you have to do similar like the ptmx device open inside and outside 1137269487 M * Hollow just for the understanding.. 1137269520 M * Hollow if i create a new pseudo pair, i have to connect both the parent and the child to it? 1137269554 M * Bertl for communication, yes 1137269583 M * Bertl you could look at the screen code, which actually does this 1137269596 M * Hollow hm, gave up on this ;) 1137269612 M * Hollow currently looking at agetty 1137269622 M * sizo ej Cru :) 1137269626 M * Hollow but it seems theres only tty code in it 1137269630 M * Bertl hmm,y eah, screen is a little complicated ... 1137269631 M * Cru heh, moin sizo 1137269643 M * Bertl welcome sizo! Cru! 1137269648 M * sizo thanks 1137269651 M * sizo hi bertl 1137269707 M * Hollow ok, so i did openpty and got to FDs for master and slave, i now close FD 0-2 in the calling process and make it a duplicate of the slave FD, right? 1137269737 M * Bertl ahem, no, usually the 'slave' is the process 1137269753 M * Hollow ah, so i duplicate the master in the calling process? 1137269798 M * Bertl no, you usually use the slave in teh called process and the master in the calling process 1137269819 M * Hollow yup 1137269838 M * Bertl it's sometimes easier to use forkpty (btw) 1137269842 M * Hollow and i also have to close 0-2 in the called process and use the slave fd instead 1137269850 M * Hollow yeah.. 1137269856 M * Hollow i have forkpty 1137269869 M * bonbons Hollow: Is there something easy to diferentiate a full Gentoo install an a guest (for easy adapting initng init scripts)? 1137269872 M * Hollow but doesnÄt matter for understanding i guess 1137269900 M * Hollow bonbons: download the baselayout and baselayout-vserver tarball of the same version and diff them ;) 1137269935 M * bonbons Hollow: should work no matter what version! 1137269947 M * Hollow ?? 1137270073 M * bonbons initng uses a tool to detect distro to selectivly adjust the init-scripts, and this should of course detect gentoo versus gentoo vserver-guest best is a file that exists only of one of both 1137270177 M * Hollow bonbons: sth like this? 1137270179 M * Hollow thanatos ~ # grep -qs '^s_context:[[:space:]]*[1-9]' /proc/self/status; echo $? 1137270179 M * Hollow 1 1137270179 M * Hollow thanatos ~ # vserver styx enter 1137270179 M * Hollow styx / # grep -qs '^s_context:[[:space:]]*[1-9]' /proc/self/status; echo $? 1137270180 M * Hollow 0 1137270293 M * bonbons That could be useful, will try it out! 1137270523 M * bonbons Hmm, but this would "fail" when building guest system in chroot... 1137270691 J * ntrs_ ~ntrs@68-188-50-87.dhcp.stls.mo.charter.com 1137270821 J * tanjix tanjix@office.star-hosting.de 1137270824 M * tanjix hi 1137270826 M * Bertl welcome tanjix! 1137270951 Q * Hollow Ping timeout: 480 seconds 1137270996 M * tanjix Bertl: i am experiencing some trouble on my compaq dl580 with 4gb ram and 3 cpus when installing kernel-image-2.6.8-2-686-smp - it brings a kernel panic when booting - maybe you have a hint for me ? :) 1137271017 M * tanjix the standard debian kernel from sarge installation works fine 1137271020 M * Bertl tanjix: well, then don't do it .. it's an ancient kernel after all 1137271035 M * tanjix apt offers nothing better :) 1137271042 J * Hollow ~hollow@home.xnull.de 1137271048 M * Hollow grr 1137271051 M * Bertl then you apt configuration is 'incomplete' :) 1137271063 M * tanjix maybe? :) 1137271083 M * Bertl tanjix: you might ask micah, kilian or aba, when they're around 1137271102 Q * ntrs__ Ping timeout: 480 seconds 1137271140 M * tanjix do you have a 'complete' apt configuration which could offer a newer kernel package ? 1137271163 M * Bertl as I don't use debian, no .. but adding testing/unstable might already help 1137271164 M * micah tanjix: the best thing to do is to send the kernel panic info as a bug report to the kernel team 1137271171 M * micah tanjix: and try a different kernel 1137271212 M * Bertl hey micah! 1137271213 M * tanjix micah: what exaclty shall i send them ? is this logged somewhere with details ? 1137271221 M * micah tanjix: How to Report a bug: http://www.debian.org/Bugs/Reporting 1137271233 M * micah Bertl: hey! I heard my name across the room 1137271274 M * micah tanjix: do you now what version of the kernel from the sarge installation worked? 1137271289 M * micah (my guess is you installed with the 2.4 kernel) 1137271297 M * Bertl tanjix: do you have some part of that panic transcribed somewhere? 1137271335 M * tanjix micah: the standard kernel is: 2.6.8-2-386 1137271343 M * tanjix micah: and this one boots fine 1137271353 M * tanjix micah: but has not highmem and smp support 1137271354 M * Bertl smp issues? 1137271365 M * micah I hate to clutter the vserver channel about something that doesn't seem to be related, tanjix you can come to #debian-kernel 1137271378 M * micah hmm my monitor just turned... yellow 1137271383 M * tanjix micah: then i installed kernel-image-2.6.8-2-686-smp from apt and rebooted - and get a panic 1137271393 M * Bertl micah: is that a good or a bad sign? 1137271402 M * micah tanjix: do you have the panic details 1137271417 M * tanjix micah: let's continue in the other channel if you like 1137271418 M * micah Bertl: if it turned to gold it would be good news, but its just yellow 1137271442 M * Bertl lol 1137271452 M * micah tanjix: its better because the debian kernel people are there who can probably help :) 1137271459 M * micah and we can let Bertl code in peace :) 1137271469 M * tanjix hehe, ok :-) 1137271551 M * Bertl amen. 1137271879 Q * Hollow Remote host closed the connection 1137278409 J * mkhl ~mkhl@200-148-40-223.dsl.telesp.net.br 1137278424 M * Bertl welcome mkhl! 1137280033 P * bonbons Leaving 1137280287 Q * derjohn Remote host closed the connection 1137281419 Q * DaCa Ping timeout: 480 seconds 1137281936 J * DaCa ~danny@mail.limehouse.org