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 1209229 - openldap-servers leverages 'find' from findutils which is not a dep of the rpm
Summary: openldap-servers leverages 'find' from findutils which is not a dep of the rpm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openldap
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Matus Honek
QA Contact: Patrik Kis
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-06 18:20 UTC by Erik M Jacobs
Modified: 2015-11-19 08:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: missing findutils dependency Consequence: postinstall script may have failed in certain containerized environments Fix: dependency was added Result: postinstall scripts work even in containerized environments
Clone Of:
Environment:
Last Closed: 2015-11-19 08:53:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2131 0 normal SHIPPED_LIVE Moderate: openldap security, bug fix, and enhancement update 2015-11-19 09:10:21 UTC

Description Erik M Jacobs 2015-04-06 18:20:29 UTC
Description of problem:
The openldap-servers package uses a postscript which leverages the "find" command. However, "findutils" (the package that provides it) is not a dependency of the RPM.

Therefore, on a Docker EL7 instance when trying to use openldap-servers, you will find that the configs are not generated in %post because the find command was not found and exited unsuccessfully. This also does not seem to generate an error when installing the RPM.

How reproducible:
100%

Steps to Reproduce:
1. Start with a Docker el7 container
2. install openldap-servers

Actual results:
config is not properly generated in /etc/openldap/slapd.d

Expected results:
config should be generated

Additional info:

Comment 2 Jan Synacek 2015-04-07 13:03:20 UTC
Yes, that is because findutils are part of the base installation (on Fedora and on RHEL). Trying to 'yum remove' findutils completely wrecks the whole RHEL-7 installation.

I'd say that your container is broken anyway without findutils.

Comment 3 Erik M Jacobs 2015-04-07 13:32:12 UTC
If by "my container" you mean the RHEL7 container from registry.access.redhat.com then I suppose you are correct.

While it may be part of the *base* installation on RHEL, the EL7 Docker image does not use "base".

None of that has anything to do with the fact that:

1) The %post script for this package doesn't fail properly in the absence of findutils
2) The package doesn't properly declare all of its dependencies

So which is it? Is your package broken because it doesn't properly fail and doesn't declare all of its dependencies, or is the Red Hat provided Docker image "broken" because it works fine but doesn't support your package?

Comment 4 Harald Hoyer 2015-04-09 09:58:01 UTC
(In reply to Jan Synacek from comment #2)
> Yes, that is because findutils are part of the base installation (on Fedora
> and on RHEL). Trying to 'yum remove' findutils completely wrecks the whole
> RHEL-7 installation.
> 
> I'd say that your container is broken anyway without findutils.

well, I can remove findutils just fine and have a working minimal system.

reopening

Comment 10 errata-xmlrpc 2015-11-19 08:53:02 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://rhn.redhat.com/errata/RHSA-2015-2131.html


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