1323823935 Q * dowdle Remote host closed the connection 1323828206 J * gnarface ~gnarface@dsl081-036-235.lax1.dsl.speakeasy.net 1323828235 M * gnarface hey people how do i enable verbose output for a vserver rsync build command? 1323828258 M * gnarface i've tried adding -o -v to the end and i've tried inserting --verbose in various places but i can't seem to rsync this vserver 1323828646 M * Bertl what's the problem there? 1323828824 M * gnarface Bertl: that's what i'm trying to figure out. it just silently fails after creating a couple directories and prompting me for the other server's password 1323828855 M * gnarface Bertl: i previously successfully rsynced another guest over from this server, so the fact now i can't do another is puzzling to me 1323828856 M * Bertl and I presume you enter the password correctly, yes? 1323828887 M * gnarface Bertl: yes i can verify that i am able to ssh as well as rsync manually from the remote server, but the rsync build command fails 1323828904 M * Bertl anyway, you can try with --debug to the build command 1323828919 M * gnarface aah 1323828935 M * gnarface would that be after the -- or somewhere towards the beginning, like near -m rsync? 1323828943 M * Bertl but I guess all you'll see is that the appropriate rsync command is executed, I'm pretty sure it is rsync which fails here (in some way) 1323828956 M * Bertl right after vserver should be fine 1323829067 M * gnarface well it dumps a shit ton of stuff 1323829081 M * Bertl yep, that's expected 1323829088 M * gnarface i don't even see anything that looks like an error 1323829100 M * Bertl didn't expect one 1323829119 M * Bertl i.e. I presume it is 'doing something' in the rsync part 1323829128 M * gnarface well 1323829138 M * gnarface there's an rsync command right before the prompt for the remote server password 1323829157 M * Bertl correct, that's the one being run by util-vserver 1323829159 M * gnarface it runs test -z '' before and after it 1323829163 M * gnarface dunno why 1323829170 M * gnarface then it says __BASE_SUCCESS=1 1323829175 M * gnarface base.__cleanup 1323829177 M * gnarface test -z 1 1323829179 M * gnarface return 0 1323829194 M * Bertl so that means the rsync finished then 1323829198 M * gnarface it leaves me with what looks like a preliminary skeletal directory structure 1323829209 M * Bertl with or without success in the actual sync 1323829229 M * Bertl try to execute the rsync command manually 1323829233 M * gnarface hmm. ok 1323829242 M * Bertl see if it works with the given arguments and your password 1323829358 M * gnarface i guess i have to remove whats left of the failed attempt first right? 1323829443 M * gnarface Bertl: now that i look at it, it doesn't seem to be sensical at all 1323829463 M * gnarface Bertl: but how could the old one have worked? 1323829514 M * gnarface Bertl: its trying to do this: rsync -Havx --numeric-ids root@[my server]:/etc/vservers/svn/ /etc/vservers/.defaults/vdirbase/svn/ 1323829651 M * Bertl well, what is your actual build line? 1323829728 M * gnarface stand by, rebooting for a kernel update 1323829748 M * gnarface when i run the command manually, it fails silently too 1323829763 M * gnarface but am i using the wrong directory here for /etc/vservers/svn? 1323829792 M * Bertl most likely, but I can't tell without knowing your build line 1323830184 M * gnarface Bertl: RSYNC_RSH=ssh vserver --debug svn build -m rsync --context 102 --hostname [redacted] --interface 2=eth0:[redacted]/24 -- --source root@[redacted]:/etc/vservers/svn 1323830209 M * Bertl well, that's definitely wrong 1323830237 M * Bertl i.e. all you rsync into the guest is its config with that line 1323830246 M * Bertl and no guest data at all 1323830268 M * gnarface Bertl: that certainly explains the current behavior but not how come it worked for the other guest 1323830290 M * Bertl I doubt it did 1323830309 M * Bertl maybe you had something like: root@[redacted]:/etc/vservers/svn/vdir before? 1323830313 M * gnarface Bertl: well i copy+pasted the command to this file.... 1323830347 M * gnarface Bertl: what is it supposed to be? the website said /vservers but i don't have a /vservers directory because i'm on debian 1323830367 M * Bertl unless one of your guests compeltely resides (or resided) in /etc/vservers/svn I doubt that it could ever work 1323830393 M * Bertl you have to blame debian for this oddity 1323830401 M * gnarface well 1323830408 M * gnarface the fact remains somehow i pulled it off 1323830412 M * gnarface the running vserver is proof of that 1323830429 M * gnarface so what directory path was i supposed to have used? 1323830430 M * Bertl as I said, no way, unless your setup is seriously messed up 1323830449 M * Bertl you use the data directory of a guest or a real system 1323830461 M * Bertl i.e. the path where the actual filesystem root resides 1323830465 M * gnarface which is what.. 1323830466 M * gnarface oh ok 1323830477 M * gnarface it'd be nice if the howto specified that 1323830485 M * gnarface still doesn't explain how the last one worked 1323830486 M * Bertl on normal systems, it's usually /vservers// 1323830499 M * gnarface and that's their filesystem root? 1323830512 M * gnarface as in /vservers/svn/etc ? 1323830513 M * Bertl on debian systems, you'll find it on /var/lib/vservers/ 1323830520 M * gnarface hmm. 1323830532 M * gnarface let me try that again but i swear it just hung indefinitely on me when i tried that... 1323830533 M * Bertl but it doesn't necessarily need to be there 1323830558 M * Bertl as you are trying to rsync an existing guest, I'd use the vdir 1323830581 M * Bertl i.e. the guest config contains a symlink to the actual rootfs called vdir 1323830634 M * gnarface btw i get this error: vserver-topdirectory '/etc/vservers/.defaults/vdirbase/svn' and/or configuration at '/etc/vservers/svn' 1323830634 M * gnarface exist already; please try to use '--force', or remove them manually. 1323830647 M * gnarface so i remove them manually every time 1323830661 M * gnarface but maybe there is more to remove it isn't mentioning? 1323830661 M * Bertl manually means? 1323830683 M * gnarface rm -rf /etc/vservers/.defaults/vdirbase/svn && rm -rf /etc/vservers/svn 1323830699 M * Bertl as you're on debian, it might be a good idea to update util-vserver to a recent version 1323830712 M * gnarface you mean more recent than the one debian provides? 1323830730 M * Bertl to a moderately recent one, yes :) 1323830767 M * trippeh Debian has had no util-vserver uploads since april 2010, seems like the maintaner has dropped it 1323830795 M * gnarface lrwxrwxrwx 1 root root 36 Aug 25 14:55 /etc/vservers/svn/vdir -> /etc/vservers/.defaults/vdirbase/svn/ 1323830797 M * gnarface i have that symlink 1323830803 M * Bertl then 'vserver delete ' will do the necessary removal 1323830838 M * gnarface when i give it /etc/vservers/svn/vdir it dies 1323830850 M * gnarface er, doesn't die actually it just appears to hang there indefinitely 1323830855 M * gnarface maybe i should just be more patient? 1323830862 M * Bertl maybe :) 1323830938 M * gnarface is there a way to enable some sort of progress meter? 1323831101 M * Bertl the build itself is just a bash script, so search for the rsync options and add the necessary ones to get a progress meter 1323831135 M * Bertl btw 1323831140 M * Bertl vserver - build --help 1323831148 M * Bertl rsync ... -- [-d ] --source [-- *] 1323831154 M * Bertl ... installs a guest by rsyncing from to the guest root 1323831187 M * Bertl which a) explains what rsync does, and b) shows you how to specify rsync options 1323831268 M * Bertl off to bed now .. have a good one everyone! 1323831274 N * Bertl Bertl_zZ 1323831816 M * gnarface RSYNC_RSH=ssh vserver svn build -m rsync --context 102 --hostname [redacted] --interface 2=eth0:[redacted]/24 -- --source root@[redacted]:/etc/vservers/svn/vdir -- --progress 1323831819 M * gnarface this seems to be working 1323831858 M * gnarface thanks Bertl_zZ 1323839045 J * ghislain ~AQUEOS@adsl2.aqueos.com 1323845575 J * ncopa ~ncopa@3.203.202.84.customer.cdi.no 1323846269 J * aj__ ~aj@87.253.171.198 1323850870 J * puck ~puck@leibniz.catalyst.net.nz 1323851614 M * arekm daniel_hozac: naddress --add --nid ... doesn't report error if adress I specify isn't known to kernel, looks like a small bug 1323851637 M * daniel_hozac no, that's the way it is supposed to be. 1323851659 M * daniel_hozac for e.g. VPN devices that come and go. 1323851837 Q * ghislain Quit: Leaving. 1323851849 M * arekm so I can add not-existing IP and when it gets configured it will be automaticly visible in guest? 1323852038 J * ghislain ~AQUEOS@adsl2.aqueos.com 1323852638 M * daniel_hozac yes. 1323853478 P * gnarface Leaving 1323860030 J * BenG ~bengreen@cpc10-aztw24-2-0-cust114.aztw.cable.virginmedia.com 1323860839 Q * BenG Quit: I Leave 1323861607 Q * FireEgl Read error: Connection reset by peer 1323862392 Q * geos_one Remote host closed the connection 1323862599 J * FireEgl ~FireEgl@173-16-9-169.client.mchsi.com 1323864333 N * Bertl_zZ Bertl 1323864356 M * Bertl morning folks! 1323865694 M * Bertl off for now .. bbl 1323865701 N * Bertl Bertl_oO 1323865952 Q * Romster Remote host closed the connection 1323865986 J * Romster ~romster@202.168.100.149.dynamic.rev.eftel.com 1323866021 Q * Romster 1323866068 J * Romster ~romster@202.168.100.149.dynamic.rev.eftel.com 1323868172 J * geos_one ~chatzilla@chello080109195117.4.graz.surfer.at 1323868800 Q * daniel_hozac Ping timeout: 480 seconds 1323869973 J * daniel_hozac ~daniel@c-a53171d5.08-230-73746f22.cust.bredbandsbolaget.se 1323870208 Q * Aiken Remote host closed the connection 1323870690 Q * daniel_hozac Remote host closed the connection 1323870711 J * daniel_hozac ~daniel@c-a53171d5.08-230-73746f22.cust.bredbandsbolaget.se 1323873864 J * gucki ~gucki@80-218-125-247.dclient.hispeed.ch 1323874061 M * gucki hey there :-) 1323874078 M * gucki I try to setup quota support in a guest and followed the howto here: http://linux-vserver.org/Quotas 1323874104 M * gucki But I get these errors, when inside the guest: 1323874106 M * gucki quotacheck -maugv 1323874106 M * gucki quotacheck: Cannot stat() mounted device /dev/root: No such file or directory 1323874106 M * gucki quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option. 1323874148 M * gucki shouldn't it be using /dev/hdv1 (which is mounted to / according to the output of mount) instead of /dev/root? 1323874174 M * Bertl_oO well, that usually depends on the quota tool version and the mtab entries 1323874558 M * gucki Bertl_oO: I'm using debian squeeze, quotatool 1.4.11-1 1323874584 M * gucki cat apps/init/mtab 1323874596 M * gucki /dev/hdv1 / ext3 defaults,usrquota,grpquota 0 0 1323874659 M * Bertl_oO ext3 is already a bad idea, see FAQ and quota related pages in the wiki 1323874671 M * Bertl_oO you might have more luck with ufs 1323874683 M * Bertl_oO (in the mtab file, that is) 1323875354 M * gucki Bertl_oO: it's just a testsystem and so I used the default settings, which have ext3. Never saw a system using ufs. Do need to reformat using ufs? Just changing it in the mtab file doesnt change anything 1323875420 M * Bertl_oO if chaning it in the mtab doesn't change anything, then your quota tools are trying to be too smart, i.e. they look at /proc instead of mtab 1323875560 M * gucki Bertl_oO: well, even why I specify the device it doesn't work: http://pastie.org/3016019 1323875608 M * Bertl_oO as you can see from the output, it still checks in /proc and ignores your input 1323876137 M * gucki Bertl_oO: well the second command does check /dev/hdv1 too, but it doesn't find a mountpoint? (mount shows it?!) 1323876248 M * daniel_hozac just do ln -s hdv1 /dev/root ? 1323876305 M * Bertl_oO probably won't work either, as it will get the ext3 from /proc as well 1323876429 M * daniel_hozac i have to admit, i've never actually tried using quotas :) 1323876454 M * Bertl_oO the quota tools are a big pile of ... funny software :) 1323876501 M * daniel_hozac yeah... 1323876534 M * Bertl_oO but I'm optimistic, in a few years from now, when LXC has become known, somebody will be annoying enough to get quota working and the tools adjusted 1323876573 M * daniel_hozac you have far more faith in humanity than i do. 1323876629 M * gucki Bertl_oO: mh too bad, so there's nothing I can do? 1323876662 M * Bertl_oO sure, but depends on what you actually want to achieve 1323876942 M * gucki Bertl_oO: well, I need support user/ group quotas inside the guest. :) 1323877027 M * Bertl_oO okay, but do you need the lowlevel checks to work inside the guest or is 'just' quota accounting sufficient? 1323877836 M * gucki Bertl_oO: I'm not sure what you exactly mean with lowlevel checks, but i assume just quota is enough.. :) 1323878752 Q * ncopa Quit: Leaving 1323879275 M * Bertl_oO then I'd suggest to setup quota outside the guest 1323879297 M * Bertl_oO the kernel will track the actual quota values quite fine without any quota tools inside the guest 1323879755 J * dowdle ~dowdle@scott.coe.montana.edu 1323880576 Q * aj__ Ping timeout: 480 seconds 1323881245 Q * Hunger Ping timeout: 480 seconds 1323882542 M * gucki Bertl_oO: mh, wenn i tried this it told me that no user with uid ... exists 1323882582 J * bonbons ~bonbons@2001:960:7ab:0:a587:5544:b7de:e7 1323885074 Q * bj_penn 1323885462 Q * gucki Remote host closed the connection 1323891265 Q * bonbons Quit: Leaving 1323892803 J * hijacker_ ~hijacker@cable-84-43-136-96.mnet.bg 1323893629 Q * DelTree Quit: leaving 1323894475 J * Hunger ~Hunger@proactivesec.com 1323896072 J * Aiken ~Aiken@2001:44b8:2168:1000:21f:d0ff:fed6:d63f 1323898339 Q * hijacker_ Quit: Leaving 1323900367 Q * ser Ping timeout: 480 seconds 1323901224 N * Bertl_oO Bertl 1323901227 M * Bertl back now ... 1323901845 Q * Hunger Ping timeout: 480 seconds 1323903620 J * DelTree ~deplagne@alcorak1.eric.deplagne.name 1323903860 N * ensc Guest20424 1323903869 J * ensc ~irc-ensc@p4FEC3F03.dip.t-dialin.net 1323904280 Q * Guest20424 Ping timeout: 480 seconds 1323904822 J * Hunger ~Hunger@proactivesec.com 1323905585 Q * Hunger Ping timeout: 480 seconds 1323906357 Q * ghislain Quit: Leaving. 1323906633 J * Hunger ~Hunger@proactivesec.com 1323906894 J * bzed_ ~bzed@devel.recluse.de 1323907008 Q * bzed Ping timeout: 480 seconds 1323907012 N * bzed_ bzed