-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure latest samba is installed #956
Conversation
Stay up to date in case older versions are purged from the repo.
This will allow for newer samba packages
dnf config-manager --setopt=appstream*.exclude=*httpd*,mod_ssl --save \ | ||
; fi && \ | ||
dnf -y install \ | ||
https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \ | ||
https://rpm.manageiq.org/release/17-quinteros/el8/noarch/manageiq-release-17.0-1.el8.noarch.rpm && \ | ||
dnf -y update && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bdunne can we do this on the appliance side as well to keep it consistent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be necessary on the appliances since the installer will pick the latest available at installation time. We only need this because there may be changes since the base image was created.
I narrowed it down here ManageIQ/manageiq-rpm_build#281 (comment) |
@bdunne A conflict occurred during the backport of this pull request to If this pull request is based on another pull request that has not been marked for backport, add the appropriate labels to the other pull request. Otherwise, please create a new pull request direct to the Conflict details: diff --cc images/manageiq-base/Dockerfile
index 069ea53,cf417c9..0000000
--- a/images/manageiq-base/Dockerfile
+++ b/images/manageiq-base/Dockerfile
@@@ -46,9 -48,10 +48,14 @@@ RUN dnf config-manager --setopt=tsflags
; fi && \
dnf -y install \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
++<<<<<<< HEAD
+ https://rpm.manageiq.org/release/16-petrosian/el8/noarch/manageiq-release-16.0-1.el8.noarch.rpm && \
++=======
+ https://rpm.manageiq.org/release/17-quinteros/el8/noarch/manageiq-release-17.0-1.el8.noarch.rpm && \
+ dnf -y update && \
++>>>>>>> 1e331e5 (Merge pull request #956 from bdunne/ensure_latest_samba)
dnf -y module enable postgresql:13 ruby:3.0 && \
- if [[ "$RELEASE_BUILD" != "true" ]]; then dnf config-manager --enable manageiq-17-quinteros-nightly; fi && \
+ if [[ "$RELEASE_BUILD" != "true" ]]; then dnf config-manager --enable manageiq-16-petrosian-nightly; fi && \
dnf config-manager --setopt=ubi-8-*.exclude=dracut*,net-snmp*,perl-*,redhat-release* --save && \
if [[ "$LOCAL_RPM" = "true" ]]; then /create_local_yum_repo.sh; fi && \
dnf -y install \ |
Ensure latest samba is installed (cherry picked from commit 1e331e5)
Backported to petrosian via 6665e6b
|
httpd will still come from the UBI appstream repo due to the exclusion set above. When the release RPM is swapped, the RPM scripts from that and shadow-utils reset the contents of /etc/passwd causing the apache user to be removed and httpd fails to start due to the missing user. Based on changes in ManageIQ#956
httpd will still come from the UBI appstream repo due to the exclusion set above. When the release RPM is swapped, the RPM scripts from that and shadow-utils reset the contents of /etc/passwd causing the apache user to be removed and httpd fails to start due to the missing user. Based on changes in ManageIQ#956
dnf update
system packages to allow for newer packages to be installed (samba-*) later in the dockerfileThis brings samba packages up to date: