Bug 1218754

Summary: mimedefang-util does not run
Product: [Fedora] Fedora EPEL Reporter: Mirek Svoboda <goodmirek>
Component: mimedefangAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: goodmirek, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mimedefang-2.78-2.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-12 20:38:59 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 Mirek Svoboda 2015-05-05 18:49:34 UTC
Description of problem:
After clean installation of mimedefang RPM the script /usr/bin/mimedefang-util does not run with error message:
-bash: /usr/bin/mimedefang-util: perl: bad interpreter: No such file or directory
even though perl is installed.

Version-Release number of selected component (if applicable):
rpm -q perl mimedefang epel-release
perl-5.10.1-136.el6_6.1.x86_64
mimedefang-2.78-1.el6.x86_64
epel-release-6-8.noarch

How reproducible:
Install Centos6.8, install Perl, install Mimedefang.
Run as root
#mimedefang-util

Steps to Reproduce:
1. Install Centos6.8, install Perl, install Mimedefang
2. Run as root 'mimedefang-util'
3.

Actual results:
-bash: /usr/bin/mimedefang-util: perl: bad interpreter: No such file or directory

Expected results:
standard mimedefang-tool output i.e.
mimedefang-util 
One of --prettyprint, --structure, or --dump must be specified
Usage:
        # Print a "pretty" version of an input message
        mimedefang-util --prettyprint < input.msg

        # Print the message structure
        mimedefang-util --structure < input.msg

        # Parse and re-MIME the message
        mimedefang-util --dump < input.msg

Additional info:
The problem is in first line of mimedefang-util, after change from
#!perl -w
to
#!/usr/bin/perl -w
it works.
Other Perl script 'mimedefang.pl' included within the package mimedefang-2.78-1.el6.x86_64 works well out of the box.

Comment 1 Robert Scheck 2015-05-05 19:25:53 UTC
Hello Miroslav, thank you for your reporting your findings. You are indeed
right with your analysis - good catch!

Comment 2 Fedora Update System 2015-05-05 19:49:37 UTC
mimedefang-2.78-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/mimedefang-2.78-2.fc22

Comment 3 Fedora Update System 2015-05-05 19:49:57 UTC
mimedefang-2.78-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/mimedefang-2.78-2.fc21

Comment 4 Fedora Update System 2015-05-05 19:50:29 UTC
mimedefang-2.78-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mimedefang-2.78-2.fc20

Comment 5 Mirek Svoboda 2015-05-05 19:58:05 UTC
Hello Robert, I appreciate your quick reaction!

Comment 6 Fedora Update System 2015-05-09 23:55:13 UTC
mimedefang-2.78-2.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/mimedefang-2.78-2.el7

Comment 7 Fedora Update System 2015-05-09 23:55:35 UTC
mimedefang-2.78-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mimedefang-2.78-2.el6

Comment 8 Fedora Update System 2015-05-09 23:55:57 UTC
mimedefang-2.78-2.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/mimedefang-2.78-2.el5

Comment 9 Fedora Update System 2015-05-10 23:52:19 UTC
Package mimedefang-2.78-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mimedefang-2.78-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-7694/mimedefang-2.78-2.fc21
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2015-05-12 20:38:59 UTC
mimedefang-2.78-2.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-05-19 16:16:58 UTC
mimedefang-2.78-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2015-05-19 16:22:39 UTC
mimedefang-2.78-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2015-05-26 03:51:29 UTC
mimedefang-2.78-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2015-05-26 21:26:11 UTC
mimedefang-2.78-2.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2015-05-26 21:26:29 UTC
mimedefang-2.78-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.