LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ipvsadm -p option changed?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ipvsadm -p option changed?
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Sat, 30 Dec 2000 11:15:58 +0800 (CST)
Hi,

It's a terrible bug introduced in ipvsadm-1.13, I'm sorry for this.

Thanks for the fix. Will provide a new version of ipvsadm soon.

Wensong


On Fri, 29 Dec 2000, Horms wrote:

> > > On Fri, Dec 29, 2000 at 11:47:50AM -0800, Suresh Rajagopalan wrote:
> > > > I upgraded my box from 2.2.14/0.9.12 to the latest versions --
> > > > 2.2.18/1.0.2.
> > > > 
> > > > I found typing in a rule with a -p option clears/messes up the ipvsadm 
> > > > table.
> > > > 
> > > > For example:
> > > > 
> > > > ipvsadm -A -t 1.2.3.4:443 -p 900 -s wlc
> > > > 
> > > > would then screw up the ipvsadm table.  A  ipvsadm -S (or ipvsadm
> > > > -L) dumps "unexpected input data".
> > > > 
> > > > This only occurs when -p is included.  
> 
> Thanks for the heads up on this. There is a minor bug in ipvsadm that
> causes it to fail when _reading_ information on services with the
> persistant flag set. Note that setting the services should work fine,
> as will the LVS setup itself. You just can't read the entries using
> ipvsadm -L.
> 
> Attached are two patches. The first is a patch to ipvsadm that fixes the
> probelem. The second is a cosmetic patch to the LVS kernel code.
> You should be fine if you just patch ipvsadm, recompile (and install it).
> 
> 
> As an aside I am also looking in to an issue with compiling the ipvsadm
> RPM with the supplied .spec file on Redhat 6.2 systems.
> 
> -- 
> Horms
> 



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