[vserver] yum build (fedora-10) fails on Gentoo host

From: Christian Affolter <c.affolter_at_stepping-stone.ch>
Date: Tue 26 Jan 2010 - 16:03:07 GMT
Message-ID: <4B5F123B.5000704@stepping-stone.ch>

Hello everyone,

I'm trying to build a fedora-10 guest on a Gentoo host using the yum
method (-m yum):

vserver fedora-01 build \
  --context 10997 \
  --hostname fedora-01.example.com \
  --interface 9970=eth0: \
  -m yum -- \
    -d f10

This fails with the following error message:
error: can't create transaction lock on /vservers/example.com/fedora-01
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

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

CRITICAL:yum.cli:Config Error: Error accessing file for config

However I'm able to output the content of the config file (cat
"$YUMETCDIR/${YUM_CONF:-$conf}") before the rpmFake.exec command within
the /usr/lib/util-vserver/vyum-worker script. Therefore the file seems
to exist.

Kernel: 2.6.31-vs2.
util-vserver: 0.30.216_pre2864
python: 2.6.4
bash: 4.0_p35
yum: 3.2.8-r1
rpm: 4.4.6-r6

Thanks for any help!

Kind regards
Received on Tue Jan 26 16:03:35 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 26 Jan 2010 - 16:03:37 GMT by hypermail 2.1.8