Home » Mailing lists » Users » Conf file corruption 
	
		
		
			| Conf file corruption [message #11571] | 
			Tue, 27 March 2007 12:38   | 
		 
		
			
				
				
				
					
						  
						jarcher
						 Messages: 91 Registered: August 2006  Location: Smithfield, Rhode Island
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		Has anyone here seen their conf files get corrupted?  I am finding that  
when I change the value of a parameter using vzctl set while the VPS is  
running, that a big chunk from the middle of my conf file gets duplicated  
near the bottom of the file. 
 
This could be because I added many lines of comments to the file and it's  
bigger than the distributed files.  I think it also happens when I use  
vzcfgvalidate in interactive mode. 
 
Has anyone else seen this?
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re:  Conf file corruption [message #11616 is a reply to message #11601] | 
			Wed, 28 March 2007 19:16    | 
		 
		
			
				
				
				
					
						  
						Mike Holloway
						 Messages: 8 Registered: February 2007 
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		I've also observed this issue, under FC5 on intel x86_64 smp (duo-  
core xeon dual processor) hardware, about 4 months ago (sorry, I   
can't provide the versions I was testing then, 2.6.16_testing kernel   
and some version of vzctl).  I only observed the binary 'fluff' at   
the very end of the .conf file on that one occasion, I simply vi'd   
the file and corrected it. 
 
 
-mike 
 
 
 
On Mar 28, 2007, at 2:02 AM, Kirill Korotaev wrote: 
 
> Jim, 
> 
> Jim Archer wrote: 
>> --On Tuesday, March 27, 2007 3:12 PM +0200 Jan Tomasek   
>> <jan@tomasek.cz> 
>> wrote: 
>> 
>> 
>>> Kirill Korotaev wrote: 
>>> That's reason why I didn't report this, I don't known how to   
>>> reproduce 
>>> problem and it didn't seam be critical as those binary data were   
>>> always 
>>> at end of config file and VE was able start/stop correctly. 
>> 
>> 
>> Well in my case, there is a little binary data added but also   
>> chunks of the 
>> text seem repeated.  I just did something very simple: 
>> 
>> vzcfg create 5000 --config vps.b1 
>> 
>> 
>> I attached to this email both the ve-vps.b1.conf-sample and also the 
>> resulting 5000.conf file.  The 5000.conf file is corrupted.  I   
>> didn't even 
>> start the VPS. 
>> 
>> I am running on Debian Etch AMD64 with a prebuilt 2.6.18 kernel.    
>> I'll look 
>> for other ways to cause this to happen, but if anyone has any   
>> questions in 
>> the mean time just let me know. 
> is it 100% reproducable on your machine? 
> can you please also provide vzctl version you use: 
> # vzctl --version 
> 
> I've create a bug http://bugzilla.openvz.org/show_bug.cgi?id=515 
> will try to reproduce and analyze. 
> 
> if you have any other sample/examples of how to trigger this, 
> please add this info to the bug. 
> 
> Thanks a lot, 
> Kirill 
>
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re:  Conf file corruption [message #11620 is a reply to message #11616] | 
			Thu, 29 March 2007 07:56    | 
		 
		
			
				
				
				
					
						  
						Vasily Tarasov
						 Messages: 1345 Registered: January 2006 
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	
		Guys, one more question, have you used precompiled vzctl or compile it 
by your self? 
 
Thanks. 
 
Mike Holloway wrote: 
> 
> I've also observed this issue, under FC5 on intel x86_64 smp (duo-core 
> xeon dual processor) hardware, about 4 months ago (sorry, I can't 
> provide the versions I was testing then, 2.6.16_testing kernel and 
> some version of vzctl).  I only observed the binary 'fluff' at the 
> very end of the .conf file on that one occasion, I simply vi'd the 
> file and corrected it. 
> 
> 
> -mike 
> 
> 
> 
> On Mar 28, 2007, at 2:02 AM, Kirill Korotaev wrote: 
> 
>> Jim, 
>> 
>> Jim Archer wrote: 
>>> --On Tuesday, March 27, 2007 3:12 PM +0200 Jan Tomasek <jan@tomasek.cz> 
>>> wrote: 
>>> 
>>> 
>>>> Kirill Korotaev wrote: 
>>>> That's reason why I didn't report this, I don't known how to reproduce 
>>>> problem and it didn't seam be critical as those binary data were 
>>>> always 
>>>> at end of config file and VE was able start/stop correctly. 
>>> 
>>> 
>>> Well in my case, there is a little binary data added but also chunks 
>>> of the 
>>> text seem repeated.  I just did something very simple: 
>>> 
>>> vzcfg create 5000 --config vps.b1 
>>> 
>>> 
>>> I attached to this email both the ve-vps.b1.conf-sample and also the 
>>> resulting 5000.conf file.  The 5000.conf file is corrupted.  I 
>>> didn't even 
>>> start the VPS. 
>>> 
>>> I am running on Debian Etch AMD64 with a prebuilt 2.6.18 kernel.  
>>> I'll look 
>>> for other ways to cause this to happen, but if anyone has any 
>>> questions in 
>>> the mean time just let me know. 
>> is it 100% reproducable on your machine? 
>> can you please also provide vzctl version you use: 
>> # vzctl --version 
>> 
>> I've create a bug http://bugzilla.openvz.org/show_bug.cgi?id=515 
>> will try to reproduce and analyze. 
>> 
>> if you have any other sample/examples of how to trigger this, 
>> please add this info to the bug. 
>> 
>> Thanks a lot, 
>> Kirill 
>>
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re:  Conf file corruption [message #11621 is a reply to message #11620] | 
			Thu, 29 March 2007 08:03    | 
		 
		
			
				
				
				
					
						  
						jarcher
						 Messages: 91 Registered: August 2006  Location: Smithfield, Rhode Island
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		I used the vzctl installed as a Debian package from ststs.org.  I have not  
compiled any of the OpenVZ code at all. 
 
 
--On Thursday, March 29, 2007 11:56 AM +0400 Vasily Tarasov  
<vtaras@openvz.org> wrote: 
 
> Guys, one more question, have you used precompiled vzctl or compile it 
> by your self? 
> 
> Thanks. 
> 
> Mike Holloway wrote: 
>> 
>> I've also observed this issue, under FC5 on intel x86_64 smp (duo-core 
>> xeon dual processor) hardware, about 4 months ago (sorry, I can't 
>> provide the versions I was testing then, 2.6.16_testing kernel and 
>> some version of vzctl).  I only observed the binary 'fluff' at the 
>> very end of the .conf file on that one occasion, I simply vi'd the 
>> file and corrected it. 
>> 
>> 
>> -mike 
>> 
>> 
>> 
>> On Mar 28, 2007, at 2:02 AM, Kirill Korotaev wrote: 
>> 
>>> Jim, 
>>> 
>>> Jim Archer wrote: 
>>>> --On Tuesday, March 27, 2007 3:12 PM +0200 Jan Tomasek <jan@tomasek.cz> 
>>>> wrote: 
>>>> 
>>>> 
>>>>> Kirill Korotaev wrote: 
>>>>> That's reason why I didn't report this, I don't known how to reproduce 
>>>>> problem and it didn't seam be critical as those binary data were 
>>>>> always 
>>>>> at end of config file and VE was able start/stop correctly. 
>>>> 
>>>> 
>>>> Well in my case, there is a little binary data added but also chunks 
>>>> of the 
>>>> text seem repeated.  I just did something very simple: 
>>>> 
>>>> vzcfg create 5000 --config vps.b1 
>>>> 
>>>> 
>>>> I attached to this email both the ve-vps.b1.conf-sample and also the 
>>>> resulting 5000.conf file.  The 5000.conf file is corrupted.  I 
>>>> didn't even 
>>>> start the VPS. 
>>>> 
>>>> I am running on Debian Etch AMD64 with a prebuilt 2.6.18 kernel. 
>>>> I'll look 
>>>> for other ways to cause this to happen, but if anyone has any 
>>>> questions in 
>>>> the mean time just let me know. 
>>> is it 100% reproducable on your machine? 
>>> can you please also provide vzctl version you use: 
>>> # vzctl --version 
>>> 
>>> I've create a bug http://bugzilla.openvz.org/show_bug.cgi?id=515 
>>> will try to reproduce and analyze. 
>>> 
>>> if you have any other sample/examples of how to trigger this, 
>>> please add this info to the bug. 
>>> 
>>> Thanks a lot, 
>>> Kirill 
>>>
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	
		
		
			| Re:  Conf file corruption [message #11626 is a reply to message #11620] | 
			Thu, 29 March 2007 15:05   | 
		 
		
			
				
				
				
					
						  
						Mike Holloway
						 Messages: 8 Registered: February 2007 
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		I had installed vzctl via the openvz yum repo at that time. 
 
 
-mike 
 
 
 
On Mar 29, 2007, at 2:56 AM, Vasily Tarasov wrote: 
 
> Guys, one more question, have you used precompiled vzctl or compile it 
> by your self? 
> 
> Thanks.
		
		
		
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 02:13:53 GMT 2025 
 Total time taken to generate the page: 0.21601 seconds 
 |