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.

> 6 juni 2018 kl. 14:36 skrev Stefan Eriksson <ste...@eriksson.cn>:
> 
> 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> here's the fix:
> <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
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

Reply via email to