Bug 1235110 - Doesn't provide /usr/bin/sendmail
Summary: Doesn't provide /usr/bin/sendmail
Alias: None
Product: Fedora
Classification: Fedora
Component: opensmtpd
Version: 22
Hardware: Unspecified
OS: Linux
Target Milestone: ---
Assignee: Denis Fateyev
QA Contact: Fedora Extras Quality Assurance
Depends On: 1244444
TreeView+ depends on / blocked
Reported: 2015-06-24 03:04 UTC by Vallimar
Modified: 2015-08-02 13:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-08-02 13:08:46 UTC
Type: Bug

Attachments (Terms of Use)

Description Vallimar 2015-06-24 03:04:56 UTC
Description of problem:
Package doesn't properly provide ghost links to be a true 'alternatives' package for sendmail. This causes the problem that even if you configure opensmtpd to be active via the alternatives command, the package database has no listing of opensmtpd providing a /usr/bin/sendmail binary, so it will not satisfy that requirement for packages such as redhat-lsb or alpine.

Version-Release number of selected component (if applicable):
Probably all of them to-date, but this is the one I just tried:

How reproducible:

Additional info:
The specfile should have these lines added to the %files section:
%attr(0755,root,root) %ghost %{_sbindir}/sendmail
%attr(0755,root,root) %ghost %{_sbindir}/makemap
%attr(0755,root,root) %ghost %{_bindir}/mailq
%attr(0755,root,root) %ghost %{_bindir}/newaliases
%attr(0755,root,root) %ghost /usr/lib/sendmail

Comment 1 Denis Fateyev 2015-07-02 14:55:01 UTC
Thanks for the report. It's considered for the next major release which is coming soon.

Comment 2 Denis Fateyev 2015-07-18 22:40:49 UTC
I've just submitted an update; please check the packages from testing.

Comment 3 Vallimar 2015-07-19 02:43:00 UTC
It looks good to me, tested and working as expected now.
Thanks for resolving this!

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