Bug 1358947 - opendmarc-importstats calls opendmarc-import with no path
Summary: opendmarc-importstats calls opendmarc-import with no path
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: opendmarc
Version: el5
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Steve Jenkins
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-21 21:03 UTC by Steve Jenkins
Modified: 2017-01-15 16:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-15 16:03:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Steve Jenkins 2016-07-21 21:03:12 UTC
Description of problem:

The script /usr/sbin/opendmarc-importstats calls opendmarc-import with no path, which fails on the EL5 platform.

Additional info:
Originally reported by Andrew Meredith.

Will patch and rebuild with:

--- /reports/opendmarc-importstats.old	2016-07-21 17:56:31.000000000 +0100
+++ /reports/opendmarc-importstats	2016-07-21 17:54:15.000000000 +0100
@@ -17,7 +17,7 @@
 then
 	mv $statsdb ${statsdb}.OLD.$$
 
-	if opendmarc-import < ${statsdb}.OLD.$$
+	if /usr/sbin/opendmarc-import < ${statsdb}.OLD.$$
 	then
 		rm ${statsdb}.OLD.$$
 	else

Comment 1 Steve Jenkins 2016-07-21 21:05:34 UTC
Andrew:

I patched a build as shown above. The build output is here:

http://koji.fedoraproject.org/koji/taskinfo?taskID=14971715

Can you download the appropriate RPMs from your architecture's build and see if that solves the importstats issue?

Comment 2 Andrew Meredith 2016-07-25 10:56:12 UTC
Will do

Comment 3 Andrew Meredith 2016-07-25 11:00:29 UTC
The issue was only seen on the EL5 server, for which there is no build, so sadly I cannot help at the moment. The others (el6 & 7) are suffering from a separate issue that involves the daemon segfaulting every verse end, so they never build up any logs to process.

If the above patch is the only difference, then I can say with confidence that it will be fine as that is the only difference in the el5 install my end.

Comment 4 Steve Jenkins 2017-01-15 16:03:27 UTC
This should have been fixed by opendmarc-1.3.2-0.12.el5:

https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-16c55d3061


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