[rancid] Re: CSS backup "end of run not found"
john heasley
heas at shrubbery.net
Wed Jan 7 22:39:03 UTC 2009
Wed, Jan 07, 2009 at 02:20:22PM +0100, georg.naggies at r-it.at:
>
> You are right, Rancid should catch this. The prompt of our last remaining
> CSS on logout with unsaved changes is exactly:
> "Configuration changes have occurred. Save changes before exiting,
> [y/n/q]:"
>
> Tried it out now with "exp_internal" debugging,
>
> expect: does "Configuration changes have occurred. Save changes before
> exiting, [y/n/q]:" (spawn_id exp4) match regular expression
> "^[^\n\r *]*EPP-CSS-01([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"? no
> "Do you wish to save your configuration changes"? no
> "[\n\r]+"? no
> expect: timed out
why doesn't the "(Profile|Configuration) changes have occurred.*" match
appear in that output? do you have two versions of clogin?
More information about the Rancid-discuss
mailing list