On Fri, Feb 24, 2017 at 08:36:39PM +0100, Job Snijders wrote: > Hi all, > > I see the following pop up in the syslog, over and over again: > > root@eunetworks-2:/etc/bird# tail -F /var/log/syslog | grep filters > Feb 24 19:34:32 eunetworks-2 bird: filters, line 1360: ~ applied on > unknown type pair > Feb 24 19:34:32 eunetworks-2 bird: filters, line 1360: ~ applied on > unknown type pair > Feb 24 19:34:32 eunetworks-2 bird: filters, line 1360: ~ applied on > unknown type pair > Feb 24 19:34:32 eunetworks-2 bird: filters, line 1360: ~ applied on > unknown type pair > Feb 24 19:34:32 eunetworks-2 bird: filters, line 1360: ~ applied on > unknown type pair > > However, tracing down where the error comes from is not so trivial: > > root@eunetworks-2:/etc/bird# find /etc/bird -type f | xargs grep > include | wc -l > 302 > root@eunetworks-2:/etc/bird# du -sh /etc/bird > 48M /etc/bird > root@eunetworks-2:/etc/bird# > > I have a glorious spaghetti spread over almost 50 megabytes of config. > > Anyone got any idea why I'm seeing this warning, and how I can figure > out what BIRD considers 'line 1360'?
Hi Well, BIRD is a bit sloppy here and does not track included file names. Fortunately lines are counted independently for each file, so it is line 1360 in some file. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: [email protected]) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
signature.asc
Description: Digital signature
