1411516801 Q * fisted Remote host closed the connection 1411516818 J * fisted ~fisted@xdsl-87-78-231-78.netcologne.de 1411519701 Q * zerick Ping timeout: 480 seconds 1411520823 Q * Ghislain Quit: Leaving. 1411528523 M * Bertl off to bed now ... have a good one everyone! 1411528534 N * Bertl Bertl_zZ 1411536631 J * zerick ~eocrospom@190.118.28.252 1411539605 J * Ghislain ~aqueos@adsl1.aqueos.com 1411543557 Q * zerick Ping timeout: 480 seconds 1411546063 Q * kiorky Read error: Connection reset by peer 1411546562 J * BenG ~BenG@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net 1411547020 J * kiorky ~kiorky@cryptelium.net 1411548132 Q * undefined Read error: Operation timed out 1411549988 Q * Romster Ping timeout: 480 seconds 1411550203 J * Romster ~Romster@202.168.100.149.dynamic.rev.eftel.com 1411554475 N * Bertl_zZ Bertl 1411554479 M * Bertl morning folks! 1411555685 M * yoshi314_ Bertl: s'up 1411555884 M * yoshi314_ Bertl: i sort of worked around my issues with netns, however host does not see the network namespace now. but at least it all works, and i can enter with vspace now and do vprocunhide 1411555903 M * yoshi314_ Bertl: https://www.pld-linux.org/docs/vserver#network_namespace_in_vservers i used the old way of setting it up 1411555980 M * yoshi314_ i'll try debugging it some more once i get a spare box 1411555983 M * Bertl okay, so it works without a network context then? 1411556040 M * Bertl okay, let me know if you get some info/detail from the debugging when you get there 1411556152 M * yoshi314_ ok 1411556494 M * Bertl thanks! 1411556620 M * yoshi314_ i still wonder if it's normal for network namespace to be invisible from host, though 1411556754 M * Bertl how should they be 'visible'? 1411556764 M * yoshi314_ through ip netns command 1411556769 M * yoshi314_ i thought it ought to list them 1411556903 M * Bertl IIRC, ip netns only lists namespaces from /var/run/netns 1411556986 M * yoshi314_ i assumed they would be craeted there, not an expert on this so it's probably not a rule 1411557019 M * Bertl well, they might get a proper entry if you let util-vserver create them 1411557060 M * yoshi314_ ah, i see 1411557062 M * daniel_hozac no, because it's a mountpoint, it will only be in the guest's admin namespace. 1411557089 M * Bertl ah, okay 1411557111 M * Bertl but in theory, it would be possible to propagate it up, no? 1411557126 M * Bertl i.e. make /var/run/netns a shared bind mount 1411557131 M * daniel_hozac yeah 1411560002 Q * fisted Remote host closed the connection 1411560053 J * fisted ~fisted@xdsl-81-173-191-13.netcologne.de 1411560315 J * undefined ~undefined@75-141-158-50.dhcp.mdfd.or.charter.com 1411560356 Q * BenG Remote host closed the connection 1411561009 P * undefined 1411561013 J * undefined ~undefined@00011a48.user.oftc.net 1411563625 P * undefined 1411566499 J * Igor2_ ~igor2@78-131-56-146.static.hdsnet.hu 1411566799 M * Igor2_ hi all 1411566810 M * Igor2_ i have a strange problem on a fresh install 1411566828 M * Igor2_ when i run vserver guest start, everythnig looks fine 1411566848 M * Igor2_ but then i can not enter the guest, i get vlogin: openpty(): No such file or directory 1411566862 M * Igor2_ i think it is because guest /dev/pts is not mounted 1411566900 M * Igor2_ in the fstab of the guest i have this: 1411566901 M * Igor2_ none<-->/dev/pts<------>devpts<>gid=5,mode=620,noexec,nosuid,rw><------>0 0 1411566908 M * Igor2_ oops, <-->s are tabs 1411566916 M * Igor2_ none /dev/pts devpts gid=5,mode=620,noexec,nosuid,rw 0 0 1411566924 M * Igor2_ any idea how to start debugging this? 1411567034 M * Bertl well, first, the mount looks fine so far 1411567050 M * Bertl what kernel/patch and util-vserver version are we talking about? 1411567300 M * Igor2_ 3.14.17-vs2.3.6.13 1411567321 M * Igor2_ i tried two versions of util-vserver 1411567324 M * Igor2_ 0.30.216-pre3054-1 from debian 1411567340 M * Igor2_ util-vserver-0.30.216-pre3062 1411567350 M * Igor2_ and this manually compiled/installed 1411567373 M * Bertl okay, and the kernel config a custom one, I presume? 1411567380 M * Igor2_ yup 1411567394 M * Bertl can you upload the .config for that kernel somewhere? 1411567399 M * Igor2_ yup, moment 1411567448 M * Igor2_ http://igor2.repo.hu/tmp/config.gz 1411567494 M * Igor2_ (i tried to strace a vserver start on the guest but the sheer volume of the log scared me away) 1411567520 M * Bertl after the guest start, the guest is running? 1411567538 M * Bertl i.e. vserver-stat shows processes? 1411567600 M * Igor2_ it says some processes are running 1411567614 M * Igor2_ # vserver build status 1411567614 M * Igor2_ Vserver 'build' is running at context '40001' 1411567614 M * Igor2_ Number of processes: 4 1411567615 M * Igor2_ Uptime: 00:31 1411567637 M * Bertl okay, then please run the 'enter' with --debug 1411567647 M * Bertl btw, nice name for a guest :) 1411567693 M * Igor2_ thanx, it will be for building some tools - i didn't name ti, sometimes it's a bit confusing in a command line 1411567713 M * Igor2_ there's a lot of output with --debug, uploading 1411567733 M * Igor2_ ohhh 1411567742 M * Igor2_ something strange's happened 1411567759 M * Igor2_ if i redirect the standard output of the enter command to a file, it doesn't fail anymore 1411567797 M * Bertl then the problem is most likely with your pts on the host 1411567807 M * Igor2_ # vserver build enter >/dev/null 1411567808 M * Igor2_ root@build:/# 1411567830 M * Igor2_ /dv/pts in the guest is still empty, tho 1411567835 M * Bertl and indeed, the kernel has DEVPTS_MULTIPLE_INSTANCES enabled 1411567851 M * Bertl try to ssh to the guest, it will allocate a pts 1411567859 M * Igor2_ and /proc is empty in the guest too 1411567878 M * Igor2_ should i disable DEVPTS_MULTIPLE_INSTANCES? 1411567881 M * Bertl hmm, do you have a mount line for /proc in the guest? 1411567890 M * Igor2_ (i enabled it trying to "fix" the problem) 1411567902 M * Bertl interesting 1411567914 M * Igor2_ ohh, actually even / is empty after i managed to enter it, haha 1411567919 M * Igor2_ yes, fstab has it, moment 1411567933 M * Igor2_ proc /proc proc defaults 0 0 1411567953 M * Bertl hmm, let's not jump to conclusions here, I presume you do ls to test/check 1411567969 M * Bertl and you redirected the output to /dev/null, so nothing will be shown 1411567970 M * Igor2_ yup 1411567984 M * Igor2_ hmm, but i do see the prompt 1411568007 M * Igor2_ http://igor2.repo.hu/tmp/debug.txt (--debug's stderr when it fails to enter) 1411568008 M * Bertl try ls / >/tmp/out 1411568011 M * Igor2_ i can redirect to a file and check 1411568033 M * Bertl or better, do not use /tmp as you probably won't see it from outside :) 1411568053 M * Igor2_ right, the output is in the file, prompt probably goes through another path 1411568058 M * Igor2_ hehe 1411568117 M * Bertl my best guess would be SELINUX or similar blocking the host pts 1411568148 M * Bertl try to install sshd (if not already installed) in the guest and ssh into it 1411568157 M * Bertl I'm pretty sure that will work just fine 1411568223 M * Igor2_ ok 1411568237 M * Igor2_ hmm, i don't need selinux so i can also try disabling it 1411568261 M * Bertl unless you want to configure it, I'd suggest to do so 1411568343 M * Igor2_ it was not intentional to have it enabled 1411568352 M * Igor2_ ( though it was off by default and didn't check) 1411568460 M * Igor2_ i'll wait the sshd install with the reboot, tho 1411568862 M * Igor2_ ssh fails with broken pipe - i think it can't get a pty either 1411568871 M * Igor2_ rebooting tot he no-selinux-kernel 1411568943 M * Igor2_ (ssh fails after accepting my password) 1411569088 M * Igor2_ disabling selinux didn't help, everything's the same 1411569103 M * Bertl ssh to the guest fails? 1411569126 M * Igor2_ yes, i get broken pipe after the password is accepted 1411569134 M * Igor2_ i believe sshd tries to allocate a pty too, but didn't check 1411569156 M * Bertl what device nodes are in your guest's /dev ? 1411569260 M * Igor2_ fd full log null ptmx pts random shm stderr stdin stdout tty urandom xconsole zero 1411569273 M * Igor2_ i am not even sure /dev is mounted 1411569301 M * Igor2_ yeah, /proc is not mounted either 1411569349 M * Bertl okay, can you do an ls -la on /path/to/guest/dev/ for me? 1411569378 M * Igor2_ on the host? 1411569446 M * Igor2_ http://igor2.repo.hu/tmp/lsdev 1411569451 M * Igor2_ this is what the host thinks 1411569506 M * Igor2_ same from within the guest 1411569532 M * Igor2_ so when i do a vserver build enter >somefile it doesn't really mount /dev and /proc i think 1411570171 M * Igor2_ even stranger 1411570183 M * Igor2_ on the host system the mounts change after starting the guest 1411570210 M * Igor2_ (among with other changes /dev/pts gets unmounted) 1411570282 M * Igor2_ may it be that some of the things that should happen in guest context happens to the host? 1411570316 M * Bertl that sounds like your isolation is not working properly 1411570339 M * Bertl what does vserver-info - SYSINFO give? 1411570430 M * Igor2_ http://igor2.repo.hu/tmp/sysinfo 1411570453 M * Bertl Use dietlibc: no (you have been warned) 1411570469 M * Bertl pleas build the tools with a recent dietlibc and try again 1411570490 M * Igor2_ ok 1411570644 M * Igor2_ did so, sysinfo changed, still get the same problems 1411570695 M * Bertl did you restart the guest? 1411570735 M * Igor2_ http://igor2.repo.hu/tmp/sysinfo2 1411570741 M * Igor2_ i reboot the host after each try 1411570757 M * Igor2_ because as the mounts gets messed up, who-knows-what-else, better to start with fresh env 1411570768 M * Bertl okay 1411570790 M * Bertl so starting the guest messes with your host's mounts? 1411570806 M * Igor2_ yup 1411570810 M * Bertl could you run the guest startup after a clean reboot with --debug and upload that? 1411570820 M * Igor2_ ok 1411570906 M * Igor2_ http://igor2.repo.hu/tmp/debug.start 1411570976 M * Bertl you have nonamespace in your guest's config? 1411570997 M * Igor2_ checking 1411571069 M * Igor2_ haven't found anything like that in any of the files under/etc/vservers/build 1411571084 M * Igor2_ context contains 40001 1411571096 M * Bertl + test -e /usr/local/etc/vservers/.defaults/nonamespace -o -e /usr/local/etc/vservers/build/nonamespace 1411571132 M * Bertl and after that, nonamespace is added, so I presume that either /usr/local/etc/vservers/.defaults/nonamespace or /usr/local/etc/vservers/build/nonamespace is set 1411571217 M * Igor2_ ran a find on nonamespace in /usr/local/etc and got empty output 1411571391 M * Igor2_ not even in file content 1411571448 M * Bertl daniel_hozac: how to check if a guest has nonamespace configured with the tools? 1411572577 J * Wermwud ~Wermwud@69-29-150-18.stat.centurytel.net 1411572578 M * Igor2_ strace output says ENOENT for any of the nonamespace files 1411572915 M * Igor2_ vserver (the shell script) calls itself with the ----nonamespace switch 1411572948 M * Bertl daniel_hozac will know more ... I have to leave but I'll be back later tonight 1411572953 N * Bertl Bertl_oO 1411572983 M * Igor2_ thank you 1411573008 M * Igor2_ it happens after the comment # Create a new namespace when starting the guest 1411573211 M * Igor2_ i should go home too, bbl 1411577190 M * Igor2_ carpoon_ points out that systemd may interfere 1411577202 M * Igor2_ unfortunately i do have systemd on the host 1411577348 M * Igor2_ does anyone have experience with this? 1411578152 M * Igor2_ trying to remove systemd in the meantime, hope i can boot the host after this 1411578168 J * FireEgl ~FireEgl@173-23-76-11.client.mchsi.com 1411578494 M * Igor2_ ... and it solved the problem 1411578507 M * Igor2_ so off went systemd and fresh new sysvinit-core 1411578509 M * Igor2_ reboot 1411578529 M * Igor2_ problem's gone as far as i can tell: can start, enter, leave, host filesystems are intact, no error message anywhere 1411578562 M * Igor2_ carpoon_ suggests it might be related to cgroup somehow 1411578591 M * Igor2_ (on the long run i'm fine with the current solution, i mean i prefer sysvinit over systemd anyway) 1411578652 J * bonbons ~bonbons@2001:a18:22a:2201:ac4f:71d4:99b3:1144 1411580678 M * Igor2_ anyway, i'm off for today; Bertl, thanks for the support! 1411580680 Q * Igor2_ Quit: Leaving 1411584346 J * zerick ~eocrospom@190.118.28.252 1411588701 Q * kiorky Remote host closed the connection 1411591868 Q * distemper Ping timeout: 480 seconds 1411591945 Q * bonbons Quit: Leaving 1411592178 J * kiorky ~kiorky@cryptelium.net 1411592223 J * distemper ~user@2001:4dd0:ff00:9484:3f2f:58c8:2997:3dd2 1411592779 Q * sannes Remote host closed the connection 1411594942 N * Bertl_oO Bertl 1411594944 M * Bertl back now ... 1411597462 Q * Ghislain Quit: Leaving. 1411602072 Q * Wermwud Quit: Leaving (Please imagine me slamming the door on my way out)