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.

Bug 1135991

Summary: redhat-lsb does not requires /usr/sbin/sendmail
Product: Red Hat Enterprise Linux 7 Reporter: Ondrej Vasik <ovasik>
Component: redhat-lsbAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: Karel Srot <ksrot>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: astrand, derfian, extras-qa, hliu, ksrot, ovasik, pnemade
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-lsb-4.1-27.el7 Doc Type: Bug Fix
Doc Text:
Cause: Requirement for /usr/sbin/sendmail was missing in redhat-lsb package. Consequence: Minimal install + redhat-lsb-core doesn't result into LSB compliant system. Fix: Requirement for /usr/sbin/sendmail (satisfied even by postfix) was added to redhat-lsb updated package. Result: Minimal installation with redhat-lsb-core installs all utilities required by LSB 4.1 specification.
Story Points: ---
Clone Of: 1133536 Environment:
Last Closed: 2014-09-22 08:53:40 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:
Bug Depends On: 1133536    
Bug Blocks:    

Description Ondrej Vasik 2014-09-01 12:14:41 UTC
+++ This bug was initially created as a clone of Bug #1133536 +++

Description of problem:

LSB requires the presence of /usr/sbin/sendmail, but it is not present after installing redhat-lsb on a minimal Fedora 20 installation.

Version-Release number of selected component (if applicable):

redhat-lsb-submod-security-4.1-21.fc20.x86_64
redhat-lsb-languages-4.1-21.fc20.x86_64
redhat-lsb-submod-multimedia-4.1-21.fc20.x86_64
redhat-lsb-core-4.1-21.fc20.x86_64
redhat-lsb-printing-4.1-21.fc20.x86_64
redhat-lsb-cxx-4.1-21.fc20.x86_64
redhat-lsb-desktop-4.1-21.fc20.x86_64
redhat-lsb-4.1-21.fc20.x86_64

How reproducible:

Happens every time.

Steps to Reproduce:

1. Install a minimal Fedora 20
2. Install redhat-lsb

Actual results:

There is no /usr/sbin/sendmail present.

Expected results:

/usr/sbin/sendmail being present, as described by the LSB specification in these two links:

 - http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/command.html
 - http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/baselib-sendmail-1.html

Additional info:

The /usr/sbin/sendmail requirement was removed by Parag Nemade <pnemade> in commit 4d8d159f616b6979d1d6402934bf77ef28ae7a8b of git://pkgs.fedoraproject.org/redhat-lsb.git, without specific comments about sendmail. The commit message references rh#800249 which is a request to upgrade redhat-lsb to 4.1, but nothing mentions the sendmail change.

This is somewhat similar to bug 832928 but after reading that bug many times I'm not sure if the problem was that redhat-lsb requires /usr/sbin/sendmail or if the problem was that redhat-lsb was lacking the requirement. Looking through the changes of redhat-lsb.git repo for the time between the bug being reported and the bug being closed, I can find no evidence of any changes that would motivate closing the bug.

By taking another look at the git repo again, it seems like this problem seems to affect all Fedora versions from F17 and onwards. I've verified it on Fedora 20.

--- Additional comment from Parag on 2014-08-27 12:33:35 EDT ---

I just looked into bug 832928 and saw that bug was fixed by adding requires to /usr/sbin/sendmail in spec file. It was a simple bug requesting to add /usr/sbin/sendmail and fix appeared in build redhat-lsb-4.1-5.fc17

Some history about this package:-
The package owner was not getting time to work on redhat-lsb and I got opportunity to help this package so I started co-maintaining this package. I did fix some bugs then later some day some new person got appointed to update this package for lsb 4.1 specification and I got task to help him with packaging. He prepared new change and I just saw packaging aspect and not the lsb specification changes as he was working for the package owner, I trusted his work. Later, this new person did find the mistake that he did not add /usr/sbin/sendmail and committed in f17 but looks like he failed to do so in master(f18) branch and we missed this commit now in all further changes. Then I have not seen him working on this package anymore but I continued working on this package but on rawhide(f18) only.

Thank you for finding this missing requires. Let me fix this on all the available fedora branches.

--- Additional comment from Fedora Update System on 2014-08-28 10:33:43 EDT ---

redhat-lsb-4.1-29.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/redhat-lsb-4.1-29.fc21

--- Additional comment from Fedora Update System on 2014-08-28 12:44:07 EDT ---

Package redhat-lsb-4.1-29.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 redhat-lsb-4.1-29.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9894/redhat-lsb-4.1-29.fc21
then log in and leave karma (feedback).

Comment 2 Ondrej Vasik 2014-09-02 12:35:42 UTC
Easy requirement change, let's try this via fastrack.

Comment 3 Karel Srot 2014-09-02 14:10:58 UTC
Beside sendmail it is also missing /usr/bin/pax.

Also, on RHEL-6 redhat-lsb-core also requires 
  /usr/lib/lsb/install_initd 
  /usr/lib/lsb/remove_initd 
while those 2 files are provided by redhat-lsb-core itself. 
On RHEL-7.0 these two files are not listed in --requires. The question is whether it is worth of adding if it is provided by the package itself. Probably not.

Comment 5 Ondrej Vasik 2014-09-02 14:40:21 UTC
/usr/bin/pax is satisfied with requires spax (which provides /usr/bin/pax symlink). If ok, I would keep it as it is now - to prefer spax over pax package. I think Requires: for the symlinks provided by redhat-lsb package are redundant - and cause only chicken&egg problem (cyclic dependency for rpm depsolver ) - were removed by http://pkgs.fedoraproject.org/cgit/redhat-lsb.git/commit/?id=4d8d159f616b6979d1d6402934bf77ef28ae7a8b ... so I will fix just this /usr/sbin/sendmail missing requirement.

Comment 10 errata-xmlrpc 2014-09-22 08:53:40 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.

http://rhn.redhat.com/errata/RHBA-2014-1270.html