Home » Mailing lists » Users » Fedora Core 6 ready to use template? 
	| 
		
 |  
	
		
		
			| Re:  Fedora Core 6 ready to use template? [message #11934 is a reply to message #11873] | 
			Thu, 12 April 2007 08:39    | 
		 
		
			
				
				
				
					
						  
						Vasily Tarasov
						 Messages: 1345 Registered: January 2006 
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	
		Hello, 
 
There is no precreated template cache for FC6 at the moment at  
openvz.org. Probably somebody from OpenVZ users has created it, but I  
haven't heard about it. 
 
I guess, you can install FC5 precreated template cache, create a VE  
based on this template, then upgrade VE up to FC6 from inside VE using  
usual means (up2date, yum). After that clean VE from needless  
information (network settings, users, ...) and create a tar.gz archive  
of VE - it'll be a template cache for FC6. 
 
HTH, 
Vasily 
 
Jan Tomasek wrote: 
> Hello, 
>  
> one of my users asked me for VE with Fedora Core 6 installed. It is't 
> part of precreated packages: 
> 	http://download.openvz.org/template/precreated/ 
>  
> Is precreated template of this system somewhere else? 
>  
> Thanks 
>  
>  
>  ------------------------------------------------------------ ------------ 
>
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re:  Fedora Core 6 ready to use template? [message #11982 is a reply to message #11934] | 
			Fri, 13 April 2007 14:02    | 
		 
		
			
				
				
				
					
						  
						mhw
						 Messages: 12 Registered: March 2007 
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		On Thu, 2007-04-12 at 12:39 +0400, Vasily Tarasov wrote: 
> Hello, 
>  
> There is no precreated template cache for FC6 at the moment at  
> openvz.org. Probably somebody from OpenVZ users has created it, but I  
> haven't heard about it. 
 
> I guess, you can install FC5 precreated template cache, create a VE  
> based on this template, then upgrade VE up to FC6 from inside VE using  
> usual means (up2date, yum). After that clean VE from needless  
> information (network settings, users, ...) and create a tar.gz archive  
> of VE - it'll be a template cache for FC6. 
 
	I was able to replicate the vz/template/fedora/5 directory over to 
vz/template/fedora/6 and then modify the .../i386/conf/yum.conf file 
appropriately (just change all the instances of 5 to 6).  I was then 
able to use vzcachepkg to create and manage the templates.  I've got 
several VE's running based on that template now.  It would be nice if 
someone could package this up and add it to the template repositories. 
This one is not to terribly hard to create. 
 
	OTOH...  I've just been working with CentOS 5.  It's a friggen 
nightmare.  There's a "conflicts with kernel < 2.6.12" built into the 
initscripts rpm that's hosing everything and I've been totally unable to 
build a centos-5 template.  Even adding the kernel package to the 
package lists doesn't help (is it excluded somewhere, somehow). 
 
	Even updating from CentOS 4 to CentOS 5 isn't working.  The conflict 
exists if it doesn't find a kernel package it likes (in this case it 
doesn't even exist).  You can install the kernel package (which can be 
removed later, if you care) and then vzyum will update a bunch of 
packages, including initscripts, and update even more when you run a 
final vzyum update after the vzyum install.  But the resulting VE in non 
functional.  Trying to enter the running VE, I get a "Unable to open 
pty: No such file or directory".  No joy either way. 
 
	Really strange, since they've got an RHEL 5 kernel on the OpenVZ site. 
No templates for VE's, though.  If CentOS 5 won't build into a template, 
I would guess RHEL 5 is going to be the same trouble. 
 
	CentOS 5 was just released yesterday and the OpenVZ team doesn't even 
have an FC6 template in the repositories yet, so I'm not holding my 
breath. 
 
> HTH, 
> Vasily 
 
	Mike 
 
> Jan Tomasek wrote: 
> > Hello, 
> >  
> > one of my users asked me for VE with Fedora Core 6 installed. It is't 
> > part of precreated packages: 
> > 	http://download.openvz.org/template/precreated/ 
> >  
> > Is precreated template of this system somewhere else? 
> >  
> > Thanks 
> >  
> >  
> >  ------------------------------------------------------------ ------------ 
> >  
--  
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw@WittsEnd.com 
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/ 
   NIC whois: MHW9          | An optimist believes we live in the best of all 
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	
		
		
			| Re:  Fedora Core 6 ready to use template? [message #11989 is a reply to message #11985] | 
			Fri, 13 April 2007 16:36    | 
		 
		
			| 
				
	 | 
 
	
		Kirill Korotaev wrote: 
>> 	Really strange, since they've got an RHEL 5 kernel on the OpenVZ site. 
>> No templates for VE's, though.  If CentOS 5 won't build into a template, 
>> I would guess RHEL 5 is going to be the same trouble. 
>> 
>> 	CentOS 5 was just released yesterday and the OpenVZ team doesn't even 
>> have an FC6 template in the repositories yet, so I'm not holding my 
>> breath. 
>>      
> 
> I think both FC6 and CentOS5 templates will be ready next week. 
FC6/i686 (precreated only) is now available from  
 http://download.openvz.org/template/precreated/fedora-core-6 -i686-default.tar.gz 
FC6/x86_64 will follow next week. 
 
CentOS 5 -- we will start working on it next week.
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re:  Fedora Core 6 ready to use template? [message #11991 is a reply to message #11982] | 
			Fri, 13 April 2007 16:42    | 
		 
		
			| 
				
	 | 
 
	
		Michael H. Warfield wrote: 
> 	Even updating from CentOS 4 to CentOS 5 isn't working.  The conflict 
> exists if it doesn't find a kernel package it likes (in this case it 
> doesn't even exist).  You can install the kernel package (which can be 
> removed later, if you care) and then vzyum will update a bunch of 
> packages, including initscripts, and update even more when you run a 
> final vzyum update after the vzyum install.  But the resulting VE in non 
> functional.  Trying to enter the running VE, I get a "Unable to open 
> pty: No such file or directory".  No joy either way. 
>    
All I can provide now are a few hints. CentOS 5 template will be  
available in a few weeks or so. 
 
1. Check if /dev is hosted on tmpfs. If yes -- find out where in  
initscripts /dev is mounted using tmpfs, and get rid of this mount. 
 
2. Try to (forcibly I suppose) remove udev package from the VE, and  
install back vzdev package. 
 
3. Copy the /dev/ttyp* and /dev/ptyp* devices from VE0 into VE. 
 
4. Make sure /dev/pts is mounted inside a VE. 
 
5. Check if your kernel is compiled with the following options: 
 
CONFIG_UNIX98_PTYS=y 
CONFIG_LEGACY_PTYS=y
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re:  Fedora Core 6 ready to use template? [message #12000 is a reply to message #11982] | 
			Fri, 13 April 2007 16:14    | 
		 
		
			
				
				
				
					
						  
						Peter Hackl
						 Messages: 1 Registered: April 2007 
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		> On Thu, 2007-04-12 at 12:39 +0400, Vasily Tarasov wrote: 
>> Hello, 
>> 
>> There is no precreated template cache for FC6 at the moment at 
>> openvz.org. Probably somebody from OpenVZ users has created it, but I 
>> haven't heard about it. 
> 
>> I guess, you can install FC5 precreated template cache, create a VE 
>> based on this template, then upgrade VE up to FC6 from inside VE using 
>> usual means (up2date, yum). After that clean VE from needless 
>> information (network settings, users, ...) and create a tar.gz archive 
>> of VE - it'll be a template cache for FC6. 
> 
> 	I was able to replicate the vz/template/fedora/5 directory over to 
> vz/template/fedora/6 and then modify the .../i386/conf/yum.conf file 
> appropriately (just change all the instances of 5 to 6).  I was then 
> able to use vzcachepkg to create and manage the templates.  I've got 
> several VE's running based on that template now.  It would be nice if 
> someone could package this up and add it to the template repositories. 
> This one is not to terribly hard to create. 
> 
> 	OTOH...  I've just been working with CentOS 5.  It's a friggen 
> nightmare.  There's a "conflicts with kernel < 2.6.12" built into the 
> initscripts rpm that's hosing everything and I've been totally unable to 
> build a centos-5 template.  Even adding the kernel package to the 
> package lists doesn't help (is it excluded somewhere, somehow). 
> 
> 	Even updating from CentOS 4 to CentOS 5 isn't working.  The conflict 
> exists if it doesn't find a kernel package it likes (in this case it 
> doesn't even exist).  You can install the kernel package (which can be 
> removed later, if you care) and then vzyum will update a bunch of 
> packages, including initscripts, and update even more when you run a 
> final vzyum update after the vzyum install.  But the resulting VE in non 
> functional.  Trying to enter the running VE, I get a "Unable to open 
> pty: No such file or directory".  No joy either way. 
> 
 
i tried yesterday the same and got centos5 ve under centos5 running. 
what i did: 
1) fetched precreated centos-4-i386-default.tar.gz and installed 
2) updated ve to centos 4.4 (yum update) 
3) cleaned yum cache, fetched from centos5: 
  -> centos-release-5-0.0.el5.centos.2.i386.rpm 
  -> centos-release-notes-5.0.0-2.i386.rpm 
