Subject: Re: [vserver] searching for vserver template
From: Chuck <chuck@sbbsnet.net>
Date: Wed, 29 Sep 2010 16:13:38 -0400

On Wednesday, September 29, 2010, Daniel Hokka Zakrisson wrote:
> 
> Chuck wrote:
> > On Wednesday, September 29, 2010, Daniel Hokka Zakrisson wrote:
> >> Chuck wrote:
> >> > i have a need for a modern redhat/fedora or suse vserver template 64bit. must
be
> > 64bit. i
> >> > am having trouble locating such an animal. i have to check with the software

vendors
> > but
> >> > it may be possible it will also run under centos 64bit but i dont want to run
the
> >> > troublesome 4.3 versions.. would need something newer.
> >> >
> >> > anyone know where i can get one?
> >>
> >> emerge yum
> >> vserver centos5 build -m yum -- -d centos5 -- yum
> >> vserver centos5 pkgmgmt internalize
> >>
> >
> > interesting. didnt know you could do that.. will try it just to learn it but 
unfortunately
> > the app doesnt support centos, only rhel or suse
> 
> You know CentOS is RHEL without RHEL-branding, right?
> 

ok. i cant get this to run. getting errors. unless it is extremely simple i dont have
the 
time to debug this stuff i will need to find a centos5 working guest template to simply

install using the template method.

here are the errors i get

# vserver nsgcloud  build --force -m yum -- -d centos5 -- yum
error: can't create transaction lock on /vservers/nsgcloud
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...
Traceback (most recent call last):
  File "/usr/bin/yum", line 4, in <module>
    import yum
  File "/usr/lib64/python2.6/site-packages/yum/__init__.py", line 42, in <module>
    import rpmsack
  File "/usr/lib64/python2.6/site-packages/yum/rpmsack.py", line 24, in <module>
    from rpmUtils import arch
  File "/usr/lib64/python2.6/site-packages/rpmUtils/arch.py", line 329, in <module>
    canonArch = getCanonArch()
  File "/usr/lib64/python2.6/site-packages/rpmUtils/arch.py", line 325, in getCanonArch
    return getCanonX86_64Arch(arch)
  File "/usr/lib64/python2.6/site-packages/rpmUtils/arch.py", line 288, in 
getCanonX86_64Arch
    f = open("/proc/cpuinfo", "r")
IOError: [Errno 2] No such file or directory: '/proc/cpuinfo'
rm: cannot remove `/etc/vservers/.defaults/vdirbase/nsgcloud/proc': Device or resource

busy
rm: cannot remove `/etc/vservers/.defaults/vdirbase/nsgcloud/.rpmdb': Device or resource

busy





> -- 
> Daniel Hokka Zakrisson
> 


-- 

Chuck