Bug 1406494 - RFE: Provide nss_wrapper package in RHSCL channel
Summary: RFE: Provide nss_wrapper package in RHSCL channel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: distribution
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 2.4
Assignee: Brian Gollaher
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-20 17:12 UTC by Honza Horak
Modified: 2017-04-13 08:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Feature: nss_wrapper package available in RHSCL channel Reason: nss_wrapper is required by several docker container in RHSCL portfolio Result: Users will be able to rebuild RHSCL containers from RHSCL packages
Clone Of:
Environment:
Last Closed: 2017-04-13 08:04:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0976 0 normal SHIPPED_LIVE new packages: nss_wrapper 2017-04-13 12:04:40 UTC

Description Honza Horak 2016-12-20 17:12:58 UTC
Description of problem:
This is a similar issue as bz#1120347, but this time the request is to ship nss_wrapper in RHSCL channel, because it doesn't seem probable to have the nss_wrapper in the RHEL 7 any time soon.

Why we need nss_wrapper:
In RHSCL images (e.g. postgresql image), we have a need for nss_wrapper that is not used for testing (testing purposes are primary use case of the nss_wrapper). The problem we're solving in postgresql docker image is that we need to run the container as any non-root user (important feature for OpenShift), so something like `docker run -u 12345 postgresql-94-rhel7` should work.

However, postgresql requires the UID be present in /etc/passwd file, otherwise the daemon doesn't start. This is what nss_wrapper allows us to do.

Without nss_wrapper (of similar functionality), we're not able to provide the feature of running the container as arbitrary user.

Current solution internally:
Currently we take nss_wrapper from rhel-7-server-ose-3.2-rpms channel internally, which customers don't necessary need to have a subscription for, so they are not able to rebuild container images provided by us.

Why we need it externally as well:
Especially in containers world possibility to rebuild a container from original sources is quite important, since the container images only support limited set of use cases by default and users are expected to build their own container image for the specific purposes. In some cases it is possible to build only thin layer on top or our image, but sometimes it is necessary to change the existing scripts and in that case only rebuild from original sources is required.

Comment 5 errata-xmlrpc 2017-04-13 08:04:52 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/RHEA-2017:0976


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