[rancid] Fortigate backup fail when # character is present

heasley heas at shrubbery.net
Sun May 14 22:55:14 UTC 2017


Fri, May 12, 2017 at 02:50:08PM -0400, Gerhard Mourani:
> Ooops, sorry.
> 
> Rancid version: 3.6.2
> Fortigate model: 1500
> Fortigate version: 5.2
> 
> Here, a part of the config where the backup stop.
> 
>     edit "Web_RIMP_MedEcho" 
>         set uuid 607c4e8a-cae4-53e4-6d10-8a0d7a7980oe 
>         set type fqdn 
>         set comment "C2 # 1182274" 
>         set fqdn "www.prod.xxxx.xxxx.xx.xx" 
> 
> If I change the comment line for:
> 
> set comment "C2 # 1182274"
> To
> set comment "C2 1182274"
> 
> It will work through the next comment line where the # sign appears again.

I see the problem; but am not sure of the fix.  What does the prompt
normally look like?  i have some save output that seems like it is

^hostname [#\$] $

Is this accurate?

> Gerhard,
> 
> > On May 12, 2017, at 2:31 PM, heasley <heas at shrubbery.net> wrote:
> > 
> > Fri, May 12, 2017 at 11:16:48AM -0400, Gerhard Mourani:
> >> Hello,
> >> 
> >> When # characters are present, Fortigate backup fail!
> >> I've to remove all # characters for the backup to successfully complete.
> > 
> > how is anyone supposed to help you with such limited information?  you
> > havent told us the version of rancid or fortigate s/w, shown us the
> > error or what you have removed, or the context of where the #s occur
> > in the output from the device.
> 



More information about the Rancid-discuss mailing list