General Notices for Oracle Linux Images

Some changes that affect existing Oracle Linux images running on Oracle Cloud Infrastructure are difficult to attach to specific image releases. Typical examples include changes to support status, yum infrastructure, or security-related points of interest. This document tracks notices that apply generally to all Oracle Linux based images. Refer to this document regularly for changes and updates. For release notes pertaining to specific Oracle Linux images, see Image Release Notes.

2021.06 - Refactored Oracle Cloud Infrastructure Utilities

A new version of the oci-utils package is available with usability enhancements. Beginning with the 0.12.5 release, the oci-iscsi-config and oci-network-config utilities have been refactored for improved usability.

To update to the latest version of oci-utils:

sudo yum update oci-utils

Note

The changes to oci-iscsi-config and oci-network-config utilities are backward compatible with previous versions of these utilities.

For more information, see the OCI Utilities documentation. In addition, the following training videos are available with information about these utilities:

2021.04 - Oracle Linux Extended Support for Oracle Linux 6 Instances

Beginning in April 2021, Oracle Linux 6 moves from Oracle Linux Premier Support to Oracle Linux Extended Support. Oracle Cloud customers receive access to Oracle Linux Extended Support as part of their Oracle Linux Premier support, when running Oracle Linux 6 instances in Oracle Cloud Infrastructure. For more information, see Oracle Linux Extended Support.

Note

During the extended lifecycle period, Oracle Linux 6 images are published quarterly.

Follow these steps to ensure that your Oracle Linux 6 instances receive updates during the extended lifecycle period.

  1. Install the oraclelinux-els-release-el6 package to add the ELS repositories for your Oracle Linux 6 instance:

    sudo yum install oraclelinux-els-release-el6
  2. Verify that the ELS repositories are enabled:

    yum repolist

    For example:

    $ yum repolist
    Loaded plugins: security, ulninfo
    repo id                                                                                repo name                                                                                                                                       status
    ol6_ELS                                                                                Oracle Linux 6Server ELS (x86_64)                                                                                                                  21
    ol6_UEKR4                                                                              Latest Unbreakable Enterprise Kernel Release 4 for Oracle Linux 6Server (x86_64)                                                                  191
    ol6_UEKR4_ELS                                                                          Unbreakable Enterprise Kernel Release 4 for Oracle Linux 6Server ELS (x86_64)                                                                      14
    ol6_addons                                                                             Oracle Linux 6Server Add ons (x86_64)                                                                                                             445
    ol6_developer                                                                          Oracle Linux 6Server Packages for Development and test (x86_64)                                                                                    99
    ol6_ksplice                                                                            Ksplice for Oracle Linux 6Server (x86_64)                                                                                                       13132
    ol6_ksplice_ELS                                                                        Ksplice for Oracle Linux 6Server ELS (x86_64)                                                                                                     184
    ol6_latest                                                                             Oracle Linux 6Server Latest (x86_64)                                                                                                            12932
    ol6_oci_included                                                                       Oracle Software for OCI users on Oracle Linux 6Server (x86_64)                                                                                     62
    ol6_software_collections                                                               Software Collection Library release 3.0 packages for Oracle Linux 6 (x86_64)                                                                    11207
    repolist: 38287
  3. Update the yum repositories to install the latest ELS package updates:

    sudo yum install

Note

The ol6_x86_64_userspace_ksplice_ELS repository is optionally available to obtain Ksplice userspace updates.

To enable the optional ol6_x86_64_userspace_ksplice_ELS repository, edit the oraclelinux-els-ol6.repo file and change the enabled= value from 0 to 1.

For example:

[ol6_x86_64_userspace_ksplice_ELS]
name=Ksplice aware userspace packages for Oracle Linux $releasever ELS ($basearch)
baseurl=https://yum$ociregion.oracle.com/repo/OracleLinux/OL6/userspace/ksplice/ELS/x86_64/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

2021.04 - IPv6 Enabled by Default in Oracle Linux 7 Images

