[rancid] Getting a lot of noise related to ce_switch.log and ce_switch.log.bak

heasley heas at shrubbery.net
Tue Sep 11 16:36:31 UTC 2018


Mon, Sep 10, 2018 at 01:45:42AM -0700, Dan Mahoney (Gushi):
> Hey all,
> 
> I'm running Rancid built from freebsd packages, rancid3-3.7
> 
> Periodically, my ASR9K's log something like this:
> 
>   !Flash: harddisk: 24753       -rwx  800470016   Wed Sep 10 20:00:00 2014 
> VM-ASR9K-px-4.3.4.tar
> - !Flash: harddisk: 24623       -rw- 
> ce_switch.log
> + !Flash: harddisk: 24781       -rw-  8192017     Mon Sep 10 05:10:03 2018 
> ce_switch.log.bak
>   !Flash: harddisk: 24688       -rw-  1048576     Thu Sep 11 02:08:46 2014 
> kd.bin_0_RSP0_CPU0
>   !Flash: harddisk: 24625       drwx  4096        Thu Sep 11 01:38:55 2014 
> idiags
>   !Flash: harddisk: 24626       -rw-  0           Thu Sep 11 01:40:24 2014 
> ahci.log
>   !Flash: harddisk: 24627       drwx  4096        Thu Sep 11 02:20:32 2014 
> np
> - !Flash: harddisk: 24783       -rw-  8192017     Fri Sep  7 08:18:57 2018 
> ce_switch.log.bak
> + !Flash: harddisk: 24628       -rw- 
> ce_switch.log
>   !Flash: harddisk: 6442434560 bytes total (4 GB free)
> 
> I thought I saw something on the mailing lists that this was fixed in a 
> prior version, but I guess not.  How would I go about tweaking rancid so 
> these bits are ignored?

add a filter to DirSlotN().  i see that your device is renaming files,
causing the fileno to change.  I'll add that filter for 3.9.



More information about the Rancid-discuss mailing list