[Devel] Re: Linux-VServer and OpenVZ for Debian

Kir Kolyshkin kir at openvz.org
Wed Jun 14 08:54:14 PDT 2006


Ola Lundqvist wrote:
> Hi
> 
> On Tue, Jun 13, 2006 at 12:48:51AM +0200, Kir Kolyshkin wrote:
> 
>>Ola,
>>
>>Thanks for the great news! Can you send your FHS patches to
>>devel at openvz.org list so we might include it into the next releases?
> 
> 
> Sure, here it comes.
> 
> Patch attached for vzquota.
> 
> For vzctl I changed the following in the debian/rules install target:
> 	chmod 644 debian/vzctl/etc/sysconfig/network-scripts/ifcfg-venet0

Hmm well in fact ifcfg-venet0 is a configuration file for venet0 
interface (similar to ifcfg-eth0 which exists for your ethernet NIC). I 
think this is redhat-specific; so you have to think of appropriate 
Debian replacement.

In fact, this file is probably not needed, since venet0 setup is done by 
vz initscript, like this:
---
VZDEV=venet0
ip link set $VZDEV up
ip addr add 0.0.0.0/0 dev $VZDEV
sysctl -w net.ipv4.conf.$VZDEV.send_redirects=0
---


> 	rm -Rf debian/vzctl/vz
> 
> The first line is for correcting a permission misbehaviour, should it
> be executable?

It should not be. More to say, most probably it is not needed at all 
(and I believe it is useless on Debian system) -- we will check.

> If so add #!/bin/sh in the beginning of that file.
> 
> The second line is for removing /vz. I have added a documentation statement
> in debian/README.Debian on how to recreate that directory.

OK

