Trouble with alogin

john heasley heas at shrubbery.net
Thu Feb 14 01:05:15 UTC 2002


Wed, Feb 13, 2002 at 04:51:24PM -0800, David Williamson:
> On Wed, Feb 13, 2002 at 03:38:49PM -0800, john heasley wrote:
> > i suspect that there is a return statement in the login procedure that
> > doesnt return a number value or it's an implicit return perhaps due to
> > an empty $cmethod variable.
> > 
> > what version of rancid?
> 
> 2.2.  Downloaded it today.  Hmm...
>  
> -David

try the attached patch

cd rancid-2.2/bin
patch < file

if it fixes the problem expect bomb-out, then i;m slightly confused as to
how it manages to login but ends up here.
-------------- next part --------------
*** alogin.in.FCS	Sat Dec  8 01:04:37 2001
--- alogin.in	Thu Feb 14 00:59:29 2002
***************
*** 365,371 ****
      }
      set in_proc 0
      return 0
! }
  }
  
  # Run commands given on the command line.
--- 365,372 ----
      }
      set in_proc 0
      return 0
!  }
!     return 1
  }
  
  # Run commands given on the command line.


More information about the Rancid-discuss mailing list