On Tue, Jan 26, 2010 at 05:03:07PM +0100, Christian Affolter wrote:
> 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:192.168.1.55/24 \
> -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
> (preferred).
did you try with a patched yum as suggested?
TIA,
Herbert
> 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
> file:///etc/vservers/fedora-01/apps/pkgmgmt/base/yum/etc/yum-hack.conf
>
>
> 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.
>
> Configuration:
> Kernel: 2.6.31-vs2.3.0.36.19-gentoo
> 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
> Christian
Received on Tue Jan 26 17:03:47 2010