Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1893671

Summary: logwatch services require diagnostics module but package has no dependency
Product: [Fedora] Fedora Reporter: Jakob Hirsch <jh.redhat-2018>
Component: logwatchAssignee: Frank Crawford <frank>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 33CC: anon.amish, frank, herrold, mark, todd_lewis, vchepkov
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: logwatch-7.5.4-2.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-18 02:19:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakob Hirsch 2020-11-02 10:47:36 UTC
Description of problem:

Since the upgrade to F33 I get error messages in the daily logwatch email:

---cut---
Can't locate diagnostics.pm in @INC (you may need to install the diagnostics module) (@INC contains: /usr/share/logwatch/lib /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/share/logwatch/scripts/services/sendmail line 26.
 BEGIN failed--compilation aborted at /usr/share/logwatch/scripts/services/sendmail line 26.
---cut---

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

logwatch-7.5.4-1.fc33.noarch

How reproducible:

always

Steps to Reproduce:
1. install logwatch
2. run it (or wait one day)

Actual results:

error message as given above

Expected results:

no error message

Additional info:

services/sendmail and /http-error but wants to use the diagnostics package (for whatever reason) and bail if it cannot be found. The "diagnostics" perl module is in the perl-diagnostics package, but the logwatch package has no corresponding "Requires".

Comment 1 Frank Crawford 2020-11-02 11:46:49 UTC
Perviously the diagnostic package appears to have been in perl-interpreter, but has now been moved to a separate package.

I am tracking a separate issue with F33 and once sorted will update logwatch with this as a "Requires".

Comment 2 Frank Crawford 2020-11-08 04:10:12 UTC
*** Bug 1894211 has been marked as a duplicate of this bug. ***

Comment 3 Frank Crawford 2020-11-08 04:11:01 UTC
*** Bug 1895351 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2020-11-09 11:40:59 UTC
FEDORA-2020-ab2d7fb704 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ab2d7fb704

Comment 5 Fedora Update System 2020-11-10 02:19:21 UTC
FEDORA-2020-ab2d7fb704 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ab2d7fb704`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ab2d7fb704

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-11-18 02:19:33 UTC
FEDORA-2020-ab2d7fb704 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.