Beginning with the Oracle Linux 7 platform images released in April 2021, IPv6 is enabled by default. This change has been implemented in support of the General Availability (GA) launch of IPv6 in Oracle Cloud Networking. IPv6 addressing is now supported for all commercial and government regions. Previously, IPv6 addressing support was available only in government regions.

Note

IPv6 has been enabled by default in Oracle Linux 8 since the initial release of the Oracle Linux 8 platform image in July 2020.

For more information about IPv6 support in Oracle Cloud Networking, see the following technical resources:

2021.04 - Oracle Linux 8 ol8_oci Yum Repository Archived

The ol8_oci repository has been archived and no new packages are released to this repository. All packages from this repository have been migrated to the ol8_oci_included repository.

Note

No action is required for new or existing Oracle Linux 8 instances. The ol8_oci_included repository is enabled by default.

2021.03 - Yum Update for Oracle Linux 7 and Oracle Linux 8 Instances

The yum configuration has changed in Oracle Cloud Infrastructure for yum mirror endpoints.

Note

No action is required for new Oracle Linux 7 and Oracle Linux 8 instances launched in Oracle Cloud Infrastructure after March 2021, as the changes are automatically applied. Although existing yum configurations continue to work in older instances, it is recommended that you update your instances to the new yum configuration.

Follow these steps to configure your Oracle Linux 7 and Oracle Linux 8 instances to use the updated configuration.

  1. Determine the Oracle Cloud Infrastructure realm where the image is running:

    curl -H "Authorization:Bearer Oracle" -sfm 25 http://169.254.169.254/opc/v2/instance/ 2>/dev/null | jq -r '.regionInfo.realmKey'

    Notice the realm key displayed in the output. If the output displays a realm key from OC1 to OC4, proceed to the next step.

    For example:

    curl -H "Authorization:Bearer Oracle" -sfm 25 http://169.254.169.254/opc/v2/instance/ 2>/dev/n
    ull | jq -r '.regionInfo.realmKey'
    oc1
  2. Install the oci-linux-config package:

    sudo yum -y install oci-linux-config

    During the installation of this package, the following message is displayed:

    IMPORTANT: PLEASE NOTE!! Oracle Linux yum repository configurations have been updated. New repository configuration files have been installed but are disabled. To complete the transition, run this script as root user:/usr/lib/oci-linux-config/oci_yum_configure.sh

  3. Invoke the script to complete the transition to the new mirror endpoints:

    /usr/lib/oci-linux-config/oci_yum_configure.sh
  4. Verify that the yum configuration has been updated:

    ls /etc/yum.repos.d

    After running the script, you will see repositories with the .bkp and rpmnew.bkp extensions.

    Oracle Linux 7:

    $ ls /etc/yum.repos.d
    ksplice-ol7.repo          oracle-epel-ol7.repo.rpmnew.bkp     oraclelinux-developer-ol7.repo.bkp
    ksplice-uptrack.repo      oracle-linux-ol7.repo               oraclelinux-developer-ol7.repo.rpmnew.bkp
    mysql-ol7.repo            oracle-linux-ol7.repo.bkp           uek-ol7.repo
    oci-included-ol7.repo     oracle-linux-ol7.repo.rpmnew.bkp    virt-ol7.repo
    oracle-epel-ol7.repo      oracle-softwarecollection-ol7.repo

    Oracle Linux 8

    $ ls /etc/yum.repos.d
    ksplice-ol8.repo       oracle-epel-ol8.repo                oraclelinux-developer-ol8.repo.rpmnew.bkp
    ksplice-uptrack.repo   oracle-epel-ol8.repo.bkp            oracle-linux-ol8.repo
    mysql-ol8.repo         oracle-epel-ol8.repo.rpmnew.bkp     oracle-linux-ol8.repo.bkp
    oci-included-ol8.repo  oraclelinux-developer-ol8.repo      oracle-linux-ol8.repo.rpmnew.bkp
    oci-ol8.repo           oraclelinux-developer-ol8.repo.bkp  uek-ol8.repo