Bug 1476156 - Extract upgrade from RPM script to separate executable file
Extract upgrade from RPM script to separate executable file
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: bind-dyndb-ldap (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Petr Vobornik
: Reopened
Depends On:
Blocks: 1475946
  Show dependency treegraph
Reported: 2017-07-28 03:38 EDT by Martin Bašti
Modified: 2018-04-05 07:26 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-07-28 04:34:27 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Martin Bašti 2017-07-28 03:38:54 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):

How reproducible:

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

Actual results:
Named did not start

Expected results:
Named will start

Additional info:
Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1475946
Comment 2 Martin Bašti 2017-07-28 04:34:27 EDT
We can call RPM postscriptlet manually in containers, so we can close this.
Comment 3 Martin Bašti 2017-07-28 11:03:32 EDT
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.

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