aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-08-30 07:47:09 +0000
committerSam Yaple <sam@yaple.net>2015-08-30 07:53:57 +0000
commit2d4a261f2295f0db9b7fceee25c05fb5442773fa (patch)
treee22ae771704dbe9f691cef8ac958e6083fde8b16
parent730276aaf96cc6915b0fc4b2d08e366c7568338e (diff)
downloadkolla-2d4a261f2295f0db9b7fceee25c05fb5442773fa.tar.gz
kolla-2d4a261f2295f0db9b7fceee25c05fb5442773fa.zip
Remove pam+noaudit
This version of pam conflicts with ceph-common and needs to be removed which is fine since we now have true Ubuntu images. Change-Id: I1e85352a869d814bc2e26b9568ac1ccc93ca899f Partially-Implements: blueprint ceph-container
-rwxr-xr-xdocker/base/Dockerfile.j220
1 files changed, 1 insertions, 19 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2
index b3b0c776a..b2c19198a 100755
--- a/docker/base/Dockerfile.j2
+++ b/docker/base/Dockerfile.j2
@@ -24,9 +24,6 @@ RUN yum install -y https://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.
# This repository provides latest packages built from trunk master into RPMs
RUN curl http://trunk.rdoproject.org/centos7/current/delorean.repo -o /etc/yum.repos.d/delorean-current.repo
-# This repository turns off auth in PAM so we can operate on Ubuntu 14.04
-RUN curl https://copr.fedoraproject.org/coprs/sdake/pam.noaudit/repo/epel-7/sdake-pam.noaudit-epel-7.repo -o /etc/yum.repos.d/sdake-pam.noaudit-epel-7.repo
-
{% if base_distro == 'centos' %}
# CentOS 7.1 workaround for conflicting packages with libvirt
RUN rpm -e --nodeps systemd-container systemd-container-libs \
@@ -49,8 +46,7 @@ RUN yum-config-manager --enable ol7_optional_latest ol7_addons
# Set up repositories
RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm \
&& yum -y install dnf dnf-plugins-core \
- && yum clean all \
- && dnf copr enable -y sdake/pam.noaudit
+ && yum clean all
# Endif for base_distro fedora
{% endif %}
@@ -144,20 +140,6 @@ RUN yum install -y \
python-wsme \
&& yum clean all
-# TODO(inc0): when oslo_service lands in delorean, change pip to yum
-# necessary until https://bugzilla.redhat.com/show_bug.cgi?id=1229477 is fixed
-
-# This is dirty like zebra. This works around a bug in Ubuntu 14.04 LTS. The
-# --net=host option does not work on ubuntu 14.04 because of a kernel bug. One
-# workaround is to buid pam without authentication.
-# See:
-# https://registry.hub.docker.com/u/sequenceiq/pam/
-#
-RUN rpm -e --nodeps pam \
- && yum -y install pam+noaudit \
- && yum clean all
-# End dirty like zebra
-
# Endif for install_type binary
{% elif install_type == 'source' %}