Re: [vserver] LV and CentOS 6

From: Gordan Bobic <gordan_at_bobich.net>
Date: Wed 31 Aug 2011 - 16:45:27 BST
Message-ID: <3750bb56d2d833b75ea7189acc00061f@mail.shatteredsilicon.net>

 Sounds about right - you'll have to figure out what the failing hunks
 do and edit them into the relevant files manually. It's not difficult if
 you have a rudimentary understanding of programming in just about any
 language.

 Gordan

 On Wed, 31 Aug 2011 16:13:06 +0100 (BST), "--[ UxBoD ]--"
 <uxbod@splatnix.net> wrote:
> Thanks Gordan,
>
> Have tried with the SVN patch and it failed after the couple of
> hunks:
>
> Patch #7 (yum-3.2.27_el6-chroot.patch):
> + /bin/cat
> /home/compuser/rpmbuild/SOURCES/yum-3.2.27_el6-chroot.patch
> + /usr/bin/patch -s -p1 --fuzz=0
> 2 out of 5 hunks FAILED -- saving rejects to file yum/config.py.rej
> 1 out of 1 hunk FAILED -- saving rejects to file yum/history.py.rej
> 4 out of 5 hunks FAILED -- saving rejects to file yum/rpmsack.py.rej
>
> I split out the patch for history.py, as it was the smallest, and
> tried applying it manually in-case it was an ordering issue but that
> failed as-well. Looks like have to take the patch apart unless I am
> missing something. For reference I am using:
>
> Kernel: 2.6.32-131.12.1.el6.vs2.3.0.36.29.6.18.x86_64
> Yum : yum-3.2.27-14.el6.centos.noarch
> Patch : yum-3.2.27_el6-chroot.patch
> --
> Thanks, Phil
>
> ----- Original Message -----
>> You will most likely have to install the src rpm, patch it (and some
>> patch porting is likely to be required - I've never seen it patch
>> cleanly out of the box yet on any Fedora/RedHat version), update
>> the
>> spec file to apply the modified patch and rebuild the package.
>>
>> Gordan
>>
>>
>> On Wed, 31 Aug 2011 11:17:59 +0100 (BST), "--[ UxBoD ]--"
>> <uxbod@splatnix.net> wrote:
>> > kernel and util-vserver installed okay on CentOS6. Is there an rpm
>> > for yum chroot or does one need to build from source ?
>> > --
>> > Thanks, Phil
>> >
>> > ----- Original Message -----
>> >> Daniel Hokka Zakrisson wrote:
>> >> > Roderick A. Anderson wrote:
>> >> >> Roderick A. Anderson wrote:
>> >> >>> Now that CentOS 6 is available and I have an opportunity
>> build
>> >> >>> a
>> >> >>> system
>> >> >>> from scratch I was checking on options to do this.
>> >> >>>
>> >> >>> Nothing on the web site yet so I thought I'd look at Daniel's
>> >> >>> repo to
>> >> >>> see if he's found the tuits to build a new kernel and
>> >> >>> util-vserver*
>> >> >>> packages. Problem is I can't reach the site.
>> >> >>>
>> >> >>> So this is a two for one: Daniel, is rpm.hozac.com having
>> >> >>> problems?
>> >> >>>
>> >> >>> And has anyone taken, or planning on taking, the CentOS 6
>> >> plunge?
>> >> >> Well I'm getting the pieces in place but have some questions.
>> >> >>
>> >> >> The plan:
>> >> >>
>> >> >> 1. Install CentOS 6 from the minimal CD/DVD.
>> >> >> 2. Update to the LV kernel from Daniel's repo.
>> >> >>
>> >> >> The questions:
>> >> >>
>> >> >> 1. The repo only has CentOS 4 and 5 listed. What tricks
>> do
>> >> >> I
>> >> >> have to
>> >> >> use the repo for CentOS 6? (Sorry Daniel if this is
>> >> >> still
>> >> >> a work
>> >> >> in progress and I'm getting ahead of the game.)
>> >> >
>> >> > http://rpm.hozac.com/dhozac/rhel/6/vserver/
>> >> >
>> >> >> 2. Will the *el6* SRPMS work for CentOS 6?
>> >> >
>> >> > Depends on which ones you're talking about. The ones on the
>> >> > above
>> >> > URL,
>> >> > yes. The ones in the 5 repo? No.
>> >>
>> >> OK. Do I need to munge the .repo file to point to the rhel
>> >> directory
>> >> instead of the centos?
>> >>
>> >> >> 3. And what are the *dhz* packages -- mkinitrd and yum --
>> >> for?
>> >> >
>> >> > mkinitrd is to make the 2.6.32 kernel work on RHEL/CentOS 5.
>> The
>> >> > provided
>> >> > mkinitrd doesn't know the correct module names etc. yum has the
>> >> > chroot
>> >> > patch applied which makes it work for building guests.
>> >>
>> >> Could explain why I've had failed install/updates. Nothing
>> >> critical
>> >> but
>> >> has kept me from moving forward.
>> >>
>> >> Do I need the mkinitrd package if I'm using your rhel6 RPMs and
>> >> not
>> >> building the from SRPMs?
>> >>
>> >>
>> >> Rod
>> >> --
>> >>
>> >>
>>
>>
Received on Wed Aug 31 16:45:45 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 31 Aug 2011 - 16:45:45 BST by hypermail 2.1.8