Discussion:
[rancid] Rancid sending "diff -U 4" mails instead of actual diffs
Mircea Ionita
2011-07-26 08:38:11 UTC
Permalink
Hi guys,

I've been having a problem with rancid lately, that is, it is sending
mails containing "diff -U -4 -r1.437 <dev name>" instead of actual
diffs. I ran into this problem after I solved the initial issue, which
was that rancid was sending empty emails (solved, more or less, by
using the solution found on the group, which was to change the diff
option from "-u" to "-U"). Now the mails don't come as often (and as
empty) as before, but every time i make a change on a device, the
abovementioned is the only thing I get. I must add that in CVS the
diffs appear properly, as they should.
I'm sorry if this is a double post, and thank you in advance for any
help you can give.


Mircea
--
"I'm not a nerd, I'm a specialist." - Sagara Sousuke
Mircea Ionita
2011-07-26 12:51:22 UTC
Permalink
Hi again,

I forgot to mention that rancid is 2.3.6, and the system is fedora 11.

Thank you!
Post by Mircea Ionita
Hi guys,
I've been having a problem with rancid lately, that is, it is sending
mails containing "diff -U -4 -r1.437 <dev name>" instead of actual
diffs. I ran into this problem after I solved the initial issue, which
was that rancid was sending empty emails (solved, more or less, by
using the solution found on the group, which was to change the diff
option from "-u" to "-U"). Now the mails don't come as often (and as
empty) as before, but every time i make a change on a device, the
abovementioned is the only thing I get. I must add that in CVS the
diffs appear properly, as they should.
I'm sorry if this is a double post, and thank you in advance for any
help you can give.
Mircea
--
"I'm not a nerd, I'm a specialist." - Sagara Sousuke
--
"I'm not a nerd, I'm a specialist." - Sagara Sousuke
john heasley
2011-07-26 16:40:43 UTC
Permalink
Post by Mircea Ionita
I've been having a problem with rancid lately, that is, it is sending
mails containing "diff -U -4 -r1.437 <dev name>" instead of actual
diffs. I ran into this problem after I solved the initial issue, which
was that rancid was sending empty emails (solved, more or less, by
using the solution found on the group, which was to change the diff
option from "-u" to "-U"). Now the mails don't come as often (and as
empty) as before, but every time i make a change on a device, the
abovementioned is the only thing I get. I must add that in CVS the
diffs appear properly, as they should.
the cvs diff just pipes to sendmail, with To (etc) headers written to
sendmail's stdin. so, test that yourself to make sure that it works.
see the control_rancid script.

Loading...