OpenVZ Forum


Home » General » Support » *SOLVED* CentOS5 Template Metadata package?
Re: *SOLVED* CentOS5 Template Metadata package? [message #15926 is a reply to message #15902] Thu, 16 August 2007 06:58 Go to previous messageGo to previous message
steve is currently offline  steve
Messages: 25
Registered: June 2007
Location: Orange County, California
Junior Member
dowdle wrote on Wed, 15 August 2007 08:21

Steve,

No, I tried it on a RHEL5 and a CentOS5 based machine and no matter what I did, I still got those error messages... when trying to vzpkgcache using your vztmpl-centos-5 metadata package... which is really weird... because it seems to be trying to compare the package set to that of the hardware node, yes?




I don't think it compares any packages to the host node. As I see yum operates within the self-contained environment of /vz/templates/centos/5/i386. The vzpkgcache program does reference the host node (/usr/share/vzpkg/functions), but, I believe for other things (still warrants investigation though).

Quote:



Yes, I'm familiar with the default.list file. In the Introduction to OpenVZ Screencast that I did, I mention that file and edit it before building a CentOS 4 cache. Since I have LAN based copies of all of the repos I use, I also alter the yum.conf file and have it point to my repos rather than the stock ones... and it makes it a lot faster.




Great idea on the local repos. I should do that too.

Quote:



I have also run into the issue when I create VPSes from the pre-created centos-5 os template... where when I tried to vzctl enter it, it says that pty is missing and fails. I tried the fix that was mentioned in this thread (edit the start_udev line in the /etc/rc.sysinit) but that works for me sometimes and other times it doesn't. Basically trying to get a centos 5 VPS is problematic but I'm sticking with it. I'm guessing it is something with the dummy-udev package but I have no idea what.


When you say dummy-udev package are you referring to the vzdev package with all of the ptys? If you take the image you generate with vzpkgcache and run tar tzf centos-5-i386-minimal.tar.gz on it do you see the /dev/ptys inside?

One other thing, the package in the contributed section was built by tweaking the FC5 package and not from a metadata package ( http://forum.openvz.org/index.php?t=msg&th=2486&star t=0&) so I'm not sure how well this would work with my template. They even make reference to an "ugly" udev solution. That's what got me started on this in the first place.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: audit
Next Topic: Why use OpenVZ?
Goto Forum:
  


Current Time: Sat Jul 19 18:43:59 GMT 2025

Total time taken to generate the page: 0.06445 seconds