#7299 RPM post-install scripts fail because they are run with python2
Closed: fixed Opened by ftweedal.

Issue

Some of the RPM packages' post-install or post-transaction scripts fail because
they explicitly run python2, even when only Python 3 versions of packages are
available.

Steps to Reproduce

  1. install (upgrade) the packages

Actual behavior

  • the freeipa-client post-install script fails with a visible error message
  • the freeipa-server post-transaction script terminates early without actually running ipa-server-upgrade.

Expected behavior

The upgrade scripts do not error and do run the required programs.


Metadata Update from @ftweedal:
- Issue assigned to ftweedal

Metadata Update from @ftweedal:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/1357

master:

  • c42c440de53e16b3a14878416227d34917b505ad Use correct version of Python in RPM scripts

ipa-4-6:

  • 74ec1f934ecfb01f2c2dff3146cca28d67b4e2a6 Use correct version of Python in RPM scripts

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @pvoborni:
- Issue set to the milestone: FreeIPA 4.6.2

Metadata