Bug 356481

Summary: logwatch / perl-DateManip dependency
Product: [Fedora] Fedora Reporter: Ted Rule <ejtr>
Component: logwatchAssignee: Ivana Varekova <varekova>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-31 09:01:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ted Rule 2007-10-29 14:26:29 UTC
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:

Requires: perl(Date::Manip)

to logwatch's SPEC file so that the perl-DateManip RPM is installed automatically.




Version-Release number of selected component (if applicable):


How reproducible:

For instance:

$ 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:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ivana Varekova 2007-10-31 09:01:00 UTC
Fixed in logwatch-7.3.6-10.fc9.