Re: [vserver] Can't install Centos guest after 5.3 upgrade

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Fri 03 Apr 2009 - 17:32:41 BST
Message-ID: <20090403163241.GC26520@MAIL.13thfloor.at>

On Fri, Apr 03, 2009 at 10:47:00AM -0500, John Alberts wrote:
> Hi. I have a CentOS host that I recently upgraded from 5.1 to 5.3.
> All of the guests that I currently have on their have been built the
> same way (using the yum build method). Today, and I get a warning at
> the beginning about yum needing to be patched. It then tries to build
> the guest but fails. Does anyone have any idea how I can fix this
> please?

well, my guess would be to patch yum :)

> Here's the output of trying to install a guest:
>
> [root@vserver vservers]# vserver chidns01lsna build -m yum --context
> 1002 --hostname chidns01lsna.mydomain.com --interface eth0:10.1.1.1/24
> -- -d centos5
> You are using a version of yum which is insecure and broken in chroot
> related operations; either apply the patches shipped in the 'contrib/'
> directory of util-vserver, or ask the author of yum to apply them
> (preferred).

sounds quite descriptive to me ... no?

> In the meantime, 'vyum' will continue with dirty hacks which might not
> work when the vserver is running and local DOS attacks are possible.

best,
Herbert

> Execution will continue in 5 seconds...
>
> ================================================================================
> Package Arch Version Repository Size
> ================================================================================
> Installing:
> glibc x86_64 2.5-34 base 4.7 M
> glibc i686 2.5-34 base 5.2 M
> Installing for dependencies:
> basesystem noarch 8.0-5.1.1.el5.centos base 2.8 k
> filesystem x86_64 2.4.0-2.el5.centos base 117 k
> glibc-common x86_64 2.5-34 base 16 M
> libgcc x86_64 4.1.2-44.el5 base 96 k
> setup noarch 2.5.58-4.el5 base 124 k
> tzdata noarch 2008i-1.el5 base 756 k
>
> Transaction Summary
> ================================================================================
> Install 8 Package(s)
> Update 0 Package(s)
> Remove 0 Package(s)
>
> Total download size: 27 M
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 366, in callback
> File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 400,
> in _transStart
> File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 343, in ts_all
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 156, in makedirs
> File "/usr/lib64/python2.4/os.py", line 159, in makedirs
> OSError: [Errno 17] File exists: '/vservers/chidns01lsna/..'
> error: python callback <bound method RPMTransaction.callback of
> <yum.rpmtrans.RPMTransaction instance at 0x110c758>> failed, aborting!
>
>
>
> --
> John Alberts
Received on Fri Apr 3 17:34:27 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 03 Apr 2009 - 17:34:32 BST by hypermail 2.1.8