LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] --sync-id errs out

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] --sync-id errs out
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Fri, 12 Jun 2009 12:36:31 +1000
On Thu, Jun 11, 2009 at 04:13:10PM +0200, L.S. Keijser wrote:
> On Thu, 2009-06-11 at 06:22 -0700, Joseph Mack NA3T wrote:
> > > I am stuck with the same error like
> > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504001
> > 
> > In general we don't keep track of what distributions do with 
> > our code. As far as we can tell, our code is working. Of 
> > course it may not work. If there's a problem in our code, 
> > someone needs to tell us. If it's not in our archives, we 
> > don't know about it.
> 
> I just tested this on a hand-compiled version of ipvsadm:
> 
> # ipvsadm --start-daemon master --mcast-interface eth1 --syncid 51
> Illegal 'syncid' option with the 'start-daemon' command
> 
> # ipvsadm --version
> ipvsadm v1.24 2005/12/10 (compiled with getopt_long and IPVS v1.2.1)
> 
> # uname -r
> 2.6.18-128.1.10.el5xen
> 
> 
> However, on another box:
> 
> # ipvsadm --start-daemon master --mcast-interface eth1 --syncid 51
> 
> # ipvsadm --version
> ipvsadm v1.24 2003/06/07 (compiled with popt and IPVS v1.2.0)
> 
> # uname -r
> 2.6.18-6-amd64

It looks like there is a problem in the options parsing code
when popt is used but the getopt_long code is ok - the two code-paths
exist for historical reasons. I suspect that this is not Debian specific.


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>