1635726116 Q * DelTree Ping timeout: 480 seconds 1635729419 J * DelTree ~deplagne@2a00:c70:1:213:246:56:18:2 1635744565 J * Ghislain ~ghislain@apollo-4300-51.titandc.io 1635752407 M * Bertl off to bed now ... have a good one everyone! 1635752408 N * Bertl Bertl_zZ 1635754413 M * slarvern AlexanderS: downloaded : -rw-r--r-- 1 root root 138246 Jul 7 2017 libvserver0_0.30.216-pre3126-1_amd64.deb 1635754414 M * slarvern -rw-r--r-- 1 root root 215820 Jul 7 2017 util-vserver_0.30.216-pre3126-1_amd64.deb 1635754414 M * slarvern -rw-r--r-- 1 root root 209516 Jul 7 2017 util-vserver-build_0.30.216-pre3126-1_amd64.deb 1635754414 M * slarvern -rw-r--r-- 1 root root 219874 Jul 7 2017 util-vserver-core_0.30.216-pre3126-1_amd64.deb 1635754422 M * slarvern looks ok? 1635754498 M * AlexanderS slarvern: Yes, seems okay. 1635754544 M * slarvern Did a "dpkg --install *.deb", got some warnings about downgrading. Will test it now. 1635754728 M * slarvern Well, " vserver buildbuster64 start" doesn't unmount /proc anymore, but the vserver won't start. I guess something with the init script, mainly because it says "it is very likely that the init-script () failed" :-) 1635754844 M * slarvern Checking the --debug output (huge) now. A slight glance didn't show any complaints about a lock file. 1635755059 M * slarvern (NB: this is buster on buster. I.e debian "buster" as host and a debootstrap buster image). 1635755198 M * slarvern Looks like the last thing that is executed is "/usr/bin/nice -n 0 /usr/sbin/chbind --silent --secure --nid .... (+ enormous amount of other --options)" which result in "No command given; use '--help' for more information." 1635755408 M * slarvern Hmm... /etc/vservers/buildbuster64/interfaces/ is empty. I did not specify an interface when building the guest. Yeah about that; "ip addr sh" shows not eth0: but rather "enp0s25:". Would that cause problems? 1635756270 Q * fstd_ Remote host closed the connection 1635756302 M * slarvern Removed the gusest, making a new install of buster. Might fix missing interface (chbind failing) and other things maybe? Who knows? 1635756429 J * fstd ~fstd@xdsl-81-173-152-177.nc.de 1635756920 Q * fstd Remote host closed the connection 1635756934 M * Guy- slarvern: you probably want to run some non-systemd init system in the guest 1635756959 J * fstd ~fstd@xdsl-81-173-152-177.nc.de 1635756962 M * Guy- slarvern: runit works very well for me, fwiw 1635756970 M * Guy- it's available in Debian 1635757025 M * slarvern You don't think it has something to do with that the network interface is named "enp0s25:", not eth0:? From the debug output it looks like it fails on chbind. 1635757082 M * Guy- if interfaces/ is empty, then it shouldn't matter 1635757135 M * Guy- it looks more like chbind was invoked without a specific command to run 1635757141 M * Guy- hence the error message 1635757152 M * Guy- maybe you can share the entire chbind command line? 1635757267 M * slarvern I'll have to paste from a putty window so there will be some odd line breaks but here we go: 1635757270 M * slarvern ++ /usr/bin/nice -n 0 /usr/sbin/chbind --silent --secure --nid 2000 --ip 192.168.10.9/24 /usr/lib/x86_64-linux-gnu/util-vserver/exec-ulimit /etc/vservers/buildbuster642/ulimits /usr/sbin/vtag --create --tag 2000 --silent -- /usr/sbin/vspace --new --default -- /usr/sbin/vcontext --create --silent --xid 2000 -- /usr/sbin/vspace --mount --fs --set -- /usr/sbin/vspace --set --default -- /usr/lib/x86_64-linux-gnu/util-vserver/exec-re 1635757270 M * slarvern mount /proc /sys -- /usr/sbin/vlimit --dir /etc/vservers/buildbuster642/rlimits --missingok -- /usr/sbin/vsched --xid self --force -- /usr/lib/x86_64-linux-gnu/util-vserver/vsysctl --xid self --dir /etc/vservers/buildbuster642/sysctl --missingok -- /usr/sbin/vuname --xid self --dir /etc/vservers/buildbuster642/uts --missingok -- /usr/sbin/vmemctrl --xid self --set -- /usr/sbin/vuname --xid self --set -t context=/etc/vservers/bui 1635757271 M * slarvern ldbuster642 -- /usr/sbin/vattribute --set --secure --flag default --flag fakeinit -- /usr/lib/x86_64-linux-gnu/util-vserver/save_ctxinfo /etc/vservers/buildbuster642 /usr/bin/env -i PATH=/bin:/usr/bin:/sbin:/usr/sbin PREVLEVEL=N RUNLEVEL=3 /usr/sbin/vcontext --migrate-self --endsetup --pivot-root --closefd --silent -- 1635757275 M * slarvern No command given; use '--help' for more information. 1635757340 M * slarvern I gave this guest an ip, 192.168.10.9. It still fails here. 1635757444 M * slarvern Oh sorry, it's not a bunch of options to chbind. It's options to nice right? 1635757585 M * slarvern So one of these commands result in "No command given; use '--help' for more information." 1635758610 M * slarvern A clean build of stretch (debian 9) as guest works. 1635759078 M * Guy- there should be a command like /sbin/init or similar after the las -- 1635759080 M * Guy- *last 1635759121 M * Guy- the error message comes from vcontext 1635759138 M * Guy- you could try with initstyle=plain 1635759233 M * slarvern Heh, that worked, kind of. 1635759361 M * slarvern I edited "/etc/vservers/buildbuster642/apps/init/style" and set it to plain. "vserver buildbuster642 start" now outputs nothing at all. vserver-stat shows it's running! 1635759391 M * slarvern but look at this: root@j2dc7800:/home/j2admin# vserver buildbuster642 enter 1635759391 M * slarvern root@j2dc7800:/# 1635759437 M * slarvern (Note: ended up with same prompt, but I'm inside buildbuster642) 1635759730 M * slarvern Also, starting "buildstretch" says "starting rsyslogd" and "cron". 1635759758 M * slarvern But "buildbuster" is totally silent. Like it doesn't run any startup scripts. 1635760296 M * Guy- maybe it doesn't have any, because systemd? 1635760316 M * Guy- I never use the default initstyle with vserver, so I don't know what it would run 1635760386 M * slarvern Isn't that in the stuff in /etc/rc0.d? 1635760402 M * slarvern (and other rc*.d) 1635760546 M * Guy- rcS.d, then rc2.d, but yes 1635760558 M * Guy- but maybe it looks for some helper program to invoke the scripts with 1635760645 M * slarvern so assuming I'd like to start up e.g apache inside the guest when it is started, I can't use the style=plain right? 1635760708 M * Guy- you can, but you need some /sbin/init inside the guest that starts apache for you 1635760716 M * Guy- in my case, that's runit 1635760764 M * Guy- if all you want to run in the guest is apache (no cron etc.), you could just put a script there that starts apache (or, better yet, tell util-vserver to start your script instead of /sbin/init -- there must be a way to specify the location of the init program) 1635761364 M * AlexanderS sysvinit from debian does work for guests, but there is a patch required for merged-usr support. 1635761577 M * AlexanderS This one: http://sprunge.us/mi2oCA 1635763291 M * Guy- slarvern: the above patch looks like something that might fix your "no command given" issue 1635763416 M * slarvern Ah, ok. I'm writing a short "howto" (or rather "this is how I remember I did it and it works"). I hope I'll get the steps right. I'll give the link here if anyone feel for proof-reading. 1635767499 M * slarvern I think this will work, but I haven't done it all from scratch again (because I'm lazy) to verify all the steps: http://j2.twinspot.net/index.php/support/repairs-and-tricks/36-vserver-buster 1635770330 M * Guy- slarvern: how about contributing to the linux-vserver wiki instead? 1635770839 M * slarvern I don't know if I'm wrong. It might be that this "dangling link" business (/var/lock -> /run/lock, should possibly be /var/lock -> /var/run/lock) that is the main problem. 1635770888 M * slarvern I don't want to pollute a wiki with my recepie which might be overworked. 1635771870 M * slarvern Has anyone tested with Debian 11 (bullseye), the "current stable" 1635771874 M * slarvern ? 1635771960 M * Guy- I use sid, so maybe? but then I use runit, not systemd or sysvinit 1635772276 M * slarvern If you do, the original packages shipped with Buster should have worked. Maybe I should really do a reinstall and try it again. 1635772330 M * Guy- I also use util-vserver packages I built from dhozac's sources, not the ones shipped by Debian 1635772407 M * slarvern If the broken /var/lock link caused the unmounting of /proc it may be that the ones in the distribution actually works (if you fix the symlink and patch /usr/share/util-vserver/vserver.functions). 1635772437 M * slarvern Now I got curious. 1635772788 M * slarvern Hm, util-vserver is only present in buster (oldstable). 1635772867 M * Guy- the specific version I use is 0.30.216-pre3131-3 1635772877 M * Guy- (self-built package) 1635772915 M * slarvern The one in buster is 0.30.216-pre3120-1.4+b11. 1635773188 Q * Ghislain Quit: Leaving. 1635780717 M * slarvern Ok, just verified that the util-vserver packaged in debian Buster (or possibly Ben G's) unmounts /proc and also removes a directory /run/lock on the host when starting a guest. It then leaves the guest running, but you can't stop it with "vserver stop". 1635780785 M * slarvern I've written a recepy on how to recover and work around it here:http://j2.twinspot.net/index.php/support/repairs-and-tricks/36-vserver-buster 1635781408 N * Bertl_zZ Bertl 1635781411 M * Bertl morning folks! 1635781435 M * slarvern Bertl: Thanks for the help. It works now! 1635781462 M * Bertl ah, good to hear! did your son find more interest today and fixed everything? :) 1635781499 M * slarvern Ah, he just got home again. I'm writing on borrowed time here. 1635781629 M * slarvern He's still fixated by Lego and the iPad. I've tried to introduce cross compilers, debian and vservers but somehow it's not as important to him. 1635781644 M * slarvern Maybe it wasn't to mee either when I was 5. 1635781667 M * slarvern odd. 1635781680 M * Bertl well, when I was 5, the iPad wasn't an option ;) 1635781700 M * Bertl so, consider this a progress ... 1635781738 M * slarvern No but we had crt tv's. And look how we turned out. 1635781807 M * Bertl indeed. 1635781910 M * slarvern Well, I have written a bit about my findings here: http://j2.twinspot.net/index.php/support/repairs-and-tricks/36-vserver-buster . I didn't want to pollute the wiki but still someone might find it useful. Thanks again! 1635782011 M * Bertl Thanks, appreciated! Enjoy Linux-VServer! 1635785984 Q * khyr0n Quit: Leaving 1635785995 J * khyr0n ~khyr0n@2806:2f0:9280:cf20:506d:ee7:bf3e:3a32 1635791995 M * Bertl off for now ... bbl 1635791997 N * Bertl Bertl_oO