Description of problem:
logwatch's "range" parameter can potentially make use of "human readable date
ranges". However, this depends on the Date::Manip Perl module. Because logwatch
can run with reduced functionality without the Date::Manip module, the extra
perl-DateManip RPM is not automatically installed as a dependency of logwatch.
Since the perl-DateManip RPM has been available as part of the Core OS for a
long time, it seems reasonable to add:
to logwatch's SPEC file so that the perl-DateManip RPM is installed automatically.
Version-Release number of selected component (if applicable):
$ sudo logwatch --service=iptables --range='since 10/10/2007' --print |more
ERROR: Range "since 10/10/2007" not understood
This system does not have Date::Manip module loaded, and therefore
the only valid --range parameters are 'yesterday', 'today', or 'all'.
The Date::Manip module can be installed by using either of:
cpan -i 'Date::Manip'
perl -MCPAN -e 'install Date::Manip'
Steps to Reproduce:
Fixed in logwatch-7.3.6-10.fc9.