[rancid] Need some Help - F5's in RANCID

Ben O'Hara bohara at ripe.net
Fri Jul 15 16:46:41 UTC 2011


On 15 Jul 2011, at 02:08, Lee wrote:

> On 7/13/11, Lee <ler762 at gmail.com> wrote:
>> On 6/30/11, Lee <ler762 at gmail.com> wrote:
>>> On 6/28/11, Jethro R Binks <jethro.binks at strath.ac.uk> wrote:
>>>> On Mon, 27 Jun 2011, Lee wrote:
>  <.. snip talk about NOPIPE & line width ..>
> 
>> [prompt] ~ # bigpipe route static show^M
>> No Routing Table Entries were found.^M
>> [prompt] ~ # stty cols 160^M
>> [prompt] ~ # ls --full-time --color=never /config/ssl/ssl ^M.crt^M
>> total 3056^M
>> 
>> that space, carriage return on the echoed "ls --full-time" command
>> occurs at column 81.  Even with an "stty cols 160" added to the
>> f5rancid commandtable the darn F5 *still* splits the echoed command at
>> column 80 when rancid is called via crontab.
> 
> Sprinkle enough "s/ \015//;" lines in f5rancid after the "while
> (<INPUT>) {" and it works for me now when run from cron  (see attached
> patch)
> 
> I do not know perl; I'd appreciate it if someone could explain why
> "tr/ \015//d;" doesn't get rid of the embedded [space][cr] but "s/
> \015//;" does.
> 
> It would also be nice if someone could figure out how to change the F5
> line width to 160 chars from the default 80.  I think that'd be better
> than removing any embedded [space][cr]
> 
> Lee

Hi,

FYI, I applied this patch this morning and havent seen ant problems since, thanks!

Ben

-- 
Ben O'Hara                        RIPE Network Coordination Center
Senior Systems Engineer                  Singel 258, Amsterdam, NL
http://www.ripe.net                                +31 20 535 4444
PGP Fingerprint: 080A 52FF BF0A A7FB F176 E7DB 513D 9A3D E968 7DBC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1731 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20110715/efdaf145/attachment.bin>


More information about the Rancid-discuss mailing list