Discussion:
[Users] Any chance of ubuntu 18.04 support on openvz 6 ?
Narcis Garcia
2018-06-06 14:02:10 UTC
Permalink
I've tried in Devuan 1 (running OpenVZ6):

$ cd /usr/share/debootstrap/scripts
$ sudo ln -s bionic gutsy
$ sudo ctcreate create ovz 777 ubuntu bionic 18.04 amd64
...
I: Extracting zlib1g...
W: Failure trying to run: chroot /var/lib/vz/private/777 mount -t proc
proc /proc
W: See /var/lib/vz/private/777/debootstrap/debootstrap.log for details
Command was:
debootstrap --arch=amd64 --include=net-tools,ifupdown bionic
/var/lib/vz/private/777 http://archive.ubuntu.com/ubuntu
Partial content (you can remove) is at: /var/lib/vz/private/777
$ sudo cat /var/lib/vz/private/777/debootstrap/debootstrap.log
FATAL: kernel too old
Hi
Long time user of openvz and I wonder if there is any ongoing effort to
support ubuntu 18.04 on openvz6 ?
I tried to build a template and the server boots ok but services are
not. I get
Function not implemented
Function not implemented
systemd-logind.service: Failed at step LIMITS spawning
/lib/systemd/systemd-logind: Function not implemented
According to snajpa there is a fix for ubuntu 18.04
<dowdle> snajpa: It does appear journald is non-functional.
<dowdle> snajpa: Restarting it to see boot messages.  Will provide
desired output RSN.
<snajpa> I would be really surprised if it just worked for you
<snajpa>
https://github.com/snajpa/openvz6-kernel/commit/d4f4ffa6e5f7b0cc497a3ecaa6b984b3ffadc4f9
<snajpa> prlimit64 was it, ok :D
Is it something you might QA and perhaps realease in next kernel?
_______________________________________________
Users mailing list
https://lists.openvz.org/mailman/listinfo/users
Stefan Eriksson
2018-06-07 06:21:56 UTC
Permalink
Hi

I’ve tested the below patch in a lab and it does work, here is how if anyone is interested

in /etc/vz/osrelease.conf add at least.
ubuntu-18.04 4.14.0
ubuntu-16.04 4.14.0

disable openvz kernel repo and enable:

[vpsfree]
name=vpsFree.cz package repository - testing
baseurl=http://repo.vpsfree.cz/testing/
enabled=1
gpgcheck=0

yum clean all
yum install vzkernel

no install a ubuntu16.04 template and upgrade to bionic.

#credits to snajpa on #openvz (irc)


@openvz team, it would be great if you could backport this syscall (https://github.com/snajpa/openvz6-kernel/commit/d4f4ffa6e5f7b0cc497a3ecaa6b984b3ffadc4f9) to the official kernel so we can have ubuntu 18.04 support.

best regards.
Hi
Long time user of openvz and I wonder if there is any ongoing effort to support ubuntu 18.04 on openvz6 ?
I tried to build a template and the server boots ok but services are not. I get
systemd-udevd.service: Failed to adjust RLIMIT_RTPRIO resource limit: Function not implemented
systemd-journald.service: Failed to adjust resource limit LimitNOFILE: Function not implemented
systemd-logind.service: Failed at step LIMITS spawning /lib/systemd/systemd-logind: Function not implemented
According to snajpa there is a fix for ubuntu 18.04
<dowdle> snajpa: It does appear journald is non-functional.
<dowdle> snajpa: Restarting it to see boot messages. Will provide desired output RSN.
<snajpa> I would be really surprised if it just worked for you
<snajpa> https://github.com/snajpa/openvz6-kernel/commit/d4f4ffa6e5f7b0cc497a3ecaa6b984b3ffadc4f9
<snajpa> prlimit64 was it, ok :D
Is it something you might QA and perhaps realease in next kernel?
_______________________________________________
Users mailing list
https://lists.openvz.org/mailman/listinfo/users
Loading...