Bug 1601699

Summary: Why is sendmail listed as a required runtime package when no longer required ?
Product: [Fedora] Fedora Reporter: Gerald Cox <gbcox>
Component: redhat-lsbAssignee: Ondrej Vasik <ovasik>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, lnykryn, ovasik, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-17 06:52:45 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 Gerald Cox 2018-07-17 04:48:04 UTC
I tripped upon this why researching:

https://bugzilla.redhat.com/show_bug.cgi?id=1601698

rpm is reporting that esmtp was installed because of redhat-lsb

I couldn't find reference to esmtp in the spec file, but found
a requires for sendmail - which esmtp acts as a substitute.

However according to:
https://fedoraproject.org/wiki/Changes/NoDefaultSendmail

sendmail isn't installed by default in Fedora anymore, so
why is it listed as a requires in redhat-lsb?

I did find this comment:

* Wed Aug 27 2014 Parag <pnemade AT redhat DOT com> - 4.1-29
- Resolves:rh#1133536 - redhat-lsb does not requires /usr/sbin/sendmail

but after reading, it appears that the solution was to add in the Requires for sendmail?

Comment 1 Lukáš Nykrýn 2018-07-17 06:52:45 UTC
Please see https://bugzilla.redhat.com/show_bug.cgi?id=1601698#c1

Comment 2 Ondrej Vasik 2018-07-17 06:55:30 UTC
Hi, LSB requires some commands to be present on the system. Unfortunately, sendmail is one of these even in latest 5.0 version of LSB (see https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Common/LSB-Common/rcommands.html#TBL-CORECMD ).

Not much I can do about it here - other than doing some redhat-lsb-complete subpackage where things like qt, sendmail can land. But I'm not sure whether this is a good idea.

Comment 3 Gerald Cox 2018-07-17 16:32:20 UTC
(In reply to Ondrej Vasik from comment #2)
> Hi, LSB requires some commands to be present on the system. Unfortunately,
> sendmail is one of these even in latest 5.0 version of LSB (see
> https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Common/LSB-Common/
> rcommands.html#TBL-CORECMD ).
> 
> Not much I can do about it here - other than doing some redhat-lsb-complete
> subpackage where things like qt, sendmail can land. But I'm not sure whether
> this is a good idea.


Thanks for your reply... the reason I got tied up in all this was because of a change I had made to msmtp and then it sort of snowballed.  I'm not asking you to change anything... I'm just trying to understand why things are setup the way they are.  If you have time, please see my last comment in:
https://bugzilla.redhat.com/show_bug.cgi?id=1601698

Thanks for your time.