> // Ola
> 
> 
>>Ola Lundqvist wrote:
>>
>>>Hi
>>>
>>>I have now uploaded two packages:
>>>* vzctl
>>>* vzquota
>>>
>>>I had to make some minor changes in order to make it fully FHS
>>>compatible.
>>>
>>>Like /var/vzqota -> /var/lib/vzquota
>>>and similar things.
>>>
>>>So now all three packages are awaiting FTP master approval. I hope
>>>that will happen soon.
>>>
>>>Regards,
>>>
>>>// Ola
>>>
>>>On Fri, Jun 09, 2006 at 12:21:17AM +0200, Kir Kolyshkin wrote:
>>>  
>>>
>>>>Whoops....
>>>>
>>>>Igor, can you remove it? Or...
>>>>
>>>>Ola, the alternate way of doing things is to give you write access to 
>>>>our source repository so you can do all the packaging in place. If that 
>>>>will work for you, we will implement it tomorrow. If not...well, we have 
>>>>to wait for yet another release :(
>>>>
>>>>Ola Lundqvist wrote:
>>>>
>>>>    
>>>>
>>>>>Hi Kir
>>>>>
>>>>>On Thu, Jun 08, 2006 at 03:05:49PM +0200, Kir Kolyshkin wrote:
>>>>>
>>>>>
>>>>>      
>>>>>
>>>>>>Just wanted to let you know we have finally released vzctl and vzquota 
>>>>>>with the changes you need.
>>>>>>vzctl-3.0.10
>>>>>>vzquota-3.0.8
>>>>>>and the updated kernel as well.
>>>>>>
>>>>>>Please see http://openvz.org/news/updates/ or just download the stuff 
>>>>>>        
>>>>>
>>>>>>from http://download.openvz.org/
>>>>>      
>>>>>
>>>>>>Hope you will come up with something soon. If you have any estimates of 
>>>>>>when the software will appear in Sid, please share -- it affects our PR 
>>>>>>plans.
>>>>>>  
>>>>>>
>>>>>>        
>>>>>
>>>>>Good and bad news. The good news is that this will make uploading possible
>>>>>soon.
>>>>>
>>>>>The bad news is that you have put the debian directory inside the tar.bz2
>>>>>file. Unfortunatly this make packaging much harder as I do not have
>>>>>control over the packaging, and also can not remove files from that
>>>>>directory.
>>>>>
>>>>>Is it possible to release the source without this debian directory inside 
>>>>>it?
>>>>>
>>>>>Regards,
>>>>>
>>>>>// Ola
>>>>>
>>>>>
>>>>>
>>>>>      
>>>>>
>>>>>>Regards,
>>>>>>Kir.
>>>>>>
>>>>>>Kir Kolyshkin wrote:
>>>>>>
>>>>>>  
>>>>>>
>>>>>>        
>>>>>>
>>>>>>>Ola,
>>>>>>>
>>>>>>>The problem is now on our side. :( The newer tools (with FHS-related 
>>>>>>>changes and more sane naming scheme) are in testing for more than a 
>>>>>>>week already; I hope to release it this week but who knows.
>>>>>>>
>>>>>>>Regards,
>>>>>>>Kir
>>>>>>>
>>>>>>>Ola Lundqvist wrote:
>>>>>>>
>>>>>>>    
>>>>>>>
>>>>>>>          
>>>>>>>
>>>>>>>>Hi
>>>>>>>>
>>>>>>>>I just want you to know that I'm still available and when the openvz
>>>>>>>>tools have been moved to follow FHS then they can be uploaded to Debian.
>>>>>>>>The kernel package is still pending approval from the FTP masters so it
>>>>>>>>have unfortunatly not been approved by them yet, but I'm quite sure that
>>>>>>>>it is on the way. Maybe they are awaiting the userspace tools.
>>>>>>>>
>>>>>>>>Regards,
>>>>>>>>
>>>>>>>>// Ola
>>>>>>>>
>>>>>>>>On Wed, Apr 05, 2006 at 10:45:48AM +0400, Kir Kolyshkin wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>      
>>>>>>>>
>>>>>>>>            
>>>>>>>>
>>>>>>>>>Ola Lundqvist wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>        
>>>>>>>>>
>>>>>>>>>              
>>>>>>>>>
>>>>>>>>>>>OK I spoke to the finance guy. Looks like we can be fine without 
>>>>>>>>>>>any formal order; just send us an invoice and we will pay by 
>>>>>>>>>>>IBAN/SWIFT.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>   
>>>>>>>>>>>            
>>>>>>>>>>>
>>>>>>>>>>>                  
>>>>>>>>>>
>>>>>>>>>>I was now looking on the webpage. Which office are we taking about 
>>>>>>>>>>here?
>>>>>>>>>>http://www.swsoft.com/en/contact/
>>>>>>>>>>
>>>>>>>>>>American, European or russian? I assume Moscov office but I
>>>>>>>>>>do of course not know...
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 
>>>>>>>>>>          
>>>>>>>>>>
>>>>>>>>>>                
>>>>>>>>>
>>>>>>>>>OK you do it for the American office; if you can just email the scan 
>>>>>>>>>of the invoice to me it will be fine.
>>>>>>>>>
>>>>>>>>>PS sorry for the delay in response -- I'm in US now (LinuxWorld 
>>>>>>>>>Boston)...
>>>>>>>>>
>>>>>>>>>PPS we have fixed the licensing issue (missing COPYING.SWsoft file) 
>>>>>>>>>in current kernel already (you can see it at git.openvz.org); it 
>>>>>>>>>will be released in 026test008; soon I suppose.
>>>>>>>>>
>>>>>>>>>Kir.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>        
>>>>>>>>>
>>>>>>>>>              
>>>>>>>>
>>>>>>>>      
>>>>>>>>
>>>>>>>>            
>>>>>>>
>>>>>>>    
>>>>>>>
>>>>>>>          
>>>>>>
>>>>>>  
>>>>>>
>>>>>>        
>>>>>
>>>>>      
>>>>
>>>>    
>>>
>>>  
>>
>>
> 
> 
> ------------------------------------------------------------------------
> 
> This patch is needed to make the package more FHS compliant
> 
> // Ola Lundqvist <opal at debian.org>
> 
> --- vzquota-3.0.8.orig/man/vzquota.8
> +++ vzquota-3.0.8/man/vzquota.8
> @@ -164,7 +164,7 @@
>  \fB\-c\fP \fIquota_file\fP
>  This option allows to specify a \fIquota_file\fR to work with.
>  All commands accept this option. If this option is not specified, the file
> -\fB/var/vzquota/quota.\fIquotaid\fP is used by default.
> +\fB/var/lib/vzquota/quota.\fIquotaid\fP is used by default.
>  .TP
>  \fB\-f\fP
>  Force option. Accepted by \fBdrop\fP, \fBon\fP, \fBoff\fP, \fBstat\fP,
> --- vzquota-3.0.8.orig/src/Makefile
> +++ vzquota-3.0.8/src/Makefile
> @@ -18,7 +18,7 @@
>  INSTALL = install
>  PREFIX = /usr
>  SBINDIR = ${PREFIX}/sbin
> -VARDIR = /var
> +VARDIR = /var/lib
>  MANDIR = ${PREFIX}/share/man
>  
>  #DEBUG = -D_DEBUG -g3 -ggdb3 -p -pg




More information about the Devel mailing list