1248915919 Q * Piet Remote host closed the connection 1248916115 J * Piet ~piet@659AABEVU.tor-irc.dnsbl.oftc.net 1248918176 Q * imcsk8 Quit: This computer has gone to sleep 1248920891 Q * cehteh Ping timeout: 480 seconds 1248921605 M * infowolfe daniel_hozac, you awake? 1248921616 M * infowolfe prolly not, considering the time 1248922860 J * saulus_ ~saulus@c150176.adsl.hansenet.de 1248923266 Q * SauLus Ping timeout: 480 seconds 1248923268 N * saulus_ SauLus 1248925757 Q * hparker Quit: Read error: 104 (Peer reset by connection) 1248926039 J * fback_ fback@red.fback.net 1248926105 J * imcsk8 ~ichavero@201.144.51.36 1248926119 Q * fback Remote host closed the connection 1248931936 Q * imcsk8 Ping timeout: 480 seconds 1248932709 Q * uva resistance.oftc.net oxygen.oftc.net 1248932709 Q * nenolod resistance.oftc.net oxygen.oftc.net 1248932895 J * uva bno@118-168-236-151.dynamic.hinet.net 1248932895 J * nenolod nenolod@petrie.dereferenced.org 1248933090 Q * FloodServ charon.oftc.net services.oftc.net 1248933505 J * imcsk8 ~ichavero@189.155.64.111 1248934781 Q * derjohn_mob Ping timeout: 480 seconds 1248936351 J * gate_keeper_ ~gk@62.162.38.90 1248937194 J * SHINSAKU ~Shinsaku@chello084010157123.chello.pl 1248937238 J * earnaud ~chatzilla@creanet.creatixea.com 1248937241 N * earnaud CreatixEA 1248937334 M * CreatixEA Hi, I installed last version of Vserver on Debian Lenny (last update). Created my first vserver. Installed opensh-server on both (host and guest). When I try to connect to guest's SSH I enter inside the host instead of guest SSH ... Know why ? 1248937380 M * maharaja please visit the faqs on the website 1248937393 M * maharaja this issue is described there. 1248937409 M * maharaja basically, you have to adapt the sshd configuration on your host to not listen on *all* interfaces/addresses 1248937428 M * CreatixEA ok, got, thanks :) 1248937648 M * CreatixEA Do you know what password is automatically used when creating a new guest server ? It seems to not be the same as the root host password 1248938069 M * geb_ these is no default root passwd 1248938075 M * geb_ you have to set one 1248938084 M * geb_ use vserver $foo enter 1248938093 M * gnarface you don't *have* to set one 1248938116 M * gnarface but you probably want to 1248938118 M * CreatixEA I have to if I want to use SSH, wrong ? 1248938130 M * gnarface actually its advised you do not ssh as root 1248938141 M * gnarface what you should do is add a normal user 1248938144 M * gnarface then enable sudo 1248938157 M * gnarface feel free to be a renegade though 1248938161 M * gnarface nobody will stop you 1248938167 M * CreatixEA Which is quite the same as using root, no ? 1248938171 M * geb_ gnarface, si right , it depends, if you want to be able to use ssh, you have to set one, but that's not necessary if you want use sudo or vserver $x enter 1248938183 M * geb_ is 1248938438 M * CreatixEA OK guys, thanks for help :) 1248938491 Q * CreatixEA Quit: ChatZilla 0.9.85 [Firefox 3.0.12/2009070609] 1248939471 J * FloodServ services@services.oftc.net 1248939560 Q * geb_ Ping timeout: 480 seconds 1248939605 Q * imcsk8 Quit: This computer has gone to sleep 1248939701 Q * SHINSAKU 1248940263 J * davidkarban ~david@193.85.217.71 1248940712 J * esa ~esa@host175-235-dynamic.41-79-r.retail.telecomitalia.it 1248943011 N * Bertl_zZ Bertl 1248943016 M * Bertl morning folks! 1248943131 M * blathijs Morning, Bertl 1248943242 M * laurent morning 1248943254 M * laurent i just read http://linux-vserver.org/Installation_on_Debian 1248943276 M * laurent and i am currently running the well-known-debian-stable-kernel 2.6.26 1248943300 M * laurent do i have to fix something ? like suggested http://linux-vserver.org/Secure_chroot_Barrier#Solution:_Secure_Barrier or 1248943307 M * laurent http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508523 ? 1248943627 J * Shinsaku ~Shinsaku@chello084010157123.chello.pl 1248944010 J * derjohn_mob ~aj@80.85.196.112 1248944028 J * gnuk ~F404ror@pla93-3-82-240-11-251.fbx.proxad.net 1248944161 M * Bertl larsivi: besides switching to a different kernel? no :) 1248944188 M * Bertl *laurent sorry larsivi! :) 1248944209 J * dna ~dna@55-197-103-86.dynamic.dsl.tng.de 1248944320 M * laurent Bertl: ok so if i switch to amother kernel then i will have to perform the fixes or create new vds with the new kernel , that's right ? 1248944360 M * Bertl yep, same when you switch _to_ that kernel 1248944398 J * BenG ~bengreen@94-169-110-10.cable.ubr22.aztw.blueyonder.co.uk 1248944407 J * cehteh ~ct@pipapo.org 1248944481 M * laurent ok Bertl in other words as long as i stay with _that_ kernel, i have no security issue (chroot barrier or immutable-unlink), right ? 1248944580 M * Bertl probably no, debian is supposed to fix 'known' security issues .. 1248944641 M * Bertl but both, the mainline kernel (2.6.26) and the used Linux-VServer patch are not supported/maintained anymore ... so all you can do is hope :) 1248945015 M * Bertl off for now ... bbl 1248945019 N * Bertl Bertl_oO 1248945141 Q * Shinsaku Ping timeout: 480 seconds 1248946688 M * laurent is it sufficient to change the /etc/vserver//context value and restart the vds in order to change its context ? 1248946817 M * _are_ laurent: did exactly that in the past with success 1248946883 M * laurent did you get the guest files be automatically related to the new context ? _are_ 1248947062 M * _are_ I don't store context with files, but I doubt it would be migrated automatically 1248947194 M * _are_ a vserver does not exactly have a persistent status. either there are processes in some context or there aren't, I am not aware there is some history of context IDs tracked anywhere so migrating the files would be quite hard in an automated way by a simple vserver start. Alternatively I just misgot your question. 1248947342 M * laurent _are_: my bad, i do not know exactly how work the vservers, and i read http://www.mail-archive.com/vserver@solucorp.qc.ca/msg02202.html that lead me to ask confusing questions ... 1248947393 M * laurent i just keep in mind that in order to change the context of a guest i just have to update the /etc/vservers//context value 1248947416 M * laurent then restart the guest and everything is correctly done ! 1248947659 M * laurent on an other hand, when changing the _name_ of a guest, updating etc/vservers//name is not sufficient 1248947713 M * blathijs laurent: It isn't? 1248947762 M * _are_ laurent: the name is hiodden in various link targets in /etc/vservers/NAME as well, do an ls -l, replace all of then and you should be fine 1248947882 M * _are_ laurent: that mail asks how context-tagguing of files should be done. AFAIK it is implemennted now, but I personally don't use them, however, no context-name tuple history out there and so I doubt it would be tracked automatically 1248947899 M * laurent :) thus in order to rename a guest i have to update the /etc/vservers//name *and* re-link (correctly) the ls -l /etc/vservers// 1248947951 M * laurent _are_: yes that was i told you i previously asked confusing questions thus no pb with context switching anymore just update the value in the context file and restart the guest 1248947976 M * _are_ yes 1248948068 M * _are_ actually re-instate /etc/vservers/NAME/{run,vdir}, change /etc/vservers/NAME/name and ofc /etc/vservers/NAME itself 1248948102 M * _are_ be aware the link target of 'run' doesn't exists when the vserver is switched off 1248948412 M * laurent ok i also change the /var/lib/guess name (guess root tree) in my specific implementation 1248948622 M * laurent and i finally found it :) http://linux-vserver.org/Frequently_Asked_Questions#How_could_I_rename_a_vserver_directory.3F 1248948624 M * _are_ that's the vdir link. soory, I just assumed you would do that 1248948633 M * _are_ :-> 1248949356 Q * puck Ping timeout: 480 seconds 1248949386 J * puck ~puck@leibniz.catalyst.net.nz 1248950123 Q * FireEgl Ping timeout: 480 seconds 1248950467 J * carboy87 ~jeremy@68-117-63-45.dhcp.roch.mn.charter.com 1248950680 J * FireEgl FireEgl@173-16-9-10.client.mchsi.com 1248950803 Q * carboy87 Quit: Leaving 1248951275 J * Shinsaku ~Shinsaku@chello084010157123.chello.pl 1248951529 J * doener ~doener@i59F57884.versanet.de 1248951972 Q * Piet Remote host closed the connection 1248952042 J * Piet ~piet@659AABE4W.tor-irc.dnsbl.oftc.net 1248953157 Q * scientes__ Ping timeout: 480 seconds 1248955347 J * allquixotic ~sean@pool-151-196-247-211.balt.east.verizon.net 1248957586 Q * derjohn_mob Ping timeout: 480 seconds 1248957635 Q * uva Read error: Connection reset by peer 1248958835 Q * balbir_ Read error: Connection reset by peer 1248959616 M * laurent also http://linux-vserver.org/Frequently_Asked_Questions#How_could_I_rename_a_vserver_directory.3F i would add the following, 1248959705 M * laurent 3b. update the /etc/vservers//uts/nodename 1248959721 M * laurent and maybe change the hostname in the guest itself ? 1248959871 J * balbir_ ~balbir@122.172.25.2 1248960374 Q * FireEgl Quit: Leaving... 1248960790 J * imcsk8 ~ichavero@189.155.63.223 1248962912 J * hparker ~hparker@2001:470:1f0f:32c:290:96ff:fe50:40fa 1248963804 Q * BenG Quit: I Leave 1248963857 Q * davidkarban Quit: Ex-Chat 1248964406 J * BenG ~bengreen@94-169-110-10.cable.ubr22.aztw.blueyonder.co.uk 1248964459 Q * BenG 1248965462 J * dowdle ~dowdle@scott.coe.montana.edu 1248965587 J * ktwilight_ ~keliew@108.72-65-87.adsl-dyn.isp.belgacom.be 1248965689 Q * ktwilight Read error: Connection reset by peer 1248966003 J * geb_ ~geb@AOrleans-253-1-54-73.w92-140.abo.wanadoo.fr 1248966213 Q * gate_keeper_ Remote host closed the connection 1248966695 J * wibble_ wibble@vortex.ukshells.co.uk 1248966695 Q * wibble_ 1248967255 J * mxs_ mxs@p4FCCAC09.dip.t-dialin.net 1248967552 Q * mxs Ping timeout: 480 seconds 1248967705 Q * imcsk8 Ping timeout: 480 seconds 1248967802 J * derjohn_mob ~aj@c145222.adsl.hansenet.de 1248968453 Q * BWare Quit: *p00f* 1248968820 J * imcsk8 ~ichavero@148.229.1.11 1248969212 Q * ktwilight_ Remote host closed the connection 1248969249 J * ktwilight_ ~keliew@108.72-65-87.adsl-dyn.isp.belgacom.be 1248970062 J * derjohn_foo ~aj@c189034.adsl.hansenet.de 1248970062 Q * derjohn_mob Read error: Connection reset by peer 1248970241 J * BenG ~bengreen@94-169-110-10.cable.ubr22.aztw.blueyonder.co.uk 1248971271 Q * ghislainocfs2 Quit: Leaving. 1248971414 Q * esa Quit: Coyote finally caught me 1248971839 J * ousado__ ~johnny@p5B3C1689.dip0.t-ipconnect.de 1248971910 J * bonbons ~bonbons@2001:960:7ab:0:2c0:9fff:fe2d:39d 1248972291 Q * ousado_ Ping timeout: 480 seconds 1248972585 Q * Shinsaku Read error: Operation timed out 1248972634 J * Shinsaku ~Shinsaku@chello084010157123.chello.pl 1248972997 N * Bertl_oO Bertl 1248973001 M * Bertl back now .. 1248973165 Q * BenG Quit: I Leave 1248974273 Q * gnuk Quit: NoFeature 1248975170 J * BenG ~bengreen@94-169-110-10.cable.ubr22.aztw.blueyonder.co.uk 1248976338 J * Rankin ~sel@217-210-176-5-no37.tbcn.telia.com 1248976637 M * Rankin I'm having some problems with newvserver in lenny. If the root folder of the guset exists, I'm not able to create a new vserver. The error message I get is that it can't download the Package file. --vsroot /data/vm --hostname tweb and I have a lvm partition mounted on /data/vm/tweb. Anyone seen somthing like this before? 1248976689 M * daniel_hozac you shouldn't use newvserver. 1248976694 M * daniel_hozac try with vserver ... build instead. 1248976744 M * Rankin Why? 1248977003 M * daniel_hozac because that's a method we can help you with. 1248977010 M * daniel_hozac for newvserver, you need to get in touch with Ola. 1248977033 M * Rankin ok 1248977473 M * Rankin Same problem it seems... 1248977580 M * Bertl Rankin: what util-vserver version? 1248977607 M * Rankin stock debian/lenny 1248977619 M * Rankin 0.30.216~r2772-6 1248977626 M * Rankin http://pastebin.ca/1512518 1248977657 M * daniel_hozac and if you don't specify a mirror? 1248977689 M * Rankin Same problem 1248977799 M * Rankin The problem seems to ocure when the root directory of the vserver an mountpiont 1248977880 M * Rankin The problem seems to ocure when the root directory of the vserver is a mountpiont 1248978099 M * Bertl daniel_hozac: sounds like a namespace cleanup thing? possible? 1248978227 M * daniel_hozac the build doesn't clean up the namespace. 1248978247 Q * BenG Quit: I Leave 1248978364 M * Bertl Rankin: what filesystem do you use on / vs /data vs /data/vm? 1248978377 M * Bertl and what mount options (i.e. do they differ somehow?) 1248978388 M * Rankin ext3 on all filesystems 1248978398 M * Rankin same mount options 1248978435 M * Bertl disk space (df _and_ df -i) is not an issue? 1248978448 M * Bertl ah, what kernel is it? 1248978541 M * Rankin I see the problem now, sorry for disturbing you. It seems the LV has been created with a size of 12mb.... 1248978557 M * Bertl hehe, well, that explains it :) 1248978876 J * docelic ~docelic@78.134.200.15 1248978880 Q * Shinsaku 1248980841 Q * imcsk8 Quit: This computer has gone to sleep 1248981032 J * imcsk8 ~ichavero@nat.ti.uach.mx 1248982771 Q * PowerKe Ping timeout: 480 seconds 1248984472 Q * geb_ Ping timeout: 480 seconds 1248985044 Q * dna Quit: Verlassend 1248985172 J * ghislainocfs2 ~Ghislain@LPuteaux-151-41-11-129.w217-128.abo.wanadoo.fr 1248986896 J * PowerKe ~tom@d5153A2D7.access.telenet.be 1248987680 J * FireEgl Proteus@Sebastian.Atlantica.CJB.Net 1248987973 J * scientes ~scientes@97-113-166-22.tukw.qwest.net 1248987998 J * geb ~geb@AOrleans-253-1-54-73.w92-140.abo.wanadoo.fr 1248988309 Q * bonbons Quit: Leaving 1248988683 Q * scientes Remote host closed the connection 1248988705 J * scientes ~scientes@97-113-166-22.tukw.qwest.net 1248988871 Q * ghislainocfs2 Quit: Leaving. 1248990225 J * sladen paul@starsky.19inch.net 1248991897 J * PowerKe_ ~tom@d5153A2D7.access.telenet.be 1248991919 Q * hparker Quit: Read error: 104 (Peer reset by connection) 1248991938 Q * PowerKe_ 1248991950 J * PowerKe_ ~tom@d5153A2D7.access.telenet.be 1248992082 Q * PowerKe Ping timeout: 480 seconds 1248992457 J * otabbee 52e19542@webchat.mibbit.com 1248992567 M * otabbee Hi all. 1248992621 M * otabbee I'm a new vserver user (~8 months iirc), and I'm totally happy wih it. It really made my life easier. 1248992757 M * otabbee That was for the boring part (ie: the part where I talk about my life) Now here is my problem : is there a way to have the same directory in two different guests ? 1248992767 M * otabbee I thought I'd use vunify/vhashify, but if I understood correctly, it can only make a whole lot of hard links between files. 1248992841 M * otabbee So it wouldn't be what i'm looking for. I'm trying to have the same directory on both sides, like a mirror. One hand would have a ftpd and the other hand wouldn't be accessible from the scary Internet and would only deal with the files uploaded by the other vserver. 1248992847 Q * laurent Ping timeout: 480 seconds 1248992892 M * otabbee Is there a way to achieve this withtout using nfs ? 1248992934 M * gnarface hey otabbee i'm new to this actually (like 1 week) i thought i saw somewhere that the trick was to make a hard link 1248992943 M * gnarface but i'm not sure even how to do that 1248992988 M * Bertl hey otabbee! the magic word is --bind mounts 1248993039 M * Bertl otabbee: it's basically a vfs trick, where you have the very same directory tree appear in several places, and even namespaces 1248993093 M * Bertl you simply designate some space for this, and bind mount (via the guest config's fstab) it into your guest(s) 1248993131 M * otabbee Bertl: thank you for your answer. 1248993140 M * Bertl it's as fast as it can be, happens directly in the kernel and doesn't require any strange nfs setup 1248993178 M * otabbee --bind mounts is supposed to be an option to a vserver command ? Cause i tried mount --bind and it didn't work (neither did ln -n). Or did I miss something ? 1248993201 M * Bertl mount --bind will work, if you do it properly 1248993301 M * otabbee And you can do this from the guest ? I tried "mount --bind /var/lib/vservers/woker/home/worker/datas/ /var/lib/vservers/vsftpd/tmp/" but i don't see anything inside vsftpd tmp directory. 1248993341 J * ViRUS ~mp@p579B5CA1.dip.t-dialin.net 1248993351 M * Bertl well, you _can_ do this _from_ a guest, but it is not permitted by default, and your plans do not require this additional capability either 1248993381 M * Bertl the question is, _where_ did you try the mount --bind? 1248993402 M * geb http://paste.linux-vserver.org/13223 1248993417 M * otabbee And please forgive me for my ignorance, but i didn't understand what you meant afterward (vfs and the space to allocate somewhere). 1248993447 M * otabbee Bertl: I tried on the host, cause I have no clue how to reference a directory outside the vserver. 1248993465 M * Bertl vfs stands for 'virtual file system' and is the (abstraction) layer between filesystems and the kernel (and consequently userspace) 1248993498 M * Bertl otabbee: see, that's part of the problem, the guest uses a separate namespace (kind of 'view' into the vfs) 1248993517 M * Bertl you have to 'enter' that namespace, to affect the guest's view 1248993563 M * Bertl util-vserver will do that for you on guest startup, if you put the bind mount into the guest configs fstab 1248993568 M * gnarface wouldn't the fstab work though if it was formatted correctly? 1248993585 M * gnarface wait otabbee which distro were you using? 1248993603 M * Bertl sure, look at geb's pastebin posting :) 1248993629 M * gnarface i did 1248993635 M * gnarface oh geb's 1248993661 M * gnarface this works? 1248993672 M * Bertl yep 1248993687 M * gnarface add this line: /srv/data/home /home auto rbind 0 0 1248993691 J * hparker ~hparker@2001:470:1f0f:32c:215:f2ff:fe60:79d4 1248993695 M * geb see http://paste.linux-vserver.org/13224 1248993709 M * gnarface to every guest that shares that home directory 1248993712 M * gnarface right? 1248993722 M * geb yes you are right :) 1248993736 M * gnarface can you do the same sort of thing with an individual file? 1248993768 M * gnarface i guess from the command line 1248993773 M * gnarface not using fstab of course 1248993837 M * geb i am not sure i understand what you mean, you want to do the same thing for one file , not for one dir ? 1248993875 M * Bertl yes, it works for single files too, not sure util-vserver supports this (yet) 1248993897 M * Bertl i.e. you can bind mount one file over another 1248993932 M * geb oh, i didn't know that, that's a good new :) 1248993969 M * geb i was using nss+sql for authentification of my users, maybe a bind mount for /etc/passwd and /etc/shadow will works :) 1248994119 M * gnarface yea that was the type of thing i was thinking 1248994190 M * gnarface or just a quick and dirty way to insert a bulk chunk of binary data to all guests at once 1248994473 M * otabbee Hm, I can't get it working. 1248994481 M * otabbee Just to be sure : The first field is the one in the host and the second is the one inside the guest that will be started, right ? 1248994503 M * Bertl correct, first path is host / relative, second guest / 1248994521 M * otabbee Cause I tried "/home /home/ auto rbind 0 0" but I can't see anything in my guest's /home :/ 1248994531 M * Bertl you need to have a 'mount point' inside the guest 1248994551 M * Bertl i.e. /home has to exist as dir 1248994554 M * otabbee Well /home exists 1248994569 M * Bertl and you added this line where exactly? 1248994586 M * otabbee Yes, it's a paste. 1248994621 M * otabbee Here is the complete fstab (not too long) : http://paste.linux-vserver.org/13225 1248994643 M * Bertl well, you missed the point where I said, 'in the guest _configs_ fstab' :) 1248994659 M * Bertl i.e. not in the fstab inside the guest (which is ignored) 1248994707 M * gnarface can you put ram disks in there too? 1248994745 M * Bertl sure, but I would suggest to use tmpfs instead (better memory and resource management) 1248994748 M * otabbee Oh yes, I didn't noticed the /etc on geb's paste, i assumed it was /srv, and that the vservers were inside. 1248994757 A * otabbee feels so stupid now. 1248994770 M * Bertl see topic :) 1248994824 M * otabbee It's a relief to know it will only last a minute :) 1248994859 M * Bertl support is quite fast here .. you might have noticed :) 1248994863 M * otabbee Yay! It works. 1248994879 M * Bertl \o/ 1248994884 M * otabbee Yes, you are awesome, and I appreciate your concern and your patience with me, thank you a lot 1248994891 M * Bertl you're welcome! 1248995011 M * Bertl feel free to hang around ... you might learn a thing or two :) 1248995207 M * otabbee Sure, why not. I'd be happy to learn more about vservers. I feel like I will conquer the world with this great tool. 1248995265 M * otabbee Oh btw, I was wondering about this question in the fact : http://linux-vserver.org/Frequently_Asked_Questions#How_could_I_rename_a_vserver_directory.3F Wouldn't it be easier to do a vserver clone + vserver delete, instead of 8 steps ? 1248995331 M * Bertl depends, you'll probably lose some part of your guest config (e.g. the fstab you just created) in this process 1248995365 M * Bertl but util-vserver will get a rename feature sooner or later (maybe it already has, and I just don't know :) 1248995386 M * otabbee ok :) 1248995451 Q * Piet Ping timeout: 480 seconds 1248996130 J * Piet ~piet@659AABFHM.tor-irc.dnsbl.oftc.net 1248997051 Q * hparker Quit: Quit