Subject: | Possible bug when using AlwaysEmail in snapback2.conf |
I am getting an error using snackback2-0.5. When I put the AlwaysEmail directive in the /etc/snapback/snapback2.conf file, I get an error.
Here is my snapback2.conf file
Hourlies 2
Dailies 7
Weeklies 4
Monthlies 12
AutoTime Yes
AdminEmail kevin@atlas
# If AlwaysEmail is set, then get carp errors
#AlwaysEmail Yes
LogFile /var/log/snapback.log
ChargeFile /var/log/snapback.charges
Compress no
Exclude core.*
<Backup servername.goes.here>
Directory /home/
Directory /etc/
Directory /usr/local/
Directory /var/lib/portage
</Backup>
And the error that I get from snapback2 is:
Undefined subroutine &main::carp called at /usr/bin/snapback2 line 163.
I am not enough of a Perl meister to determine if this is caused by carp, snapback2, or something else. All I can say for sure is that when I put the AlwaysEmail directive in the config, it fails, and when I remove it, it works.
If there is any other info that you think would help diagnose this issue, please let me know.
K