Bug 356481 - logwatch / perl-DateManip dependency
Summary: logwatch / perl-DateManip dependency
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: logwatch
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-29 14:26 UTC by Ted Rule
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-10-31 09:01:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.