installed them (see upgrading centos4 to centos5 on wiki.centos.org) 
4) tried yum upgrade, which failed because of konflikt of httpd and 
initscripts 
5) fetched initscripts from centos5 
  -> initscripts-8.45.14.EL-1.el5.centos.1.i386.rpm 
and updated them rpm -Fvh --force 
initscripts-8.45.14.EL-1.el5.centos.1.i386.rpm 
force is needed becaus of complaining wrong kernel 
6) yum upgrade 
 
vzctl stop & start, 
vzctl enter failed with complaining about missing devices (centos5 is 
using udev !) 
vzctl stop and edited /etc/rc.sysinit, commented out start_udev and copied 
missing 
devices from a default centos4 ve. 
 
i haven't checked if everything else is ok, but primary goal was getting 
centos 6 with apache, php and mysql vor webserver running. 
 
i will test the ve over the weekend and will report again. 
 
peter 
 
> 	Really strange, since they've got an RHEL 5 kernel on the OpenVZ site. 
> No templates for VE's, though.  If CentOS 5 won't build into a template, 
> I would guess RHEL 5 is going to be the same trouble. 
> 
> 	CentOS 5 was just released yesterday and the OpenVZ team doesn't even 
> have an FC6 template in the repositories yet, so I'm not holding my 
> breath. 
> 
>> HTH, 
>> Vasily 
> 
> 	Mike 
> 
>> Jan Tomasek wrote: 
>> > Hello, 
>> > 
>> > one of my users asked me for VE with Fedora Core 6 installed. It is't 
>> > part of precreated packages: 
>> > 	http://download.openvz.org/template/precreated/ 
>> > 
>> > Is precreated template of this system somewhere else? 
>> > 
>> > Thanks 
>> >
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re:  Fedora Core 6 ready to use template? [message #12006 is a reply to message #11989] | 
			Fri, 13 April 2007 20:18   | 
		 
		
			
				
				
				
					
						  
						Jan Tomasek
						 Messages: 44 Registered: December 2006 
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		Hello Kir, 
 
> FC6/i686 (precreated only) is now available from 
>  http://download.openvz.org/template/precreated/fedora-core-6 -i686-default.tar.gz 
 
Thank you very much! I already installed FC6 into VMWare, transfered it 
into OpenVZ and I was fighting with udev and yum. I was beaten first 
time when I missed that yum is going remove yum and rpm ;) Second try 
was better but still not very good (I just edited /sbin/start_udev to 
not start it and provided static /dev). 
 
Maybe you can reconsider some of packages inside, such as lm_sensors. 
They are not necasary for VE and on other hand I was missing yum inside, 
I'm not very used to rpm, I'm mainly using Debian. yum is in my option 
much user-friendly than plain rpm. 
 
Your template is much better than mine attempt. Thanks you very much, 
your help is very appreciated! Thanks :) 
 
--  
----------------------- 
Jan Tomasek aka Semik 
http://www.tomasek.cz/
		
		
		
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 05:34:20 GMT 2025 
 Total time taken to generate the page: 0.15929 seconds 
 |