1374030003 Q * ensc Ping timeout: 480 seconds 1374031158 Q * FireEgl Remote host closed the connection 1374032154 J * FireEgl FireEgl@2001:470:e5ad:1:f5ac:4089:64e7:ccab 1374033091 M * Bertl off to bed now ... have a good one everyone! 1374033096 N * Bertl Bertl_zZ 1374039618 J * Ghislain ~aqueos@adsl1.aqueos.com 1374043080 Q * FireEgl Read error: Connection reset by peer 1374044000 J * FireEgl ~FireEgl@173-25-83-57.client.mchsi.com 1374046229 Q * imachine Quit: leaving 1374046405 J * imachine ~imachine@robot.greenhost24.pl 1374058188 J * cuba33ci ~cuba33ci@36-224-96-117.dynamic-ip.hinet.net 1374059382 Q * ircuser-1 Ping timeout: 480 seconds 1374059821 Q * distemper Read error: Connection reset by peer 1374059972 J * distemper ~user@cable-86-56-68-115.cust.telecolumbus.net 1374061572 Q * Aiken Remote host closed the connection 1374062868 N * Bertl_zZ Bertl 1374062874 M * Bertl morning folks! 1374062901 J * ircuser-1 ~ircuser-1@35.222-62-69.ftth.swbr.surewest.net 1374073399 J * benl ~benl@dockoffice.sonassihosting.com 1374073425 M * benl Hi all 1374073508 M * benl I've got a situation where I need a mount to be visible when I enter the guest via "vserver XXX enter" - but not from the guest itself (ie. if you SSH'ed into the guest) 1374073555 M * Bertl not possible, but you can 'enter' the admin space instead and there it is possible 1374076093 M * benl How do you go about that 1374076167 M * Bertl well, depends on what you want to do, for simple admin work, using the vnamespace tool should suffice 1374076284 M * benl with which args 1374076332 M * benl http://oldwiki.linux-vserver.org/Namespaces 1374076332 M * Bertl depends on what spaces you want to enter, the admin vs guest spaces are selected via the index option 1374076349 M * benl That seems to show how to mount in a guest, which isn't what I want 1374076369 M * benl I need to enter a guest and have mounts available - without said mounts ever being visible to the guest 1374076392 M * Bertl as I said, that is not possible 1374076413 M * Bertl 'entering' a guest means that you enter all the spaces and contexts the guest uses 1374076433 M * Bertl naturally, this can not be different from what guest processes see 1374076472 M * Bertl the best you can do is to have a separate mount namespace (like the one used in the admin space) where you can do arbitrary (u)mounts 1374076496 M * Bertl (as the guest uses a different namespace, those won't be seen inside the guest) 1374076527 M * benl That could work 1374076564 M * benl What would the exact command be 1374076583 M * Bertl for what? 1374076629 M * benl To enter the guest in a separate mount namespace 1374076656 M * Bertl well, run your guest 'enter' with --debug, it will show a rather long sequence of commands at the end 1374076667 M * benl ? 1374076681 M * benl So there isn't just a command to enter the guest in a mount/admin namespace? 1374076688 M * Bertl that is how the guest is entered, you need to adjust the vnamespace command to use the admin namespace instead 1374076699 M * benl Yes, that's what I'm asking 1374076703 M * benl What does it need to be 1374076707 M * benl What is the command 1374076715 M * Bertl as I said, if you just want to enter the admin spaces, use vnamespace with the proper index 1374076727 M * benl and "the proper index" is what? 1374076768 M * benl vnamespace --mount ? 1374076797 M * Bertl vnamespace --enter --index 0 -- /bin/bash 1374076834 M * benl Thanks 1374076849 M * Bertl note that this will only enter the namespaces, not the contexts 1374076855 M * benl That looks like the root dir is still the host root - so how would you restart services from there 1374076867 M * Bertl chroot? 1374076884 M * Bertl but as I said, I would not restart services from there 1374076896 M * Bertl (not without entering the proper contexts as well) 1374076902 M * benl I think I might get stuck with this one then 1374076917 M * benl I need a DIR that contains some scripts on the guest, ideally not visible to the guest 1374076962 M * daniel_hozac why? 1374076994 M * benl some management utils that perform tasks on the guests that are "sensitive" 1374077037 M * daniel_hozac why would they need to be on the guest then? 1374077224 J * bonbons ~bonbons@2001:a18:20b:a301:64ba:531:d34f:4d2f 1374077585 M * Bertl off for a nap ... bbl 1374077597 N * Bertl Bertl_zZ 1374079060 Q * FireEgl Quit: Leaving... 1374080130 Q * Ghislain Quit: Leaving. 1374080517 J * sannes ~ace@cm-84.211.100.82.getinternet.no 1374081169 J * l0kit ~1oxT@0001b54e.user.oftc.net 1374081563 Q * l0kit_ Ping timeout: 480 seconds 1374083775 Q * benl Quit: HydraIRC -> http://www.hydrairc.com <- Like it? Visit #hydrairc on EFNet 1374087150 N * Bertl_zZ Bertl 1374087156 M * Bertl back now ... 1374090149 J * _BWare_ ~itsme@31.25.99.5 1374090243 J * kshannon_ ~kris@kris.shannon.id.au 1374090261 J * jrayhawk_ ~jrayhawk@nursie.omgwallhack.org 1374090287 Q * arekm synthon.oftc.net testlink-alpha.oftc.net 1374090287 Q * BWare synthon.oftc.net testlink-alpha.oftc.net 1374090287 Q * kshannon synthon.oftc.net testlink-alpha.oftc.net 1374090287 Q * jrayhawk synthon.oftc.net testlink-alpha.oftc.net 1374090287 J * arekm_ ~arekm@ixion.pld-linux.org 1374092147 Q * Rockj Ping timeout: 480 seconds 1374094558 J * Aiken ~Aiken@2001:44b8:2168:1000:21f:d0ff:fed6:d63f 1374095173 Q * Dragon Ping timeout: 480 seconds 1374096434 J * Dragon ~Kabaka@659AADMOK.tor-irc.dnsbl.oftc.net 1374099740 Q * bonbons Quit: Leaving 1374099996 J * Ghislain ~aqueos@adsl1.aqueos.com 1374101201 M * Ghislain wohh i have a guest that do not answer to anything 1374101210 M * Ghislain i cannot stop it or enter it or anything 1374101255 M * Bertl anything unusual in dmesg? 1374101260 M * Bertl (on the host) 1374101277 M * Ghislain Memory cgroup out of memory: Kill process 21524:#10249 (apache2) plenty of this 1374101334 M * Bertl no kernel stack trace or so? 1374101381 M * Ghislain oh yes one it seems 1374101393 M * Bertl could you upload it? 1374101512 M * Ghislain i try to look into the logs but this is just gibberish of oom things, there is a part called Call Trace, is it what you look for ? 1374101578 M * Bertl probably, but there is a header as well 1374101586 M * Bertl basically starts with the kernel version 1374101768 M * Ghislain http://paste.linux-vserver.org/23967 1374101780 M * Ghislain kernel 3.4.45-vs2.3.3.9 1374101985 M * Bertl okay, but that's a simple oom kill, i.e. it shouldn't keep your guest from shutdown 1374102011 M * Ghislain it seems to be the case 1374102012 M * Bertl nevertheless, you might have a problem with the original reason of that oom kill 1374102016 M * Ghislain i just get it to unlock 1374102039 M * Bertl i.e. if something inside is still trying to grab more and more money, the shutdown will not succeed 1374102044 M * Ghislain by doing a vkill on all pid i saw in the log i sent you 1374102091 M * Ghislain yes i guess this is the issue, the vserver command cannot force the shudown ? 1374102127 M * Bertl well, killing off all the processes is what happens if the normal shutdown doesn't succeed 1374102136 M * Bertl and that should actually get rid of the context as well 1374102148 M * Ghislain i guess apache was on a rampage :) 1374102171 M * Ghislain ok i waited 7 minutes so i guess this is not a time out issue 1374102208 M * Bertl did 'vserver stop' just hang around or report anything in this time? 1374102216 M * Ghislain it just hang around 1374102235 Q * Ghislain Read error: Connection reset by peer 1374102475 Q * clopez Remote host closed the connection 1374102488 Q * Dragon Ping timeout: 480 seconds 1374102565 Q * ex Remote host closed the connection 1374102587 J * Ghislain ~aqueos@adsl2.aqueos.com 1374102597 M * Ghislain back ! 1374102604 M * Ghislain sorry my adsl just crashed 1374102619 M * Ghislain i lost the connection at 01:03:50) Ghislain: as was a sudo chcontext --silent --ctx 1 /root/htop-1.0.1/htop 1374102641 Q * wmp Ping timeout: 480 seconds 1374102689 M * Bertl which means? 1374102711 Q * theocrite Ping timeout: 480 seconds 1374102819 J * Dragon ~Kabaka@04ZAAAMG4.tor-irc.dnsbl.oftc.net 1374102875 J * ex ~ex@valis.net.pl 1374102891 M * Ghislain just that is you replied after i said that i do not got the answer as my internet went dark :) 1374102894 J * clopez ~tau@neutrino.es 1374102910 J * theocrite ~Hubert@kim.theocrite.org 1374102917 M * Ghislain basicaly vps and htop in context 1 just hanged 1374102972 M * Bertl okay, so vps and htop stopped working? 1374103056 M * Ghislain yes i just launched, typed enter and it just stay without printing anything on the screen 1374103086 M * Bertl could be some kind of fork bomb 1374103097 M * Ghislain i could kill them and start again with same result so the process was still earing things but it waited on something 1374103108 M * Ghislain yes an attack on apache can do that i guess 1374103116 M * Bertl i.e. if processes respawn at a high rate htop/ps might take some while to respond 1374103124 M * Ghislain fill up all the ram limit of the cgroup and make thing hang 1374103182 M * Ghislain when you cannot enter or stop the guest is there a command to kill all process in a context ? 1374103203 M * Bertl vkill with a special pid (0, -1) will do that 1374103219 M * Ghislain ah ok was just looking at vkill --help :) 1374103226 M * Ghislain thanks ! 1374103232 M * Bertl you're welcome! 1374103283 M * Ghislain time to go to sleep for me, have a good night bertl ! 1374103429 Q * SteeleNivenson Quit: Leaving 1374103613 Q * Ghislain Quit: Leaving. 1374103984 J * wmp ~wmp@2001:41d0:1:8616::1