[rancid] rancid 2.3.4 sending empty emails "Routers changed to down:" [SOLVED]

Iñaki Martínez Díez imd at acens.com
Tue Jan 25 07:34:06 UTC 2011


Hi,

 Thanks to john heasley this problem is SOLVED!!!!!

 The problem was that my system Debian the parameters "-u -4" was obsolete
and the diff command tells we must use "-U 4".


 Thanks!!!


El 24/01/11 18:59, "john heasley" <heas at shrubbery.net> escribió:

>>>>  Since I upgraded to rancid 2.3.4 I receive (not always but very
>>>>often)
>> >> this kind of empty emails:
>> >>
>> >> "Routers changed to down:"
>>>
>> >this is most likely a problem with the configure script choosing the
>>wrong
>> >options for diff(1).  check what it chose in control_rancid.  i believe
>> >this is fixed in more recent versions.
>>
>>
>> Lines with "diff":
>>
>> 207: diff -u -4 routers.all routers.all.new > /dev/null 2>&1; RALL=$?
>> 211: diff -u -4 routers.down routers.down.new > /dev/null 2>&1; RDOWN=$?
>> 215: diff -u -4 routers.up routers.up.new > /dev/null 2>&1; RUP=$?
>> 459:     cvs -f diff -u -4 -ko | sed -e '/^RCS file: /d' -e '/^--- /d' \
>> 460:     -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff
>>
>> 462:     svn diff | sed -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff
>
>see PATH in rancid.conf.  does the diff that would be used as a result of
>that PATH support options -u and -4?

________________________________________
Iñaki Martínez Díez
Departamento de redes
acens Technologies S.L.
imd at acens.com
Teléfono: 637 772 156

Fax: 911 418 501
Este mensaje puede contener información confidencial dirigida exclusivamente a su destinatario.
No se permite su copia o distribución sin la autorización expresa y por anticipado de acens.
Si recibió este mensaje por error, por favor, comuníquelo al emisor y elimínelo de su ordenador. Gracias.
This message may contain confidential information exclusively addressed to its intended recipient.
The copy or distribution of this message is not permitted without the prior express consent by acens.
If you are not the intended recipient of this message please advise the sender and delete it. Thank you.



More information about the Rancid-discuss mailing list