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

From: John Alberts <john.m.alberts_at_gmail.com>
Date: Fri 03 Apr 2009 - 16:47:00 BST
Message-ID: <a23b6f900904030847x51e59f06u51f329065df9a0c5@mail.gmail.com>

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?

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).

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

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 16:47:18 2009
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 03 Apr 2009 - 16:47:21 BST by hypermail 2.1.8