Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJaroslav Škarvada
2015-05-28 11:52:30 UTC
+++ This bug was initially created as a clone of Bug #1219178 +++
Description of problem:
Sendmail doesn't use alternatives mechanism for "makemap" and its man file. There are other maildaemons (e.g., opensmtpd) which already consider that other mailers could have their own implementations of such utilities. It's expected that sendmail would do the same.
Version-Release number of selected component (if applicable):
Current version in rawhide
How reproducible:
Always
Steps to Reproduce:
1. Install sendmail and opensmtpd
2. Switch current mta to opensmtpd and back to sendmail using alternatives:
/usr/sbin/alternatives --set mta /usr/sbin/sendmail.opensmtpd
/usr/sbin/alternatives --set mta /usr/sbin/sendmail.sendmail
Actual results:
Unlike other components, every time "makemap" points to the sendmail version.
Expected results:
Symbolic link to "makemap" and man-page should be adjusted accordingly.
Additional info:
Can be solved with adding some alternative-specific lines into spec.
E.g., the appropriate opensmtpd lines are:
--slave %{_sbindir}/makemap mta-makemap %{_sbindir}/makemap.opensmtpd \
--slave %{_mandir}/man1/makemap.1.gz mta-makemapman %{_mandir}/man8/makemap.opensmtpd.8.gz
--- Additional comment from Jaroslav Škarvada on 2015-05-27 22:54:29 CEST ---
I used alternatives as you proposed. I also had to use the following hack:
%pre
[ -h %{_sbindir}/makemap ] || rm -f %{_sbindir}/makemap || :
[ -h %{_mandir}/man8/makemap.8.gz ] || rm -f %{_mandir}/man8/makemap.8.gz || :
Otherwise it is not possible to convert to alternatives by simply upgrading.
--- Additional comment from Fedora Update System on 2015-05-28 12:37:03 CEST ---
sendmail-8.15.1-5.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/sendmail-8.15.1-5.fc22
--- Additional comment from Fedora Update System on 2015-05-28 12:37:24 CEST ---
sendmail-8.14.9-6.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/sendmail-8.14.9-6.fc21
Comment 1Jaroslav Škarvada
2015-05-28 12:24:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2017:2197