Discussion:
[rancid] issue with email diffs
Marr, Joe
2007-07-17 03:15:50 UTC
Permalink
I seem to have a problem with the config diffs I receive from rancid:



Index: configs/XXXX-cor01.XXXX.com
===================================================================

retrieving revision 1.38

diff -U-4 -r1.38 XXXX-cor01.XXXX.com

Index: configs/XXXX-cor05.XXXX.com
===================================================================

retrieving revision 1.29

diff -U-4 -r1.29 XXXX-cor05.XXXX.com



when I receive an email with a diff, I only see the above text in the
email. I do not receive the actual differences.



Why would this happen?





Joe Marr

CONFIDENTIALITY NOTICE: This email, including attachments, is for the
sole use of the individual to whom it is addressed, and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure, or distribution is prohibited. If you have received this
email in error, please notify the sender by reply email and destroy this
message and its attachments.
Austin Schutz
2007-07-17 07:59:19 UTC
Permalink
Post by Marr, Joe
Index: configs/XXXX-cor01.XXXX.com
===================================================================
retrieving revision 1.38
diff -U-4 -r1.38 XXXX-cor01.XXXX.com
Index: configs/XXXX-cor05.XXXX.com
===================================================================
retrieving revision 1.29
diff -U-4 -r1.29 XXXX-cor05.XXXX.com
when I receive an email with a diff, I only see the above text in the
email. I do not receive the actual differences.
Why would this happen?
In control_rancid it looks like changes where only whitespace changes
get cut from the diff output. There's probably a newline added or subtracted,
or something of that nature.

Austin
Marr, Joe
2007-07-17 13:26:40 UTC
Permalink
I checked that, I have about 75 devices several of them with ACLs that
are updated weekly. The changes never show up.

This is only recent. I originally thought it was a setting, however I
have not found it. We migrated the system from one box to another and
the problem showed up shortly after. The configs and changes appear to
be commited to CVS.


Joe Marr
CONFIDENTIALITY NOTICE: This email, including attachments, is for the
sole use of the individual to whom it is addressed, and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure, or distribution is prohibited. If you have received this
email in error, please notify the sender by reply email and destroy this
message and its attachments.

-----Original Message-----
From: Austin Schutz [mailto:***@off.org]
Sent: Tuesday, July 17, 2007 3:59 AM
To: Marr, Joe
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] issue with email diffs
Post by Marr, Joe
Index: configs/XXXX-cor01.XXXX.com
===================================================================
retrieving revision 1.38
diff -U-4 -r1.38 XXXX-cor01.XXXX.com
Index: configs/XXXX-cor05.XXXX.com
===================================================================
retrieving revision 1.29
diff -U-4 -r1.29 XXXX-cor05.XXXX.com
when I receive an email with a diff, I only see the above text in the
email. I do not receive the actual differences.
Why would this happen?
In control_rancid it looks like changes where only whitespace
changes
get cut from the diff output. There's probably a newline added or
subtracted,
or something of that nature.

Austin
john heasley
2007-07-17 16:29:50 UTC
Permalink
Post by Marr, Joe
I checked that, I have about 75 devices several of them with ACLs that
are updated weekly. The changes never show up.
This is only recent. I originally thought it was a setting, however I
have not found it. We migrated the system from one box to another and
the problem showed up shortly after. The configs and changes appear to
be commited to CVS.
my guess is that my autoconf tests lost; does your diff really like
'diff -U-4'? try it out; cvs diff -U-4 -r1.37 -r1.38 XXXX-cor01.XXXX.com
Post by Marr, Joe
Post by Marr, Joe
Index: configs/XXXX-cor01.XXXX.com
===================================================================
retrieving revision 1.38
diff -U-4 -r1.38 XXXX-cor01.XXXX.com
Index: configs/XXXX-cor05.XXXX.com
===================================================================
retrieving revision 1.29
diff -U-4 -r1.29 XXXX-cor05.XXXX.com
when I receive an email with a diff, I only see the above text in the
email. I do not receive the actual differences.
Why would this happen?
In control_rancid it looks like changes where only whitespace
changes
get cut from the diff output. There's probably a newline added or subtracted,
or something of that nature.
Austin
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...