[Users] OVZ6 boot freeze on Debian 8

Narcis Garcia informatica at actiu.net
Mon Jul 10 19:21:10 MSK 2017


StalkR:
Can you confirm your boot works after running this?
$ update-initramfs -u -k 2.6.32-openvz-042stab123.9-amd64


El 10/07/17 a les 10:01, StalkR ha escrit:
> I've been running OpenVZ legacy on Debian 6/7/8 and now 9
> (hosts+containers), works fine. Note I compile my own kernels.
> I recall I had a similar boot freeze in Debian 8, and fixed it by
> installing sysvinit too, but I never copied the inittab and instead
> choose the secondary boot menu (setting init=/lib/sysvinit/init) and
> since then it worked. I upgraded to Debian 9 and still works fine
> (hosts+containers). Try?
> 
> And something to be aware: over time I noticed more problems with
> systemd/openvz: systemd-init not cleaning zombies after a while,
> systemd-tmpfiles boot lockup, systemd-logind timeouts for ssh in
> containers, etc. so recently I removed systemd from a Debian 9 host
> (start with this
> <http://without-systemd.org/wiki/index.php/Debian_Stretch>) and so far
> so good, I need to do it on more hosts and try with containers too.
> 
> I'm also in the process of trying OpenVZ 7 with Debian, so far I have a
> working kernel and I'm trying to get the userland tools working...
> 
> On Mon, Jul 10, 2017 at 8:52 AM, Vasily Averin <vvs at virtuozzo.com
> <mailto:vvs at virtuozzo.com>> wrote:
> 
>     Dear Narcis,
>     thank you very much!
> 
>     On 2017-07-09 20:41, Narcis Garcia wrote:
>     > To nobody has to add virtualization layers, I've created this
>     guide page:
>     > https://openvz.org/Installation_on_Debian_8
>     <https://openvz.org/Installation_on_Debian_8>
>     >
>     > Thanks.
>     >
>     > El 09/07/17 a les 16:43, Philipp Born ha escrit:
>     >> Hi,
>     >>
>     >> you could try to create your underlying ext4 filesystems on an older
>     >> system with 2.6.32 kernel (CentOS6 live iso for example).
>     >>
>     >> Ran into a similar issue earlier this week, where the PCS6 kernel
>     wasn't
>     >> able to work with an ext4 that was created on a more-recent kernel.
>     >>
>     >> Regards
>     >> Philipp
>     >>
>     >> On 08.07.2017 17:57, Narcis Garcia wrote:
>     >>> Pre-requisite for a Debian 8 (jessie) host is:
>     >>> $ apt-get install sysvinit-core sysvinit-utils
>     >>> $ cp /usr/share/sysvinit/inittab /etc/inittab
>     >>>
>     >>> Then OpenVZ Legacy seems to work perfectly.
>     >>> (For Debian 9 it doesn't seem to be enough)
>     >>>
>     >>>
>     >>> El 08/07/17 a les 16:22, Narcis Garcia ha escrit:
>     >>>> Install procedure:
>     >>>>
>     >>>> RepoFile=/etc/apt/sources.list.d/openvz.list
>     >>>> RepoUrl=http://download.openvz.org/debian
>     <http://download.openvz.org/debian>
>     >>>> echo "deb $RepoUrl jessie main" | sudo tee "$RepoFile"
>     >>>> echo "deb $RepoUrl wheezy main" | sudo tee -a "$RepoFile"
>     >>>> wget -qO - http://ftp.openvz.org/debian/archive.key
>     <http://ftp.openvz.org/debian/archive.key> | sudo apt-key add -
>     >>>> sudo apt-get --allow-unauthenticated update
>     >>>> KPackage="linux-image-openvz-$(dpkg --print-architecture)"
>     >>>> sudo apt-get install $KPackage ploop initramfs-tools
>     >>>> if [ ! -d /vz ] ; then sudo ln -s /var/lib/vz/ /vz ; fi
>     >>>> sudo reboot
>     >>>>
>     >>>> Attaching screenshots.
>     >>>>
>     >>>> - Tested with 042stab123.9 both with i386 and amd64 architectures.
>     >>>> - [Control]+[Alt]+[Delete] reboots normally.
>     >>>>
>     >>>>
>     >>>>
>     >>>> _______________________________________________
>     >>>> Users mailing list
>     >>>> Users at openvz.org <mailto:Users at openvz.org>
>     >>>> https://lists.openvz.org/mailman/listinfo/users
>     <https://lists.openvz.org/mailman/listinfo/users>
>     >>>>
>     >>> _______________________________________________
>     >>> Users mailing list
>     >>> Users at openvz.org <mailto:Users at openvz.org>
>     >>> https://lists.openvz.org/mailman/listinfo/users
>     <https://lists.openvz.org/mailman/listinfo/users>
>     >>>
>     >>
>     > _______________________________________________
>     > Users mailing list
>     > Users at openvz.org <mailto:Users at openvz.org>
>     > https://lists.openvz.org/mailman/listinfo/users
>     <https://lists.openvz.org/mailman/listinfo/users>
>     >
>     _______________________________________________
>     Users mailing list
>     Users at openvz.org <mailto:Users at openvz.org>
>     https://lists.openvz.org/mailman/listinfo/users
>     <https://lists.openvz.org/mailman/listinfo/users>
> 
> 


More information about the Users mailing list