Re: [vserver] Centos7

From: Gordan Bobic <gordan_at_bobich.net>
Date: Fri 23 Sep 2016 - 19:17:29 BST
Message-ID: <fc004c5f-d1db-df55-86a2-eca441f45768@bobich.net>

On 23/09/16 16:16, Ron Jeremy wrote:
>> There is no problem installing all the Centos7 stuff in
>
>> Linux-VServer guests, and you can even use all the fancy
>> new libraries, programs and applications.
>
> Wait, so you are saying that it is possible to get a Centos7 guest
> installed and working? This is on a Centos6 host.
>
> I have searched far and wide trying to get it to work.
> linux-vserver.org has something on getting Centos6 but not Centos7. I
> managed to get a Centos6 guest installed awhile back with a
> custom CentOS-Base.repo
> in /usr/share/util-vserver/distributions/centos6/yum.repos.d and then
> running:
>
> vserver myvserver build -m yum --hostname
> myvserver.domain.at --interface eth0:192.168.1.93/24 -- -d centos6
>
> I used the same technique to try it for Centos7, but I get "Error
> unpacking rpm package filesystem-3.2-20.el7.x86_64". I figured that
> might have something to do with systemd.

No, that's because EL6 yum doesn't know how to extract EL7 RPMs. IIRC
EL6 rpms are gzip compressed, while EL7 rpms are xz compressed.

> When running the build
> command I get the "You are using a version of yum which is insecure and
> broken in chroot" message. I figured it was worth a try doing the yum
> patch but the patch links at http://linux-vserver.org/Yum-patch are broken.

That's safe to ignore. There seems to be no interest in keeping a repo
with patched EL6 yum, even though there is a repo with the patched EL6
kernels.
Received on Fri Sep 23 19:15:46 2016

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 23 Sep 2016 - 19:15:46 BST by hypermail 2.1.8