Subject: guests in centos 5.8
From: "Erik Pepermans" <cpu1@telenet.be>
Date: Fri, 9 Nov 2012 13:43:04 +0100
Fri, 9 Nov 2012 13:43:04 +0100
Hi,

 

Have installed latest version of vserver and vserver-utils after having
below problem, but problem remains in the latest version as well :

 

Tried to install new guest on centos 5.8 system (has worked before) :

 

#vserver events build -m yum --hostname events.goetze.be --interface
eth0:192.168.3.104/24 -- -d centos5

 

Gives :

 

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                             i686                        2.5-81.el5_8.7
updates                      5.4 M

glibc                             x86_64                      2.5-81.el5_8.7
updates                      4.8 M

Installing for dependencies:

basesystem                        noarch
8.0-5.1.1.el5.centos                        base                         2.8
k

filesystem                        x86_64
2.4.0-3.el5.centos                          base                         1.0
M

glibc-common                      x86_64                      2.5-81.el5_8.7
updates                       16 M

libgcc                            x86_64
4.1.2-52.el5_8.1                            updates                       99
k

setup                             noarch                      2.5.58-9.el5
base                         125 k

tzdata                            x86_64                      2012f-1.el5
updates                      779 k

 

Transaction Summary

============================================================================
==================================================================

Install       8 Package(s)

Upgrade       0 Package(s)

 

Total download size: 29 M

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 360, in
callback

  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 397, in
_transStart

  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 340, 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/events/..'

error: python callback <bound method RPMTransaction.callback of
<yum.rpmtrans.RPMTransaction instance at 0x1f0bcb0>> failed, aborting!

 

Please help



Hi,

 

Have installed latest version of vserver and vserver-utils after having below problem, but problem remains in the latest version as well :

 

Tried to install new guest on centos 5.8 system (has worked before) :

 

#vserver events build -m yum --hostname events.goetze.be --interface eth0:192.168.3.104/24 -- -d centos5

 

Gives :

 

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                             i686                        2.5-81.el5 8.7                              updates                      5.4 M

glibc                             x86 64                      2.5-81.el5 8.7                              updates                      4.8 M

Installing for dependencies:

basesystem                        noarch                      8.0-5.1.1.el5.centos                        base                         2.8 k

filesystem                        x86 64                      2.4.0-3.el5.centos                          base                         1.0 M

glibc-common                      x86 64                      2.5-81.el5 8.7                              updates                       16 M

libgcc                            x86 64                      4.1.2-52.el5 8.1                            updates                       99 k

setup                             noarch                      2.5.58-9.el5                                base                         125 k

tzdata                            x86 64                      2012f-1.el5                                 updates                      779 k

 

Transaction Summary

==============================================================================================================================================

Install       8 Package(s)

Upgrade       0 Package(s)

 

Total download size: 29 M

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 360, in callback

  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 397, in transStart

  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 340, 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/events/..'

error: python callback <bound method RPMTransaction.callback of <yum.rpmtrans.RPMTransaction instance at 0x1f0bcb0>> failed, aborting!

 

Please help