On Fri, Nov 09, 2012 at 01:43:04PM +0100, Erik Pepermans wrote: > 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). sounds like that is what you want to do first, if the issue remains after that, I'm sure Daniel will be happy to take a look > 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/..' IMHO it's a good thing that /vservers/events/.. exists, the main question is why does it upset yum and why does python? claim it's a file? best, Herbert > error: python callback <bound method RPMTransaction.callback of > <yum.rpmtrans.RPMTransaction instance at 0x1f0bcb0>> failed, aborting! > Please help