OpenVZ Forum


Home » General » Support » *SOLVED* CentOS5 Template Metadata package?
Re: udev breaky things [message #16355 is a reply to message #16222] Sun, 02 September 2007 15:38 Go to previous messageGo to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
Steve,

Ok, your vztmpl-centos-5 package is working for me now. I believe that the vast amount of replies to this topic has really muddled things here so I'll try to backup and start over.

Issues I was having:

1) Originally I was having a problem with it... running into a package conflict problem that made it fail before even attempting to create the OS Template. I don't know what resolved that issue for me, but I don't think it was the fault of your package anyway. That must have been an issue with my RHEL5 based host... so we won't worry about that.

2) As it is, your package (probably because of dependencies) creates an OS Template with both udev and vzdev installed. So, I did exactly what was recently recommended... I added the following line to very end of /vz/template/centos/5/i386/config/install-post

$RPM --root $VE_ROOT -e udev --nodeps

So, the OS Template is still broken, but any VPSes created from it can be fixed by adding that udev removal step to the VPS creation process.

To clarify... on working VPSes (mostly CentOS 4 or Fedora based ones I've used), I've noticed that if I install something that drags udev along with it... and if I allow it to install udev into the VPS, the VPS is basically toast after that. I don't recall exactly how they misbehave... but I've gone so far as do the following inside of a VPS to keep udev from ever really being installed:

rpm -ivh --justdb {urls for udev package and its [if any] dependencies}

And then it is good idea to add udev as an exclude in the yum.conf of the VPS (I always install yum inside my VPSes) so if an updated package for udev comes along, that won't try to upgrade.

Your comment about /sys not being in the VPS... perhaps that was what was causing udev to misbehave if installed. Who knows?!?

It would be nice if we could fix it by having udev not get installed into the OS Template to begin with... but I don't know of a way to make that happen... so the install-post hack is good enough for now.

I appreciate your work.


--
TYL, Scott Dowdle
Belgrade, Montana, USA

[Updated on: Sun, 02 September 2007 15:39]

Report message to a moderator

 
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: Sun Jul 27 19:09:30 GMT 2025

Total time taken to generate the page: 0.49694 seconds