Red Hat Bugzilla – Bug 1476156
Extract upgrade from RPM script to separate executable file
Last modified: 2018-04-05 07:26:47 EDT
Description of problem:
In containers RPM post update scriptlets are not working. Please extract upgrade to separate executable file, we need to run this script during container upgrade.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install ipa-server-docker container on RHEL 7.3.x
2. Upgrade container to RHEL 7.4 version
3. Error: invalid syntax in named.conf
Named did not start
Named will start
Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1475946
We can call RPM postscriptlet manually in containers, so we can close this.
Reopening, it is not time critical, but it is better to have a single indempotent script responsible for updates than hacking RPM post scriptlets in container.