Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3291

Package module should work on Centos 8 without having to install any dependencies

    XMLWordPrintable

    Details

      Description

      EL8 no longer ships python installed by default and so our yum package modules no longer works without installing python.

      We could fall back to symlinking to /usr/libexex/platform-python, but that is explicitly advised against. https://github.com/cfengine/masterfiles/blob/89a5bc496cdbd4ddddde70d25d7a6141d36aacb8/cfe_internal/update/update_policy.cf#L83

      System tools in Red Hat Enterprise Linux 8 use a Python version 3.6 provided by the internal platform-python package. Red Hat advises customers to use the python36 package instead.

      https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/using-python3_configuring-basic-system-settings#the_internal_platform_python_package

      Additionally there have been discussions about ways to actively discourage people from doing this, i.e. randomizing the binary location or patching the platform python to disallow programs that do not live under a certain path from being able to use it. https://github.com/coreos/fedora-coreos-tracker/issues/32

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              a10042 Nick Anderson
              Reporter:
              a10042 Nick Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: