Oracle Linux 8でWordPressサーバを立てる


Oracle CloudのAlways Freeで作れるインスタンスにARMベースのインスタンスが追加された。

従来のCPU1個/メモリ1GBに対して、CPU1~4個/メモリ6GB~24GBと破格のスペックなので、Wordpressサーバでも移行してみるかな、と思って、「CentOS 7 / Oracle Linux 7でWordPressサーバを建てる」の手順でつくろうとしてみたところ、Oracle Linux 7 ARMではPHP Packages for Oracle Linuxが提供されていなかった。

Oracle Linux 8であれば標準状態でphp 7.4が利用できるようなので、Oracle Linux 8で作成する手順を策定した。

変更履歴

・Wordpress本体を更新しようとしたらできなかったので「手順8-2: php-fpmの書き込み権限問題」追加
・既存blogのデータをインポートしようとしたらファイルサイズオーバーだったので「手順9: WordPressで取り扱えるファイルサイズの拡大」追加
・存在を思い出したので「手順10: WordPressのSite Health Status対応」追加
・パーマリンク設定を変更したら動かなかったので「手順11: WordPressの.htaccess有効化」追加
・「手順12: OS自動更新の設定」追加
・日本語Localeに設定した場合の対応として「手順2-3:日本語Locale対応」追加
・2022/04/06にOracle-Linux-8.5-aarch64-2022.03.17-1を使って構築した時の状況を追加
・手順8が2つあったので番号を振り直した
・wordpressにWP Multibyte Patchをインストールする手順を書き忘れていたので追加

また、手順8以降でWordpressにアクセスすると「Service Unavailable」と表示される場合があります。その場合は、php-fpmのSELinuxポリシー設定問題であるため「Oracle Linux 8でphp 7.4.19-1にアップデート後からphp-fpmが起動しなくなった」の対処を行ってみてください。

準備1: Oracle Cloud用手順

準備1-1: IPv6アドレス割り当て:Oracle Cloudコンソール側

Oracle Cloudのコンソールを開いて、インスタンスにIPv6アドレスを割り当てます。

また、割り当てられたIPv6アドレスを確認します。

準備1-2: インスタンス側操作

2021年5月27日の段階ではOracle Cloud環境で提供されるOracle Linux 8でIPv6アドレスの自動割り当てが動作していませんでした。

Oracle-Linux-8.5-aarch64-2022.03.17-1(2022/04/06時点)やOracle-Linux-8.6-aarch64-2022.05.30-0(2022/07/01時点)でも同様でした。

このため、firewalldの設定でdhcpv6-clientが許可されていないために発生していましたので、許可します。

まず初期状態を確認

$ sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp0s3
  sources:
  services: ssh
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
$

dhcpv6-clientの許可設定と設定読み込みと確認

$ sudo firewall-cmd --permanent --add-service=dhcpv6-client
success
$ sudo firewall-cmd --reload
success
$ sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp0s3
  sources:
  services: dhcpv6-client ssh
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
$

準備2: 一般的な前準備

準備2-1: 日本時間にする

日本に住んでいる場合、日本時間表記の方が使いやすいので、OSも日本時間表示に設定する。

$ sudo timedatectl set-timezone Japan
$ 

準備2-2: パッケージを最新にアップデートする

現時点でインストール済みパッケージを最新にします。

Oracle Linux 8ではyum updateではなくdnf updateとなります。アップデート後は再起動します。(yumコマンドでも動きます)

$ sudo dnf update -y
<略>
$ sudo reboot

手順2-3:日本語Locale対応

ja_JP.UTF-8など日本語Localeで設定した際、「Failed to set locale, defaulting to C.UTF-8」というメッセージが出力される場合があります。

その場合は日本語Localeを追加インストールします。

$ sudo dnf install langpacks-ja glibc-langpack-ja
<略>
$

手順3: EPELレポジトリの追加

EPELレポジトリを使うので、使用できるようにします。

Oracle Cloud上のOracle Linux 8環境ではレポジトリパッケージのインストールはされているので、有効化を行います。(なお、/etc/yum.repo.d/のファイルを編集するのは時代遅れな操作です)

また、2021年11月以降のOracle Cloudでの新規インスタンスではOS管理が有効になっている関係で手順が変わっています。新規で作る場合は手順3-1bの方を参照してください。

手順3-1a:通常の手順

Oracle Cloud外の環境でOracle Linux 8をインストールしている場合や古めのOracle Cloudインスタンスの場合、こちらのOS側のコマンドで設定する手順を行います。

現状のレポジトリ設定状況を「sudo dnf repolist –all」を実行して確認します。

$ sudo dnf repolist --all
repo id                          repo name                              status
ol8_MySQL80                      MySQL 8.0 for Oracle Linux 8 (aarch64) enabled
ol8_MySQL80_connectors_community MySQL 8.0 Connectors Community for Ora enabled
ol8_MySQL80_tools_community      MySQL 8.0 Tools Community for Oracle L enabled
ol8_aarch64_userspace_ksplice    Ksplice aware userspace packages for O disabled
ol8_appstream                    Oracle Linux 8 Application Stream (aar enabled
ol8_baseos_latest                Oracle Linux 8 BaseOS Latest (aarch64) enabled
ol8_codeready_builder            Oracle Linux 8 CodeReady Builder (aarc disabled
ol8_developer                    Oracle Linux 8 Development Packages (a disabled
ol8_developer_EPEL               Oracle Linux 8 EPEL Packages for Devel disabled
ol8_developer_UEKR6              Developer Preview of UEK Release 6 (aa disabled
ol8_distro_builder               Oracle Linux 8 Distro Builder (aarch64 disabled
ol8_ksplice                      Ksplice for Oracle Linux 8 (aarch64)   enabled
ol8_oci_included                 Oracle Software for OCI users on Oracl enabled
ol8_u2_baseos_base               Oracle Linux 8.2 BaseOS (aarch64)      disabled
ol8_u3_baseos_base               Oracle Linux 8.3 BaseOS (aarch64)      disabled
ol8_u4_baseos_base               Oracle Linux 8.4 BaseOS (aarch64)      disabled
$ 

上記の場合、ol8_developer_EPELが登録されているもののdisabledになっています。

この場合は「sudo dnf config-manager –set-enabled ol8_developer_EPEL」を実行し、enabledに変更されたことを確認します。

$ sudo dnf config-manager --set-enabled ol8_developer_EPEL
$ sudo dnf repolist --all
repo id                          repo name                              status
ol8_MySQL80                      MySQL 8.0 for Oracle Linux 8 (aarch64) enabled
ol8_MySQL80_connectors_community MySQL 8.0 Connectors Community for Ora enabled
ol8_MySQL80_tools_community      MySQL 8.0 Tools Community for Oracle L enabled
ol8_aarch64_userspace_ksplice    Ksplice aware userspace packages for O disabled
ol8_appstream                    Oracle Linux 8 Application Stream (aar enabled
ol8_baseos_latest                Oracle Linux 8 BaseOS Latest (aarch64) enabled
ol8_codeready_builder            Oracle Linux 8 CodeReady Builder (aarc disabled
ol8_developer                    Oracle Linux 8 Development Packages (a disabled
ol8_developer_EPEL               Oracle Linux 8 EPEL Packages for Devel enabled
ol8_developer_UEKR6              Developer Preview of UEK Release 6 (aa disabled
ol8_distro_builder               Oracle Linux 8 Distro Builder (aarch64 disabled
ol8_ksplice                      Ksplice for Oracle Linux 8 (aarch64)   enabled
ol8_oci_included                 Oracle Software for OCI users on Oracl enabled
ol8_u2_baseos_base               Oracle Linux 8.2 BaseOS (aarch64)      disabled
ol8_u3_baseos_base               Oracle Linux 8.3 BaseOS (aarch64)      disabled
ol8_u4_baseos_base               Oracle Linux 8.4 BaseOS (aarch64)      disabled
$

手順3-1b:Oracle CloudのOS管理下にある場合の手順

2022年4月6日時点でOracle Cloud上で提供されているOracle-Linux-8.5-aarch64-2022.03.17-1では「sudo dnf repolist –all」の実行結果に変化があり、「This system is receiving updates from OSMS server.」と書かれた上で、だいぶ整理されたレポジトリのみが表示されます。

$ sudo dnf repolist --all
This system is receiving updates from OSMS server.
repo id                                  repo name                       status
ol8_addons-aarch64                       Oracle Linux 8 Add ons (aarch64 enabled
ol8_appstream-aarch64                    Oracle Linux 8 Application Stre enabled
ol8_baseos_latest-aarch64                Oracle Linux 8 BaseOS Latest (a enabled
ol8_ksplice-aarch64                      Ksplice for Oracle Linux 8 (aar enabled
ol8_mysql80-aarch64                      MySQL 8.0 for Oracle Linux 8 (a enabled
ol8_mysql80_connectors_community-aarch64 MySQL 8.0 Connectors for Oracle enabled
ol8_mysql80_tools_community-aarch64      MySQL 8.0 Tools Community for O enabled
ol8_oci_included-aarch64                 Oracle Software for OCI users o enabled
$

これはOracle Cloudの「OS管理(OS Managemnt System)」という機能との連携が始まり、Oracle CloudのWebコンソール からパッチ状態を見れるように変更になったためです。

レポジトリの設定変更は上記画面の「…」をクリックし「OS管理詳細の表示」を選択

[リソース]-[ソフトウェア・ソース]から「追加」を選択

「Oralce Linux 8 EPEL Packages for Development」を選択し「追加」

Web上で追加されたことを確認

次にコマンドに戻り「sudo dnf repolist –all」を実行するとEPELレポジトリがenabledとして増えていることが確認できます。

$ sudo dnf repolist --all
This system is receiving updates from OSMS server.
repo id                                  repo name                       status
ol8_addons-aarch64                       Oracle Linux 8 Add ons (aarch64 enabled
ol8_appstream-aarch64                    Oracle Linux 8 Application Stre enabled
ol8_baseos_latest-aarch64                Oracle Linux 8 BaseOS Latest (a enabled
ol8_developer_epel-aarch64               Oracle Linux 8 EPEL Packages fo enabled
ol8_ksplice-aarch64                      Ksplice for Oracle Linux 8 (aar enabled
ol8_mysql80-aarch64                      MySQL 8.0 for Oracle Linux 8 (a enabled
ol8_mysql80_connectors_community-aarch64 MySQL 8.0 Connectors for Oracle enabled
ol8_mysql80_tools_community-aarch64      MySQL 8.0 Tools Community for O enabled
ol8_oci_included-aarch64                 Oracle Software for OCI users o enabled

手順4: インターネット公開用設定

手順4-1: fail2ban導入

公開サーバは各種のアタックにさらされます。管理用sshポートにもやってきます。

多少なりとも軽減するためにEPELレポジトリ収録のfail2banを使用します。

$ sudo dnf install fail2ban -y
$ 

カスタム設定は/etc/fail2ban/jail.localに行います。

$ sudo vi /etc/fail2ban/jail.local
$ cat /etc/fail2ban/jail.local
[DEFAULT]
# 86400秒=24時間以内に5回不審なアクセスがあったら24時間BAN
bantime  = 86400
findtime  = 86400
maxretry = 5
# 259200秒=3日以内に5回不審なアクセスがあったら3日間BAN
#bantime  = 259200
#findtime  = 259200
#maxretry = 5

# 除外IP
ignoreip = 127.0.0.1 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16

[sshd]
enabled = true
banaction = firewallcmd-ipset
$ 

上記設定では24時間BANにしていますが、まぁ、3日BANでもかまわないとは思います。(本当に間違えた場合に困るのでほどほどにしておくとよい)

fail2banをOS起動時に実行する設定と、今すぐfail2banを起動するコマンドを実行します。

$ sudo systemctl enable fail2ban
$ sudo systemctl start fail2ban
$

以降、アタックがあると /var/log/fail2ban.log にログが出ます。

手順4-2: Webサーバ用ポート公開設定

この段階では、dhcpv6-clientとsshのみが許可されています。

Webサーバ公開用にhttp(ポート80)とhttps(ポート443)を追加します。

$ sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp0s3
  sources:
  services: dhcpv6-client ssh
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
$
$ sudo firewall-cmd --permanent --add-service=http
success
$ sudo firewall-cmd --permanent --add-service=https
success
$ sudo firewall-cmd --reload
success
$ sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp0s3
  sources:
  services: dhcpv6-client http https ssh
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
$

手順5: php 7.4追加

Oracle Linux 8環境では、moduleという形で複数バージョンのソフトウェアが提供されています。

phpに関してどのようなものがあるのかを「dnf module list | grep php」を実行して確認します。

$ sudo dnf module list | grep php
php                  7.2 [d]         common [d], devel, minimal               PHP scripting language                                                                                                                                                                                
php                  7.3             common [d], devel, minimal               PHP scripting language                                                                                                                                                                                
php                  7.4             common [d], devel, minimal               PHP scripting language                                                                                                                                                                                
$

php 7.2が標準選択で、他にphp 7.3とphp 7.4が選べることがわかります。
2022/07/01時点で提供されているOracle Linux 8.6では php 8.0も選択できるようになっています。

php7.4を指定してパッケージを追加します。

$ sudo dnf install @php:7.4 -y
Last metadata expiration check: 0:07:11 ago on Thu 27 May 2021 01:04:16 PM JST.
Dependencies resolved.
==========================================================================================================================================
 Package                     Architecture       Version                                                Repository                    Size
==========================================================================================================================================
Installing group/module packages:
 php-cli                     aarch64            7.4.6-4.module+el8.3.0+7685+72d70b58                   ol8_appstream                2.8 M
 php-common                  aarch64            7.4.6-4.module+el8.3.0+7685+72d70b58                   ol8_appstream                675 k
 php-fpm                     aarch64            7.4.6-4.module+el8.3.0+7685+72d70b58                   ol8_appstream                1.5 M
 php-json                    aarch64            7.4.6-4.module+el8.3.0+7685+72d70b58                   ol8_appstream                 73 k
 php-mbstring                aarch64            7.4.6-4.module+el8.3.0+7685+72d70b58                   ol8_appstream                474 k
 php-xml                     aarch64            7.4.6-4.module+el8.3.0+7685+72d70b58                   ol8_appstream                166 k
Installing dependencies:
 httpd-filesystem            noarch             2.4.37-39.0.1.module+el8.4.0+20024+b87b2deb            ol8_appstream                 39 k
 libxslt                     aarch64            1.1.32-6.0.1.el8                                       ol8_baseos_latest            239 k
 nginx-filesystem            noarch             1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e            ol8_appstream                 25 k
Installing module profiles:
 php/common
Enabling module streams:
 httpd                                          2.4
 nginx                                          1.14
 php                                            7.4

Transaction Summary
==========================================================================================================================================
Install  9 Packages

Total download size: 5.9 M
Installed size: 23 M
Downloading Packages:
<略>
$

手順6: MySQL設定編

Oralce Linux 8ではわざわざ「MySQL 8.0 for Oracle Linux 8 (aarch64)」を用意していますが、よく見るとそこにmysql-serverはなく、メインのol8_appstream に含まれているという理由はよくわかりませんが、せっかくなのでそのまま使用します。

(ちなみにol8_appstreamではmariadb 10.3と10.5も提供されていますので変更することもできます)

$ sudo dnf install mysql-server -y
Last metadata expiration check: 0:56:46 ago on Thu 27 May 2021 01:04:16 PM JST.
Dependencies resolved.
================================================================================
 Package      Arch    Version                               Repository     Size
================================================================================
Installing:
 mysql-server aarch64 8.0.21-1.module+el8.2.0+7793+cfe2b687 ol8_appstream  28 M
Installing dependencies:
 mariadb-connector-c-config
              noarch  3.1.11-2.el8_3                        ol8_appstream  15 k
 mecab        aarch64 0.996-1.module+el8.0.0+5253+1dce7bb2.9
                                                            ol8_appstream 367 k
 mysql        aarch64 8.0.21-1.module+el8.2.0+7793+cfe2b687 ol8_appstream  13 M
 mysql-common aarch64 8.0.21-1.module+el8.2.0+7793+cfe2b687 ol8_appstream 147 k
 mysql-errmsg aarch64 8.0.21-1.module+el8.2.0+7793+cfe2b687 ol8_appstream 581 k
 protobuf-lite
              aarch64 3.5.0-13.el8                          ol8_appstream 129 k
Enabling module streams:
 mysql                8.0

Transaction Summary
================================================================================
Install  7 Packages

Total download size: 42 M
Installed size: 228 M
Downloading Packages:
<略>
$

mysqldを自動起動する設定とします。

$ sudo systemctl enable mysqld
Created symlink /etc/systemd/system/multi-user.target.wants/mysqld.service → /usr/lib/systemd/system/mysqld.service.
$

mysqldを起動します。

$ sudo systemctl start mysqld
$

WordPress用データベースを作成します。

MySQL 8におけるデータベースユーザ作成と権限の割り当てが従来の「grant all on DB名.* to wordpress@localhost identified by ‘パスワード’;」という一文から、「create user ~」と「grant ~」の2つに分かれている点に注意が必要です。

$ sudo mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.0.21 Source distribution

Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> create database DB名 character set utf8;
Query OK, 1 row affected, 1 warning (0.00 sec)

mysql> create user wordpress@localhost  identified by 'パスワード';
Query OK, 0 rows affected (0.01 sec)

mysql> grant all privileges on DB名.* to wordpress@localhost;
Query OK, 0 rows affected (0.00 sec)

mysql> quit
Bye
$

手順7: Webサーバ設定

手順7-1: httpdインストール

httpdをインストールします。

Oracle Linux 8では httpd(Apache) 2.4と nginx 1.14 / 1.16 / 1.18 が使用できますが、httpdを使用します。nginxを使用したい場合は「Oracle Autonomous Linuxでwordpressサーバを建ててみた」を参照してください。

$ sudo dnf install httpd -y
Last metadata expiration check: 0:08:49 ago on Thu 27 May 2021 01:04:16 PM JST.
Dependencies resolved.
==========================================================================================================================================
 Package                      Architecture      Version                                                 Repository                   Size
==========================================================================================================================================
Installing:
 httpd                        aarch64           2.4.37-39.0.1.module+el8.4.0+20024+b87b2deb             ol8_appstream               1.4 M
Installing dependencies:
 apr                          aarch64           1.6.3-11.el8                                            ol8_appstream               119 k
 apr-util                     aarch64           1.6.1-6.el8                                             ol8_appstream               104 k
 httpd-tools                  aarch64           2.4.37-39.0.1.module+el8.4.0+20024+b87b2deb             ol8_appstream               104 k
 mod_http2                    aarch64           1.15.7-3.module+el8.4.0+20024+b87b2deb                  ol8_appstream               146 k
 oracle-logos-httpd           noarch            84.3-1.0.1.el8                                          ol8_baseos_latest            29 k

Transaction Summary
==========================================================================================================================================
Install  6 Packages

Total download size: 1.8 M
Installed size: 10 M
Downloading Packages:
<略>
$

次で設定変更をするので、この段階ではhttpdを起動しません。

OS起動時に自動起動する設定だけを行います。

$ sudo systemctl enable httpd
$

手順7-2: dehydratedによるLet’s Encrypt導入

Let’s EncryptによるSSL証明書導入はcertbotを使うのが一般的ではあるのだが、python環境とあわせてパッケージサイズが大きいので、コンパクトでEPELにも収録されているdehydratedを使用する。

$ sudo dnf install dehydrated -y
Last metadata expiration check: 1:07:45 ago on Thu 27 May 2021 01:04:16 PM JST.
Dependencies resolved.
================================================================================
 Package          Architecture Version           Repository                Size
================================================================================
Installing:
 dehydrated       noarch       0.6.5-1.el8       ol8_developer_EPEL        90 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 90 k
Installed size: 164 k
Downloading Packages:
<略>
$

dehydratedによるSSL証明書取得処理には /var/www/dehydrated が使用されるためディレクトリを作成します。

$ sudo mkdir  /var/www/dehydrated
$

http://~/.well-known/acme-challenge でアクセスした時に上記ディレクトリが開くようApacheの設定を /etc/httpd/conf.d/dehydrated.conf として作成します。(sudo vi /etc/httpd/conf.d/dehydrated.conf )

$ sudo vi /etc/httpd/conf.d/dehydrated.conf
$ cat /etc/httpd/conf.d/dehydrated.conf
Alias /.well-known/acme-challenge /var/www/dehydrated
<Directory /var/www/dehydrated/>
</Directory>
$

httpdを起動します

$ sudo systemctl start httpd
$

SSL証明書を発行するホスト名を /etc/dehydrated/domains.txt に記載する。(sudo vi /etc/dehydrated/domains.txt)

1行に複数のホスト名を記載するとaliasになります。

$ sudo vi /etc/dehydrated/domains.txt
$ sudo cat /etc/dehydrated/domains.txt
ホスト1名.ドメイン名 ホスト2名.ドメイン名
$

登録操作を開始します。

$ sudo dehydrated --register
# INFO: Using main config file /etc/dehydrated/config
# INFO: Using additional config file /etc/dehydrated/conf.d/local.sh

To use dehydrated with this certificate authority you have to agree to their terms of service which you can find here: https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf

To accept these terms of service run `/bin/dehydrated --register --accept-terms`.
$ sudo /bin/dehydrated --register --accept-terms
# INFO: Using main config file /etc/dehydrated/config
# INFO: Using additional config file /etc/dehydrated/conf.d/local.sh
+ Generating account key...
+ Registering account key with ACME server...
+ Fetching account ID...
+ Done!
$

初回のSSL証明書発行処理を実行します。

$ sudo dehydrated --cron
# INFO: Using main config file /etc/dehydrated/config
# INFO: Using additional config file /etc/dehydrated/conf.d/local.sh
Processing ホスト1名.ドメイン名 with alternative names: ホスト2名.ドメイン名
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting new certificate order from CA...
 + Received 2 authorizations URLs from the CA
 + Handling authorization for ホスト1名.ドメイン名
 + Handling authorization for ホスト2名.ドメイン名
 + 2 pending challenge(s)
 + Deploying challenge tokens...
 + Responding to challenge for ホスト1名.ドメイン名 authorization...
 + Challenge is valid!
 + Responding to challenge for ホスト2名.ドメイン名 authorization...
 + Challenge is valid!
 + Cleaning challenge tokens...
 + Requesting certificate...
 + Checking certificate...
 + Done!
 + Creating fullchain.pem...
 + Done!
$

手順7-3: WebサーバへのSSL証明書設定

まず、httpdにmod_sslを追加します。

$ sudo dnf install mod_ssl -y
Last metadata expiration check: 1:36:21 ago on Thu 27 May 2021 01:04:16 PM JST.
Dependencies resolved.
================================================================================
 Package
      Arch    Version                                       Repository     Size
================================================================================
Installing:
 mod_ssl
      aarch64 1:2.4.37-39.0.1.module+el8.4.0+20024+b87b2deb ol8_appstream 126 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 126 k
Installed size: 274 k
Downloading Packages:
<略>
$

標準の /etc/httpd/conf.d/ssl.conf は使わず、Mozilla SSL Configuration Generatorベースの設定を /etc/httpd/conf.d/ssl-mozilla.conf として作成します。(なお、ssl.conf には”Listen 443 https”設定もあるので、そのままにしています)

$ sudo vi /etc/httpd/conf.d/ssl-mozilla.conf
$ cat /etc/httpd/conf.d/ssl-mozilla.conf
# generated 2021-05-27, Mozilla Guideline v5.6, Apache 2.4.37, OpenSSL 1.1.1g, intermediate configuration
# https://ssl-config.mozilla.org/#server=apache&version=2.4.37&config=intermediate&openssl=1.1.1g&guideline=5.6

# this configuration requires mod_ssl, mod_socache_shmcb, mod_rewrite, and mod_headers
<VirtualHost *:80>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/
    RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
</VirtualHost>

<VirtualHost *:443>
    SSLEngine on

    # curl https://ssl-config.mozilla.org/ffdhe2048.txt >> /path/to/signed_cert_and_intermediate_certs_and_dhparams
    SSLCertificateFile      /etc/dehydrated/certs/<ホスト名>/cert.pem
    SSLCertificateKeyFile   /etc/dehydrated/certs/<ホスト名>/privkey.pem

    # enable HTTP/2, if available
    Protocols h2 http/1.1

    # HTTP Strict Transport Security (mod_headers is required) (63072000 seconds)
    Header always set Strict-Transport-Security "max-age=63072000"
</VirtualHost>

# intermediate configuration
SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
SSLHonorCipherOrder     off
SSLSessionTickets       off

SSLUseStapling On
SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"
$

httpdを再起動します。

$ sudo systemctl restart httpd
$

手順8: WordPress導入

手順8-1: WordPressの基本インストール

WordPressのWebから最新版をダウンロードして、/var/www/html以下に展開します。
(日本語環境向けのlatest-ja.tar.gzファイルを使っていないのはWordpressプラグインが正常にインストールできるかを確認するためにWP Multibyte Patchを手動インストールする手順を入れているためです)

$ cd /var/www/html/
$ ls
$ sudo curl -O https://wordpress.org/latest.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15.0M  100 15.0M    0     0  6978k      0  0:00:02  0:00:02 --:--:-- 6978k
$ ls
latest.tar.gz
$ sudo tar xfz latest.tar.gz
$ ls -l
total 15388
-rw-r--r--. 1 root   root   15750424 May 27 14:54 latest.tar.gz
drwxr-xr-x. 5 nobody nobody     4096 May 13 08:49 wordpress
$ sudo rm latest.tar.gz
$

WordPressディレクトリの所有者をWebサービスのユーザである「apache」に変更します。

$ ps -ef|grep http
root        7619       1  0 14:52 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache      7621    7619  0 14:52 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache      7622    7619  0 14:52 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache      7623    7619  0 14:52 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache      7624    7619  0 14:52 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache      7836    7619  0 14:52 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
opc         7943    2643  0 14:55 pts/0    00:00:00 grep --color=auto http
$ sudo chown -R apache:apache wordpress/
$ ls -l
total 4
drwxr-xr-x. 5 apache apache 4096 May 13 08:49 wordpress
$

/var/www/html/wordpress をDocumentRootとするように ssl-mozilla.conf に追加して、httpdを再起動します。

$ sudo vi /etc/httpd/conf.d/ssl-mozilla.conf
$ cat /etc/httpd/conf.d/ssl-mozilla.conf
# generated 2021-05-27, Mozilla Guideline v5.6, Apache 2.4.37, OpenSSL 1.1.1g, intermediate configuration
# https://ssl-config.mozilla.org/#server=apache&version=2.4.37&config=intermediate&openssl=1.1.1g&guideline=5.6

# this configuration requires mod_ssl, mod_socache_shmcb, mod_rewrite, and mod_headers
<VirtualHost *:80>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/
    RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
</VirtualHost>

<VirtualHost *:443>
    DocumentRoot /var/www/html/wordpress
    SSLEngine on

    # curl https://ssl-config.mozilla.org/ffdhe2048.txt >> /path/to/signed_cert_and_intermediate_certs_and_dhparams
    SSLCertificateFile      /etc/dehydrated/certs/<ホスト名>/cert.pem
    SSLCertificateKeyFile   /etc/dehydrated/certs/<ホスト名>/privkey.pem

    # enable HTTP/2, if available
    Protocols h2 http/1.1

    # HTTP Strict Transport Security (mod_headers is required) (63072000 seconds)
    Header always set Strict-Transport-Security "max-age=63072000"
</VirtualHost>

# intermediate configuration
SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
SSLHonorCipherOrder     off
SSLSessionTickets       off

SSLUseStapling On
SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"
$ sudo systemctl restart httpd
$

手順8-2:「Service Unavailable」となる場合の対処

ブラウザからアクセスして「Service Unavailable」となる場合はphp-fpmのSELinux設定問題が発生しています。

httpd_execmemを有効にします。

$ getsebool httpd_execmem
httpd_execmem --> off
$ sudo setsebool -P httpd_execmem on
$ sudo getsebool httpd_execmem
httpd_execmem --> on
$

次に、php-fpm用のSELinux設定を作成します。まず「sudo ausearch -m AVC |grep php |audit2allow」を実行して「allow ~」の出力があることを確認

$ sudo ausearch -m AVC |grep php |audit2allow


#============= httpd_t ==============
allow httpd_t httpd_exec_t:file execmod;
$

次にこれを使ってSELinux用のモジュールを作成

$ sudo ausearch -m AVC |grep php |sudo audit2allow -M ph
p-fpm
******************** IMPORTANT ***********************
To make this policy package active, execute:

semodule -i php-fpm.pp

$ ls
php-fpm.pp  php-fpm.te  wordpress
$

モジュールとして組み込みphp-fpmを起動

$ sudo semodule -i php-fpm.pp
$ sudo systemctl start php-fpm
$ 

手順8-3: 「missing the MySQL extension」がでる場合の手順

php-fpmが正常に動作している状態でブラウザからアクセスすると、下記の表示になります。

これはphpからMySQLにアクセスするためのパッケージがインストールされていないためなので、php-mysqlndを追加して、httpdを再起動します。

$ sudo dnf install php-mysqlnd -y
Last metadata expiration check: 1:56:37 ago on Thu 27 May 2021 01:04:16 PM JST.
Dependencies resolved.
================================================================================
 Package     Arch    Version                                Repository     Size
================================================================================
Installing:
 php-mysqlnd aarch64 7.4.6-4.module+el8.3.0+7685+72d70b58   ol8_appstream 182 k
Installing dependencies:
 php-pdo     aarch64 7.4.6-4.module+el8.3.0+7685+72d70b58   ol8_appstream 118 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 300 k
Installed size: 806 k
Downloading Packages:
<略>
$ sudo systemctl restart httpd
$

WordPressの設定手順を進めると wp-config.php に書き込めない、と出ますので、「sudo vi /var/www/html/wordpress/wp-config.php」を実行し、指定された内容を記載します。

手順9: SELinux設定

手順9-1: httpdのネットワーク接続問題

一見するとここまででうまく動いているように見えます。

しかし、プラグインをインストールしようとするとエラーになります。

/var/log/audit/audit.logを確認すると下記のようなログが出ています。

type=AVC msg=audit(1622095859.957:2064): avc:  denied  { name_connect } for  pid=8908 comm="php-fpm" dest=443 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket permissive=0
type=AVC msg=audit(1622095868.397:2065): avc:  denied  { name_connect } for  pid=8313 comm="php-fpm" dest=443 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket permissive=0
type=AVC msg=audit(1622095868.401:2066): avc:  denied  { name_connect } for  pid=8313 comm="php-fpm" dest=80 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket permissive=0

これはhttpd_can_network_connect という値で制御されている

現在の設定値を「sudo getsebool -a |grep httpd_can_network」で確認し、「sudo setsebool -P httpd_can_network_connect on」で有効にする

$ sudo getsebool -a |grep httpd_can_network
httpd_can_network_connect --> off
httpd_can_network_connect_cobbler --> off
httpd_can_network_connect_db --> off
httpd_can_network_memcache --> off
httpd_can_network_relay --> off
$ sudo setsebool -P httpd_can_network_connect on
$ sudo getsebool -a |grep httpd_can_network
httpd_can_network_connect --> on
httpd_can_network_connect_cobbler --> off
httpd_can_network_connect_db --> off
httpd_can_network_memcache --> off
httpd_can_network_relay --> off
$

この変更ではhttpdの再起動は不要。

手順9-2: php-fpmの書き込み権限問題

プラグインやテーマのインストールについては問題なくても、WordPressのアップデートが出来ない。

このときの/var/log/audit/audit.logは下記

type=AVC msg=audit(1622101524.977:177): avc:  denied  { write } for  pid=2964 comm="php-fpm" name="wordpress" dev="dm-0" ino=101235463 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:httpd_sys_content_t:s0 tclass=dir permissive=0

こちらは/var/www/html/wordpress に対して httpdから書き込みが行えるような SELinuxのコンテキストをつけることで解決する。

「sudo chcon -R -t httpd_sys_script_rw_t /var/www/html/wordpress」

$ ls -lZ /var/www/html/
total 4
drwxr-xr-x. 5 apache apache unconfined_u:object_r:httpd_sys_content_t:s0 4096 May 27 15:02 wordpress
$ sudo chcon -R -t httpd_sys_script_rw_t /var/www/html/wordpress
$ ls -lZ /var/www/html/
total 4
drwxr-xr-x. 5 apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 4096 May 27 15:02 wordpress
$

手順9-3:Wordpressプラグイン追加の動作確認

WordPressプラグインがインストールできる状態になっているかを確認するために「WP Multibyte Patch」をインストールします。

これをインストールするとWordpressの設定画面([Settings]-[General])に「Site language(サイトの言語)」が追加され、「日本語」表示に切り替えることができるようになります。

手順10: WordPressで取り扱えるファイルサイズの拡大

WordPressで取り扱えるファイルは標準状態だと2MBになっている。

WordPressのドキュメントのFile Upload Sizes を見ると、これはphpの設定ファイル /etc/php.ini による制限となっている。

Oracle Linux 8の標準設定では下記の値となっている。

<略>
post_max_size = 8M
<略>
upload_max_filesize = 2M
<略>

で・・・よくある手順だと軽率に /etc/php.ini を書き換えていますが、 /etc/php.d/ 以下にファイルを追加することで、そちらの設定項目を優先させることができる機能があるため、 /etc/php.d/90-wordpress.ini に変更したい2行だけを記載したファイルを作成します。

$ sudo vi /etc/php.d/90-wordpress.ini
$ cat /etc/php.d/90-wordpress.ini
post_max_size = 100M
upload_max_filesize = 100M
$

phpの設定変更を反映させるために「sudo systemctl restart php-fpm」を実行します。

手順11: WordPressのSite Health Status対応

WordPressのサイトステータスを見てみると、いくつかパッケージを要求されている。

ImageMagickに関するphpモジュールは含まれていない

$ dnf search magick
Last metadata expiration check: 2:56:09 ago on Thu 27 May 2021 01:10:22 PM JST.
======================== Name & Summary Matched: magick ========================
GraphicsMagick.aarch64 : An ImageMagick fork, offering faster image generation
                       : and better quality
GraphicsMagick.src : An ImageMagick fork, offering faster image generation and
                   : better quality
GraphicsMagick-c++.aarch64 : GraphicsMagick Magick++ library (C++ bindings)
GraphicsMagick-c++-devel.aarch64 : C++ bindings for the GraphicsMagick library
GraphicsMagick-debugsource.aarch64 : Debug sources for package GraphicsMagick
GraphicsMagick-devel.aarch64 : Libraries and header files for GraphicsMagick app
                             : development
GraphicsMagick-doc.noarch : GraphicsMagick documentation
GraphicsMagick-perl.aarch64 : GraphicsMagick perl bindings
ImageMagick-c++.aarch64 : ImageMagick Magick++ library (C++ bindings)
ImageMagick-c++-devel.aarch64 : C++ bindings for the ImageMagick library
ImageMagick-devel.aarch64 : Library links and header files for ImageMagick app
                          : development
ImageMagick-doc.aarch64 : ImageMagick html documentation
ImageMagick-libs.aarch64 : ImageMagick libraries to link with
ImageMagick-perl.aarch64 : ImageMagick perl bindings
============================= Name Matched: magick =============================
ImageMagick.aarch64 : An X application for displaying and manipulating images
ImageMagick.src : An X application for displaying and manipulating images
=========================== Summary Matched: magick ============================
converseen.aarch64 : A batch image conversion tool written in C++ with Qt5 and
                   : Magick++
converseen.src : A batch image conversion tool written in C++ with Qt5 and
               : Magick++
$

zipとgdはそれっぽいものがあるので「sudo dnf install php-pecl-zip php-gd -y」で追加

$ sudo dnf install php-pecl-zip php-gd -y
Last metadata expiration check: 3:04:44 ago on Thu 27 May 2021 01:04:16 PM JST.
Dependencies resolved.
================================================================================
 Package      Arch    Version                               Repository     Size
================================================================================
Installing:
 php-gd       aarch64 7.4.6-4.module+el8.3.0+7685+72d70b58  ol8_appstream  83 k
 php-pecl-zip aarch64 1.18.2-1.module+el8.3.0+7685+72d70b58 ol8_appstream  53 k
Installing dependencies:
 gd           aarch64 2.2.5-7.el8                           ol8_appstream 134 k
 jbigkit-libs aarch64 2.1-14.el8                            ol8_appstream  54 k
 libXpm       aarch64 3.5.12-8.el8                          ol8_appstream  56 k
 libjpeg-turbo
              aarch64 1.5.3-10.el8                          ol8_appstream 145 k
 libtiff      aarch64 4.0.9-18.el8                          ol8_appstream 178 k
 libwebp      aarch64 1.0.0-1.el8                           ol8_appstream 246 k
 libzip       aarch64 1.6.1-1.module+el8.3.0+7685+72d70b58  ol8_appstream  62 k

Transaction Summary
================================================================================
Install  9 Packages

Total download size: 1.0 M
Installed size: 3.0 M
Downloading Packages:
<略>
$

こちらは再起動は不要なようで、すぐにSite Healthの状態に反映され、imagickモジュールに関するメッセージのみになった。

2022/04/06追記: wordpress 5.9.3では推奨phpプラグインに「php-intl」が追加されたので「sudo dnf install php-intl」で追加する

$ sudo dnf install php-intl
This system is receiving updates from OSMS server.
Last metadata expiration check: 0:09:17 ago on Wed 06 Apr 2022 01:29:10 PM JST.
Dependencies resolved.
================================================================================
 Package
     Arch    Version                                Repository             Size
================================================================================
Installing:
 php-intl
     aarch64 7.4.19-1.module+el8.5.0+20354+db97279a ol8_appstream-aarch64 182 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 182 k
Installed size: 522 k
Is this ok [y/N]: y
Downloading Packages:
php-intl-7.4.19-1.module+el8.5.0+20354+db97279a 2.0 MB/s | 182 kB     00:00
--------------------------------------------------------------------------------
Total                                           1.9 MB/s | 182 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : php-intl-7.4.19-1.module+el8.5.0+20354+db97279a.aarc   1/1
  Running scriptlet: php-intl-7.4.19-1.module+el8.5.0+20354+db97279a.aarc   1/1
  Verifying        : php-intl-7.4.19-1.module+el8.5.0+20354+db97279a.aarc   1/1

Installed:
  php-intl-7.4.19-1.module+el8.5.0+20354+db97279a.aarch64

Complete!
$

手順12: WordPressの.htaccess有効化

/var/www/html/wordpress/.htaccess が作成されているが、Oracle Linux 8のhttpd標準設定ではこれを読み込むようにはなっていない。

これが有効になっていないと、パーマリンク設定を「基本」から変えた場合に個別記事にアクセスできなくなる。

/etc/httpd/conf.d/wordpress.conf にファイルを作って設定する。

$ sudo vi /etc/httpd/conf.d/wordpress.conf
$ cat /etc/httpd/conf.d/wordpress.conf
<Directory /var/www/html/wordpress/>
 Allowoverride All
</Directory>
$ sudo systemctl restart httpd
$

手順13: OS自動更新の設定

メンテナンスがめんどくさくなって忘れる可能性があるので、Oracle Linux 8の自動更新設定を実施。

以前はyum-cronでしたが、現在は dnf-automatic に変わったので、パッケージをインストールします。

$ sudo dnf install dnf-automatic -y
Last metadata expiration check: 0:21:33 ago on Wed 02 Jun 2021 05:00:20 PM JST.
Dependencies resolved.
================================================================================
 Package            Arch        Version            Repository              Size
================================================================================
Installing:
 dnf-automatic      noarch      4.4.2-11.el8       ol8_baseos_latest      148 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 148 k
Installed size: 51 k
Downloading Packages:
<略>
$

/etc/dnf/automatic.conf 内の「apply_updates = no」を「apply_updates = yes」に変更

$ sudo vi /etc/dnf/automatic.conf
$ cat /etc/dnf/automatic.conf
[commands]
#  What kind of upgrade to perform:
# default                            = all available upgrades
# security                           = only the security upgrades
upgrade_type = default
random_sleep = 0

# Maximum time in seconds to wait until the system is on-line and able to
# connect to remote repositories.
network_online_timeout = 60

# To just receive updates use dnf-automatic-notifyonly.timer

# Whether updates should be downloaded when they are available, by
# dnf-automatic.timer. notifyonly.timer, download.timer and
# install.timer override this setting.
download_updates = yes

# Whether updates should be applied when they are available, by
# dnf-automatic.timer. notifyonly.timer, download.timer and
# install.timer override this setting.
apply_updates = yes


[emitters]
# Name to use for this system in messages that are emitted.  Default is the
# hostname.
# system_name = my-host

# How to send messages.  Valid options are stdio, email and motd.  If
# emit_via includes stdio, messages will be sent to stdout; this is useful
# to have cron send the messages.  If emit_via includes email, this
# program will send email itself according to the configured options.
# If emit_via includes motd, /etc/motd file will have the messages. if
# emit_via includes command_email, then messages will be send via a shell
# command compatible with sendmail.
# Default is email,stdio.
# If emit_via is None or left blank, no messages will be sent.
emit_via = stdio


[email]
# The address to send email messages from.
email_from = root@example.com

# List of addresses to send messages to.
email_to = root

# Name of the host to connect to to send email messages.
email_host = localhost


[command]
# The shell command to execute. This is a Python format string, as used in
# str.format(). The format function will pass a shell-quoted argument called
# `body`.
# command_format = "cat"

# The contents of stdin to pass to the command. It is a format string with the
# same arguments as `command_format`.
# stdin_format = "{body}"


[command_email]
# The shell command to use to send email. This is a Python format string,
# as used in str.format(). The format function will pass shell-quoted arguments
# called body, subject, email_from, email_to.
# command_format = "mail -Ssendwait -s {subject} -r {email_from} {email_to}"

# The contents of stdin to pass to the command. It is a format string with the
# same arguments as `command_format`.
# stdin_format = "{body}"

# The address to send email messages from.
email_from = root@example.com

# List of addresses to send messages to.
email_to = root


[base]
# This section overrides dnf.conf

# Use this to filter DNF core messages
debuglevel = 1
$

そしてdnf-automatic.timerを有効化し、開始します。

$ sudo systemctl enable dnf-automatic.timer
Created symlink /etc/systemd/system/timers.target.wants/dnf-automatic.timer → /usr/lib/systemd/system/dnf-automatic.timer.
$ sudo systemctl status dnf-automatic
● dnf-automatic.service - dnf automatic
   Loaded: loaded (/usr/lib/systemd/system/dnf-automatic.service; static; vendo>
   Active: inactive (dead)
$ sudo systemctl start dnf-automatic.timer
$ sudo systemctl status dnf-automatic.timer
● dnf-automatic.timer - dnf-automatic timer
   Loaded: loaded (/usr/lib/systemd/system/dnf-automatic.timer; enabled; vendor>
   Active: active (waiting) since Wed 2021-06-02 17:26:38 JST; 2s ago
  Trigger: Thu 2021-06-03 06:07:23 JST; 12h left

Jun 02 17:26:38 ホスト名 systemd[1]: Started dnf-automatic timer.
$

なお、dnf automaticでアップデートされた場合に、通知メールを送るようにする場合は、「Oracle Cloud上のインスタンスから管理メールを送信する手法」を参照のこと。

Oracle Cloudですでに作成済みのネットワークに対してIPv6を有効にする方法


Oracle CloudはこれまでIPv6が提供されてなかったのですが、4/15に「IPv6 on Oracle Cloud Infrastructure」でIPv6提供が全体に開始されたとのことなので試してみた。

既存のOracle CloudインスタンスをIPv6対応にするための設定を開始。

まずは「仮想クラウドネットワーク(VNC)」一覧を開く

画像

最初はIPv6 CIDRブロックが割り当てられていない。

画像

「IPv6 CIDRブロックの追加」を選択

画像

すると、IPv6アドレスが追加される

画像

次に、VNC配下にあるサブネットに対してIPv6アドレスを割り当て・・・

画像
画像
画像

「NotAuthorizedOrNotFound」というエラーになる。

最初にためしたのは4/28に、PhoenixリージョンとTokyoリージョンで、どちらも同じエラーになっていた。

で・・・5/12になって検索すると、コマンドでなら成功するらしい、という情報を発見した。

Oracle Cloud 甲骨文云启用原生 IPv6 地址详细教程 – 简单、通用、免费、双栈更香
Oracle Cloud 支持 IPv6 了

これをTokyoリージョンで試してうまくいったので、Phoenixリージョンでも実施しようとしてみたところ、こちらでは、そのそも↑で失敗していたはずの操作が成功・・・

どうやら修正されつつあるようです。

というわけで、両方の手順をまとめました。

GUI操作が成功する場合

サブネットの編集でIPv6 CIDRブロックを行ってみて、成功するのであれば問題ありません。

このあと、後半にある仮想マシンインスタンスに対する設定を行います。

サブネットへのIPv6アドレス設定が失敗する場合

GUI操作で失敗する場合は、コマンド操作を行います。

Oracle CloudのWeb UIにログインして、Cloud Shellを開いてコマンドを実行

まず、コンパートメントのIDを確認

username@cloudshell:~ (ap-tokyo-1)$ oci iam compartment list
{
  "data": [
    {
      "compartment-id": "ocid1.tenancy.oc1..<略>",
      "defined-tags": {},
      "description": "IPv6\u7528\u30cd\u30c3\u30c8\u30ef\u30fc\u30af",
      "freeform-tags": {},
      "id": "ocid1.compartment.oc1..<略>",
      "inactive-status": null,
      "is-accessible": null,
      "lifecycle-state": "ACTIVE",
      "name": "IPv6_network",
      "time-created": "2021-04-28T07:09:50.554000+00:00"
    },
    {
      "compartment-id": "ocid1.tenancy.oc1..<略>",
      "defined-tags": {},
      "description": "idcs-e97e3212f2c9483ca8b9d1f0efa22062|22560888|OSAKANA OSAKANA NET 504302",
      "freeform-tags": {},
      "id": "ocid1.compartment.oc1..<略>",
      "inactive-status": null,
      "is-accessible": null,
      "lifecycle-state": "ACTIVE",
      "name": "ManagedCompartmentForPaaS",
      "time-created": "2019-09-19T10:16:44.796000+00:00"
    }
  ]
}
username@cloudshell:~ (ap-tokyo-1)$ 

上記出力の「compartment-id」にある「ocid1.tenancy.oc1~」が必要な値です。

これで、サブネットにつけられているIDを確認します。

username@cloudshell:~ (ap-tokyo-1)$ oci network subnet list --compartment-id ocid1.tenancy.oc1..<略>
{
  "data": [
    {
      "availability-domain": null,
      "cidr-block": "10.0.1.0/24",
      "compartment-id": "ocid1.tenancy.oc1..<略>",
      "defined-tags": {},
      "dhcp-options-id": "ocid1.dhcpoptions.oc1.ap-tokyo-1.<略>",
      "display-name": "IPv6 \u30c6\u30b9\u30c8",
      "dns-label": null,
      "freeform-tags": {},
      "id": "ocid1.subnet.oc1.ap-tokyo-1.<略>",
      "ipv6-cidr-block": "xxxx:xxxx:8000:f501::/64",
      "ipv6-virtual-router-ip": "fe80::200:17ff:fec9:f071",
      "lifecycle-state": "AVAILABLE",
      "prohibit-internet-ingress": false,
      "prohibit-public-ip-on-vnic": false,
      "route-table-id": "ocid1.routetable.oc1.ap-tokyo-1.<略>",
      "security-list-ids": [
        "ocid1.securitylist.oc1.ap-tokyo-1.<略>"
      ],
      "subnet-domain-name": null,
      "time-created": "2021-04-28T04:44:55.872000+00:00",
      "vcn-id": "ocid1.vcn.oc1.ap-tokyo-1.<略>",
      "virtual-router-ip": "10.0.1.1",
      "virtual-router-mac": "00:00:17:C9:F0:71"
    },
    {
      "availability-domain": "xkXd:AP-TOKYO-1-AD-1",
      "cidr-block": "10.0.0.0/24",
      "compartment-id": "ocid1.tenancy.oc1..<略>",
      "defined-tags": {},
      "dhcp-options-id": "ocid1.dhcpoptions.oc1.ap-tokyo-1.<略>",
      "display-name": "\u30d1\u30d6\u30ea\u30c3\u30af\u30fb\u30b5\u30d6\u30cd\u30c3\u30c8xkXd:AP-TOKYO-1-AD-1",
      "dns-label": null,
      "freeform-tags": {},
      "id": "ocid1.subnet.oc1.ap-tokyo-1.<略>",
      "ipv6-cidr-block": null,
      "ipv6-virtual-router-ip": null,
      "lifecycle-state": "AVAILABLE",
      "prohibit-internet-ingress": false,
      "prohibit-public-ip-on-vnic": false,
      "route-table-id": "ocid1.routetable.oc1.ap-tokyo-1.<略>",
      "security-list-ids": [
        "ocid1.securitylist.oc1.ap-tokyo-1.<略>"
      ],
      "subnet-domain-name": null,
      "time-created": "2019-09-19T10:20:05.710000+00:00",
      "vcn-id": "ocid1.vcn.oc1.ap-tokyo-1.<略>",
      "virtual-router-ip": "10.0.0.1",
      "virtual-router-mac": "00:00:17:C9:F0:71"
    }
  ]
}
username@cloudshell:~ (ap-tokyo-1)$ 

最初のブロックは新規で作ったIPv6が有効になっているもので「IPv6 テスト」という名前になっています。コマンド出力上では日本語が有効になっていないようです。

後ろのブロックがデフォルトで作成された「パブリック・サブネットxkXd:AP-TOKYO-1-AD-1」です。これに対してIPv6アドレスを付与する設定を行います。

どんなIPv6アドレスがつけられるかは、サブネット/VNC設定画面の「IPv6 CIDRブロック」を参照します。

「xxxx:xxxx:8000:f500::/56」となっています。

Oracle Cloudでは各サブネットに対して「xxxx:xxxx:8000:f5??::/64」を割り当てることになっているため下記の様に実行します。

username@cloudshell:~ (ap-tokyo-1)$ oci network subnet update --subnet-id ocid1.subnet.oc1.ap-tokyo-1.<略> --ipv6-cidr-block xxxx:xxxx:8000:f502::/64
{
  "data": {
    "availability-domain": "xkXd:AP-TOKYO-1-AD-1",
    "cidr-block": "10.0.0.0/24",
    "compartment-id": "ocid1.tenancy.oc1..<略>",
    "defined-tags": {},
    "dhcp-options-id": "ocid1.dhcpoptions.oc1.ap-tokyo-1.<略>",
    "display-name": "\u30d1\u30d6\u30ea\u30c3\u30af\u30fb\u30b5\u30d6\u30cd\u30c3\u30c8xkXd:AP-TOKYO-1-AD-1",
    "dns-label": null,
    "freeform-tags": {},
    "id": "ocid1.subnet.oc1.ap-tokyo-1.<略>",
    "ipv6-cidr-block": "xxxx:xxxx:8000:f502::/64",
    "ipv6-virtual-router-ip": "fe80::200:17ff:fec9:f071",
    "lifecycle-state": "UPDATING",
    "prohibit-internet-ingress": false,
    "prohibit-public-ip-on-vnic": false,
    "route-table-id": "ocid1.routetable.oc1.ap-tokyo-1.<略>",
    "security-list-ids": [
      "ocid1.securitylist.oc1.ap-tokyo-1.<略>"
    ],
    "subnet-domain-name": null,
    "time-created": "2019-09-19T10:20:05.710000+00:00",
    "vcn-id": "ocid1.vcn.oc1.ap-tokyo-1.<略>",
    "virtual-router-ip": "10.0.0.1",
    "virtual-router-mac": "00:00:17:C9:F0:71"
  },
  "etag": "e457a894"
}
username@cloudshell:~ (ap-tokyo-1)$ 

設定が反映されたかを確認します。

username@cloudshell:~ (ap-tokyo-1)$ oci network subnet list --compartment-id ocid1.tenancy.oc1..<略>
{
  "data": [
    {
      "availability-domain": null,
      "cidr-block": "10.0.1.0/24",
      "compartment-id": "ocid1.tenancy.oc1..<略>",
      "defined-tags": {},
      "dhcp-options-id": "ocid1.dhcpoptions.oc1.ap-tokyo-1.<略>",
      "display-name": "IPv6 \u30c6\u30b9\u30c8",
      "dns-label": null,
      "freeform-tags": {},
      "id": "ocid1.subnet.oc1.ap-tokyo-1.<略>",
      "ipv6-cidr-block": "xxxx:xxxx:8000:f501::/64",
      "ipv6-virtual-router-ip": "fe80::200:17ff:fec9:f071",
      "lifecycle-state": "AVAILABLE",
      "prohibit-internet-ingress": false,
      "prohibit-public-ip-on-vnic": false,
      "route-table-id": "ocid1.routetable.oc1.ap-tokyo-1.<略>",
      "security-list-ids": [
        "ocid1.securitylist.oc1.ap-tokyo-1.<略>"
      ],
      "subnet-domain-name": null,
      "time-created": "2021-04-28T04:44:55.872000+00:00",
      "vcn-id": "ocid1.vcn.oc1.ap-tokyo-1.<略>",
      "virtual-router-ip": "10.0.1.1",
      "virtual-router-mac": "00:00:17:C9:F0:71"
    },
    {
      "availability-domain": "xkXd:AP-TOKYO-1-AD-1",
      "cidr-block": "10.0.0.0/24",
      "compartment-id": "ocid1.tenancy.oc1..<略>",
      "defined-tags": {},
      "dhcp-options-id": "ocid1.dhcpoptions.oc1.ap-tokyo-1.<略>",
      "display-name": "\u30d1\u30d6\u30ea\u30c3\u30af\u30fb\u30b5\u30d6\u30cd\u30c3\u30c8xkXd:AP-TOKYO-1-AD-1",
      "dns-label": null,
      "freeform-tags": {},
      "id": "ocid1.subnet.oc1.ap-tokyo-1.<略>",
      "ipv6-cidr-block": "xxxx:xxxx:8000:f502::/64",
      "ipv6-virtual-router-ip": "fe80::200:17ff:fec9:f071",
      "lifecycle-state": "AVAILABLE",
      "prohibit-internet-ingress": false,
      "prohibit-public-ip-on-vnic": false,
      "route-table-id": "ocid1.routetable.oc1.ap-tokyo-1.<略>",
      "security-list-ids": [
        "ocid1.securitylist.oc1.ap-tokyo-1.<略>"
      ],
      "subnet-domain-name": null,
      "time-created": "2019-09-19T10:20:05.710000+00:00",
      "vcn-id": "ocid1.vcn.oc1.ap-tokyo-1.<略>",
      "virtual-router-ip": "10.0.0.1",
      "virtual-router-mac": "00:00:17:C9:F0:71"
    }
  ]
}
username@cloudshell:~ (ap-tokyo-1)$ 

両方のサブネットにIPv6アドレスが入ったことがわかります。

仮想マシンインスタンスに対する設定(管理側)

Oracle Cloudの管理GUI側で、仮想マシンインスタンスに対してIPv6アドレスを割り振る必要があります。

[インスタンスの詳細]-[アタッチされたVNIC]-[VNICの詳細]にて下のほうにある「リソース」の「IPv6アドレス」を選択します。

最初は下記の様に割り当てられていません

「IPv6アドレスの割当て」をクリック

とくになにも数値入力する必要は無く、「割当て」をクリック

これで、IPv6アドレスが割り当てられました。

仮想マシン内のIPv6アドレス設定

Oracle Cloud上のインスタンスはcloud-initなどの影響化にあるため、一般的な設定手法でネットワーク設定を行っても再起動すると初期化されてしまいます。

今回の場合、IPv6未サポート時代に作られたインスタンスはIPv6が無効化されているため、有効にしなければならないのだが、正しいやりかたが不明。

公式ドキュメントの「IPv6 Addresses」には、コマンドで実行する場合のやり方が書かれていた。

しかし、これは仮想インスタンスの元となるイメージの作成時期によって動作が異なっている場合があった。

古いものではIPv6アドレス設定が無効化されており、ここ半年ぐらいのものはIPv6アドレスが有効化されていた。

有効化されている場合はドキュメント記載の「sudo dhclient -6」でIPv6アドレスが割り当てられた。

無効化されている場合は、下記の様に「sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0」実行してIPv6有効化を行った後に、「sudo dhclient -6」でDHCPv6によりIPv6アドレスが割り当てられ、通信が正常に行えることを確認できた。

[root@oraclelinux7 ~]# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.22/24 brd 10.0.0.255 scope global dynamic ens3
       valid_lft 86336sec preferred_lft 86336sec
[root@oraclelinux7 ~]#

[root@oraclelinux7 ~]# sysctl  -a|grep disable_ip
sysctl: reading key "net.ipv6.conf.all.stable_secret"
sysctl: reading key "net.ipv6.conf.default.stable_secret"
sysctl: reading key "net.ipv6.conf.ens3.stable_secret"
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.ens3.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
[root@oraclelinux7 ~]#

[root@oraclelinux7 ~]# sysctl  -w net.ipv6.conf.all.disable_ipv6=0
net.ipv6.conf.all.disable_ipv6 = 0
[root@oraclelinux7 ~]#

[root@oraclelinux7 ~]# sysctl  -a|grep disable_ip
sysctl: reading key "net.ipv6.conf.all.stable_secret"
sysctl: reading key "net.ipv6.conf.default.stable_secret"
sysctl: reading key "net.ipv6.conf.ens3.stable_secret"
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.ens3.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
[root@oraclelinux7 ~]#

[root@oraclelinux7 ~]# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.22/24 brd 10.0.0.255 scope global dynamic ens3
       valid_lft 86257sec preferred_lft 86257sec
    inet6 fe80::17ff:fe00:a543/64 scope link
       valid_lft forever preferred_lft forever
[root@oraclelinux7 ~]#

[root@oraclelinux7 ~]# dhclient -6
[root@oraclelinux7 ~]# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.22/24 brd 10.0.0.255 scope global dynamic ens3
       valid_lft 86240sec preferred_lft 86240sec
    inet6 xxxx:xxxx:8000:f502:7f3d:7046:6c88:13a1/128 scope global dynamic
       valid_lft 7495sec preferred_lft 7195sec
    inet6 fe80::17ff:fe00:a543/64 scope link
       valid_lft forever preferred_lft forever
[root@oraclelinux7 ~]#

問題は、これを起動時に自動的に行う設定である。

とりあえず公式ドキュメントは発見できなかった。

IPv6有効化設定の方法

まずIPv6無効化の「net.ipv6.conf.all.disable_ipv6=1」はどこで設定されているのかを調べたところ、/usr/lib/sysctl.d/disable-ipv6.conf で設定されていた。

このファイルはOSパッケージにより管理されているため書き換えてはいけない。ユーザが値を変更したい場合は /etc/sysctl.d/ ディレクトリに同じファイル名でファイルを置いて変更する必要がある。

今回の場合は /etc/sysctl.d/disable-ipv6.conf というファイルを作成して、以下の内容で配置した。

net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0

これにより、起動時にIPv6が有効化された状態とすることは可能になった。

DHCPv6によるIPアドレス取得の方法

/etc/sysconfig/network-scripts/ifcfg-ens3 に 「IPV6INIT=yes」とか追加してもIPv6アドレスを割り当ててくれない。それどころか、入れたIPV6INIT記述は削除されている。

動作を調べるとcloud-initにより、起動時に毎回 /etc/sysconfig/network-scripts/ifcfg-ens3 が生成されているので、このファイルを書きかえても意味がないことが分かった。

毎起動時に起動させる手法を探したところ、cloud-initの中でper-boot という設定があることがわかった。

「/var/lib/cloud/scripts/per-boot/01_ipv6」というファイルを作り、下記を書き、実行権限を与えたところ、とりあえず希望通りの動作にはなった。

#/bin/bash
dhclient -6

とりあえず、これでOracle Cloud上に作ったインスタンスをIPv6環境に対応させることができた。

ルーティングの設定

上記だけではOracle Cloud内でのIPv6通信しかできない。

仮想クラウドネットワーク(VNC)の設定内にある「ルート・ルール」に「宛先」を「::/0」、ターゲットタイプ「インターネット・ゲートウェイ」でルールを1個追加する。

また、「セキュリティ・リスト」の「イングレス・ルール」に、ソース「::/0」、プロトコルTCP、宛先ポート範囲で「22,80,443」を追加してssh,http,httpsアクセスが可能な設定を行う。

また、出ていくパケットについての「エグレス・ルール」の方に、宛先「::/0」で全てのプロトコルを設定。

これで、外部からのIPv6アクセスも可能になったはずである。

Ubuntu 18.04以降/CentOS7向けにMicrosoftがOpenJDK 11のパッケージ配布を始めた


Microsoftは従来からLinuxのいくつかのディストリビューション向けにバイナリパッケージを配布するレポジトリサーバ https://packages.microsoft.com/ を公開している。

たとえば、PowerShellを使いたい場合は「Linux への PowerShell のインストール」の手順を行って設定していた。

このたび、MicrosoftからOpenJDK 11のプレビュー版提供が開始された。「Announcing Preview of Microsoft Build of OpenJDK

Microsoft Build of OpenJDK」を見ると「Linux Installers for OpenJDK 11」という手順が公開されており、これを見ると、Debian 9と10、Ubuntu 18.04以降、CentOS8で従来から提供されているMicrosoftプロダクトレポジトリにおいて、msopenjdk-11の提供が始まったように見える。

うちのCentOS7環境はPowerShellを使える様にしているので使えるはず!と「yum search msopenjdk」を実行してみると見付からない・・・

設定されているレポジトリファイルはPowerShell手順にあるようにRHEL7のものだしなぁ・・・

# curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo

・・・OpenJDKの方のCentOS7手順を見てみる。

# sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm

取得しているディレクトリが https://packages.microsoft.com/config/rhel/7/ ではなく https://packages.microsoft.com/config/centos/7/ に変更されている。

というわけで、レポジトリファイルを変更して再実行!

無事検索されるようになりました。

が・・・よく見ると、CentOS7レポジトリでは「powershell」はなく「powershell-preview」というパッケージのみ提供な模様。(rhel7ではpowershell,powershell-lts,powershell-previewが提供されている)

CetnOS7ユーザは注意が必要なようです。

とはいえRHEL7/CentOS7ユーザはRedHat提供のOpenJDK 11が使えますけどね・・・(java-11-openjdk)。「OpenJDK RPMs for RHEL 7」「第2章 RED HAT ENTERPRISE LINUX での OPENJDK 11 のインストール

RHEL8/CentOS8についても同様で、OpenJDK 11をjava-11-openjdkというパッケージ名で提供しており、また、java-latest-openjdkでOpenJDK 16も提供しているので除外されているようですね。

RHEL8/CentOS8の標準samba 4.12では新規Active Directoryサーバの構築は非サポート?


RHEL8/CentOS8/Oracle Linux 8で用意されているsambaパッケージを使ってActive Direcotryサーバを立てることができるか確認してみた。

公式資料:[Red Hat Enterprise Linux 8 にさまざまな種類のサーバーをデプロイするためのガイド]-[第3章 SAMBA をサーバーとして使用]

まずは、パッケージのインストール

# yum install samba
<略>
# rpm -qa|grep samba
samba-libs-4.12.3-12.el8.3.x86_64
samba-common-4.12.3-12.el8.3.noarch
samba-client-libs-4.12.3-12.el8.3.x86_64
samba-common-tools-4.12.3-12.el8.3.x86_64
samba-common-libs-4.12.3-12.el8.3.x86_64
samba-4.12.3-12.el8.3.x86_64
#

で、RHEL8/CentOS8での特徴の1つ、「samba-toolが無い」問題。

じゃぁ、どうするの?と前出のマニュアル見てみれば手動で /etc/samba/smb.conf を編集している。

初期状態でどんな設定になるのか

[root@samba48 ~]# ls -l /etc/samba/
合計 20
-rw-r--r--. 1 root root    20  8月 18 05:50 lmhosts
-rw-r--r--. 1 root root   706  8月 18 05:50 smb.conf
-rw-r--r--. 1 root root 11327  8月 18 05:50 smb.conf.example
[root@samba48 ~]# cat /etc/samba/smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.

[global]
        workgroup = SAMBA
        security = user

        passdb backend = tdbsam

        printing = cups
        printcap name = cups
        load printers = yes
        cups options = raw

[homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        browseable = No
        read only = No
        inherit acls = Yes

[printers]
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0600
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @printadmin root
        force group = @printadmin
        create mask = 0664
        directory mask = 0775
[root@samba48 ~]#

参考まで、samba-toolsで作った場合のsmb.confは下記の様になっている。

# Global parameters
[global]
        dns forwarder = 上DNSサーバIPアドレス
        netbios name = samba48
        realm = testad2.local
        server role = active directory domain controller
        workgroup = TESTAD2
        idmap_ldb:use rfc2307 = yes
        allow dns updates = nonsecure
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate dns
        ldap server require strong auth = no

[netlogon]
        path = /usr/local/samba/var/locks/sysvol/testad2.local/scripts
        read only = No

[sysvol]
        path = /usr/local/samba/var/locks/sysvol
        read only = No

で、[第3章 SAMBA をサーバーとして使用]を見ると、「スタンドアローンサーバとして単独WORKGROUPをたてる場合」と「既存Active Directory環境にメンバーサーバとして参加する場合」しか用意されておらず、「新規Active Directory環境を作る場合」というものが無い。

samba-toolコマンドを使用しない場合のActive Directory構築手順も見当たらないため、RHEL8/CentOS8が標準で用意しているsambaパッケージを使用しての構築はできないようだ。


CentOS8の場合「yum search samba」でパッケージ検索すると、「centos-releae-samba41?」といった追加レポジトリが出てくる。

[root@samba48 ~]# yum search samba
メタデータの期限切れの最終確認: 0:30:30 時間前の 2021年01月21日 09時31分03秒 に実施しました。
==================================== 名前 完全一致: samba ====================================
samba.x86_64 : Server and Client software to interoperate with Windows machines
================================== 名前 & 概要 一致: samba ===================================
centos-release-samba411.noarch : Samba 4.11 packages from the CentOS Storage SIG repository
centos-release-samba412.noarch : Samba 4.12 packages from the CentOS Storage SIG repository
centos-release-samba413.noarch : Samba 4.13 packages from the CentOS Storage SIG repository
ipa-client-samba.x86_64 : Tools to configure Samba on IPA client
pcp-pmda-samba.x86_64 : Performance Co-Pilot (PCP) metrics for Samba
python3-samba.i686 : Samba Python3 libraries
python3-samba.x86_64 : Samba Python3 libraries
python3-samba-test.x86_64 : Samba Python libraries
samba-client.x86_64 : Samba client programs
samba-client-libs.x86_64 : Samba client libraries
samba-client-libs.i686 : Samba client libraries
samba-common.noarch : Files used by both Samba servers and clients
samba-common-libs.x86_64 : Libraries used by both Samba servers and clients
samba-common-tools.x86_64 : Tools for Samba servers and clients
samba-krb5-printing.x86_64 : Samba CUPS backend for printing with Kerberos
samba-libs.x86_64 : Samba libraries
samba-libs.i686 : Samba libraries
samba-test.x86_64 : Testing tools for Samba servers and clients
samba-test-libs.x86_64 : Libraries need by the testing tools for Samba servers and clients
samba-winbind.x86_64 : Samba winbind
samba-winbind-clients.x86_64 : Samba winbind clients
samba-winbind-krb5-locator.x86_64 : Samba winbind krb5 locator
samba-winbind-modules.i686 : Samba winbind modules
samba-winbind-modules.x86_64 : Samba winbind modules
====================================== 名前 一致: samba ======================================
samba-pidl.noarch : Perl IDL compiler
====================================== 概要 一致: samba ======================================
ctdb.x86_64 : A Clustered Database based on Samba's Trivial Database (TDB)
[root@samba48 ~]#

centos-release-samba413をインストールしてみる

[root@samba48 ~]# yum install centos-release-samba413
メタデータの期限切れの最終確認: 1:32:19 時間前の 2021年01月21日 09時31分03秒 に実施しました。
依存関係が解決しました。
==============================================================================================
 パッケージ                            Arch           バージョン         リポジトリー   サイズ
==============================================================================================
インストール:
 centos-release-samba413               noarch         1.0-1.el8          extras         8.8 k
依存関係のインストール:
 centos-release-storage-common         noarch         2-2.el8            extras         9.4 k

トランザクションの概要
==============================================================================================
インストール  2 パッケージ

ダウンロードサイズの合計: 18 k
インストール済みのサイズ: 2.0 k
これでよろしいですか? [y/N]: y
パッケージのダウンロード:
(1/2): centos-release-samba413-1.0-1.el8.noarch.rpm           231 kB/s | 8.8 kB     00:00
(2/2): centos-release-storage-common-2-2.el8.noarch.rpm       252 kB/s | 9.4 kB     00:00
----------------------------------------------------------------------------------------------
合計                                                           31 kB/s |  18 kB     00:00
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                                      1/1
  インストール     : centos-release-storage-common-2-2.el8.noarch                         1/2
  インストール     : centos-release-samba413-1.0-1.el8.noarch                             2/2
  scriptletの実行中: centos-release-samba413-1.0-1.el8.noarch                             2/2
  検証             : centos-release-samba413-1.0-1.el8.noarch                             1/2
  検証             : centos-release-storage-common-2-2.el8.noarch                         2/2

インストール済み:
  centos-release-samba413-1.0-1.el8.noarch    centos-release-storage-common-2-2.el8.noarch

完了しました!
[root@samba48 ~]#

そうすると、インストールされていたsmba 4.12がアップデートできるようになりました

[root@samba48 ~]# yum check-update
メタデータの期限切れの最終確認: 0:02:42 時間前の 2021年01月21日 11時03分56秒 に実施しました。

libwbclient.x86_64                            4.13.3-1.el8                     centos-samba413
samba.x86_64                                  4.13.3-1.el8                     centos-samba413
samba-client-libs.x86_64                      4.13.3-1.el8                     centos-samba413
samba-common.noarch                           4.13.3-1.el8                     centos-samba413
samba-common-libs.x86_64                      4.13.3-1.el8                     centos-samba413
samba-common-tools.x86_64                     4.13.3-1.el8                     centos-samba413
samba-libs.x86_64                             4.13.3-1.el8                     centos-samba413
[root@samba48 ~]#

yum updateすると、「/sbin/ldconfig: /lib64/libsmbldap.so.2 はシンボリックリンクではありません」って出てるけど、これは大丈夫なんだろうか….

[root@samba48 ~]# yum update -y
メタデータの期限切れの最終確認: 0:03:30 時間前の 2021年01月21日 11時03分56秒 に実施しました。
依存関係が解決しました。
==============================================================================================
 パッケージ                Arch    バージョン                          リポジトリー     サイズ
==============================================================================================
アップグレード:
 libwbclient               x86_64  4.13.3-1.el8                        centos-samba413   37 k
 samba                     x86_64  4.13.3-1.el8                        centos-samba413  757 k
 samba-client-libs         x86_64  4.13.3-1.el8                        centos-samba413  5.5 M
 samba-common              noarch  4.13.3-1.el8                        centos-samba413  135 k
 samba-common-libs         x86_64  4.13.3-1.el8                        centos-samba413  124 k
 samba-common-tools        x86_64  4.13.3-1.el8                        centos-samba413  416 k
 samba-libs                x86_64  4.13.3-1.el8                        centos-samba413  110 k
依存関係のインストール:
 checkpolicy               x86_64  2.9-1.el8                           baseos           348 k
 glusterfs                 x86_64  6.0-37.2.el8                        baseos           662 k
 glusterfs-api             x86_64  6.0-37.2.el8                        appstream         95 k
 glusterfs-client-xlators  x86_64  6.0-37.2.el8                        baseos           870 k
 glusterfs-libs            x86_64  6.0-37.2.el8                        baseos           413 k
 python3-audit             x86_64  3.0-0.17.20191104git1c2f876.el8     baseos            86 k
 python3-libsemanage       x86_64  2.9-3.el8                           baseos           127 k
 python3-policycoreutils   noarch  2.9-9.el8                           baseos           2.2 M
 python3-setools           x86_64  4.3.0-2.el8                         baseos           626 k
 samba-vfs-glusterfs       x86_64  4.13.3-1.el8                        centos-samba413   40 k

トランザクションの概要
==============================================================================================
インストール    10 パッケージ
アップグレード   7 パッケージ

ダウンロードサイズの合計: 12 M
パッケージのダウンロード:
(1/17): glusterfs-api-6.0-37.2.el8.x86_64.rpm                 1.2 MB/s |  95 kB     00:00
(2/17): checkpolicy-2.9-1.el8.x86_64.rpm                      1.4 MB/s | 348 kB     00:00
(3/17): glusterfs-6.0-37.2.el8.x86_64.rpm                     2.4 MB/s | 662 kB     00:00
(4/17): python3-audit-3.0-0.17.20191104git1c2f876.el8.x86_64. 3.0 MB/s |  86 kB     00:00
(5/17): python3-libsemanage-2.9-3.el8.x86_64.rpm              3.2 MB/s | 127 kB     00:00
(6/17): glusterfs-libs-6.0-37.2.el8.x86_64.rpm                3.4 MB/s | 413 kB     00:00
(7/17): glusterfs-client-xlators-6.0-37.2.el8.x86_64.rpm      2.5 MB/s | 870 kB     00:00
(8/17): python3-setools-4.3.0-2.el8.x86_64.rpm                4.4 MB/s | 626 kB     00:00
(9/17): samba-vfs-glusterfs-4.13.3-1.el8.x86_64.rpm           253 kB/s |  40 kB     00:00
(10/17): libwbclient-4.13.3-1.el8.x86_64.rpm                  379 kB/s |  37 kB     00:00
(11/17): samba-4.13.3-1.el8.x86_64.rpm                        2.4 MB/s | 757 kB     00:00
(12/17): python3-policycoreutils-2.9-9.el8.noarch.rpm         3.9 MB/s | 2.2 MB     00:00
(13/17): samba-common-4.13.3-1.el8.noarch.rpm                 2.6 MB/s | 135 kB     00:00
(14/17): samba-common-libs-4.13.3-1.el8.x86_64.rpm            1.4 MB/s | 124 kB     00:00
(15/17): samba-common-tools-4.13.3-1.el8.x86_64.rpm           3.2 MB/s | 416 kB     00:00
(16/17): samba-libs-4.13.3-1.el8.x86_64.rpm                   1.4 MB/s | 110 kB     00:00
(17/17): samba-client-libs-4.13.3-1.el8.x86_64.rpm            5.0 MB/s | 5.5 MB     00:01
----------------------------------------------------------------------------------------------
合計                                                          4.2 MB/s |  12 MB     00:02
警告: /var/cache/dnf/centos-samba413-5ae787790677bc21/packages/samba-vfs-glusterfs-4.13.3-1.el8.x86_64.rpm: ヘッダー V4 RSA/SHA1 Signature、鍵 ID e451e5b5: NOKEY
CentOS-8 - Samba 4.13                                         1.0 MB/s | 1.0 kB     00:00
GPG 鍵 0xE451E5B5 をインポート中:
 Userid     : "CentOS Storage SIG (http://wiki.centos.org/SpecialInterestGroup/Storage) <security@centos.org>"
 Fingerprint: 7412 9C0B 173B 071A 3775 951A D4A2 E50B E451 E5B5
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
鍵のインポートに成功しました
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                                      1/1
  scriptletの実行中: samba-common-4.13.3-1.el8.noarch                                     1/1
  scriptletの実行中: samba-common-4.13.3-1.el8.noarch                                    1/24
  アップグレード   : samba-common-4.13.3-1.el8.noarch                                    1/24
  scriptletの実行中: samba-common-4.13.3-1.el8.noarch                                    1/24
  アップグレード   : samba-common-libs-4.13.3-1.el8.x86_64                               2/24
  scriptletの実行中: samba-common-libs-4.13.3-1.el8.x86_64                               2/24
  アップグレード   : samba-client-libs-4.13.3-1.el8.x86_64                               3/24
  scriptletの実行中: samba-client-libs-4.13.3-1.el8.x86_64                               3/24
/sbin/ldconfig: /lib64/libsmbldap.so.2 はシンボリックリンクではありません


  アップグレード   : libwbclient-4.13.3-1.el8.x86_64                                     4/24
  アップグレード   : samba-libs-4.13.3-1.el8.x86_64                                      5/24
  scriptletの実行中: samba-libs-4.13.3-1.el8.x86_64                                      5/24
/sbin/ldconfig: /lib64/libsmbldap.so.2 はシンボリックリンクではありません


  インストール     : glusterfs-libs-6.0-37.2.el8.x86_64                                  6/24
  scriptletの実行中: glusterfs-libs-6.0-37.2.el8.x86_64                                  6/24
/sbin/ldconfig: /lib64/libsmbldap.so.2 はシンボリックリンクではありません


  scriptletの実行中: glusterfs-6.0-37.2.el8.x86_64                                       7/24
  インストール     : glusterfs-6.0-37.2.el8.x86_64                                       7/24
  scriptletの実行中: glusterfs-6.0-37.2.el8.x86_64                                       7/24
/sbin/ldconfig: /lib64/libsmbldap.so.2 はシンボリックリンクではありません


  インストール     : glusterfs-client-xlators-6.0-37.2.el8.x86_64                        8/24
  インストール     : glusterfs-api-6.0-37.2.el8.x86_64                                   9/24
  scriptletの実行中: glusterfs-api-6.0-37.2.el8.x86_64                                   9/24
/sbin/ldconfig: /lib64/libsmbldap.so.2 はシンボリックリンクではありません


  アップグレード   : samba-common-tools-4.13.3-1.el8.x86_64                             10/24
  インストール     : python3-setools-4.3.0-2.el8.x86_64                                 11/24
  インストール     : python3-libsemanage-2.9-3.el8.x86_64                               12/24
  インストール     : python3-audit-3.0-0.17.20191104git1c2f876.el8.x86_64               13/24
  インストール     : checkpolicy-2.9-1.el8.x86_64                                       14/24
  インストール     : python3-policycoreutils-2.9-9.el8.noarch                           15/24
  アップグレード   : samba-4.13.3-1.el8.x86_64                                          16/24
  scriptletの実行中: samba-4.13.3-1.el8.x86_64                                          16/24
  インストール     : samba-vfs-glusterfs-4.13.3-1.el8.x86_64                            17/24
  scriptletの実行中: samba-4.12.3-12.el8.3.x86_64                                       18/24
  整理             : samba-4.12.3-12.el8.3.x86_64                                       18/24
  scriptletの実行中: samba-4.12.3-12.el8.3.x86_64                                       18/24
  整理             : samba-common-tools-4.12.3-12.el8.3.x86_64                          19/24
  整理             : samba-libs-4.12.3-12.el8.3.x86_64                                  20/24
  整理             : samba-common-libs-4.12.3-12.el8.3.x86_64                           21/24
  整理             : samba-client-libs-4.12.3-12.el8.3.x86_64                           22/24
  scriptletの実行中: libwbclient-4.12.3-12.el8.3.x86_64                                 23/24
  整理             : libwbclient-4.12.3-12.el8.3.x86_64                                 23/24
  整理             : samba-common-4.12.3-12.el8.3.noarch                                24/24
  scriptletの実行中: libwbclient-4.13.3-1.el8.x86_64                                    24/24
  scriptletの実行中: samba-vfs-glusterfs-4.13.3-1.el8.x86_64                            24/24
  scriptletの実行中: samba-common-4.12.3-12.el8.3.noarch                                24/24
  検証             : glusterfs-api-6.0-37.2.el8.x86_64                                   1/24
  検証             : checkpolicy-2.9-1.el8.x86_64                                        2/24
  検証             : glusterfs-6.0-37.2.el8.x86_64                                       3/24
  検証             : glusterfs-client-xlators-6.0-37.2.el8.x86_64                        4/24
  検証             : glusterfs-libs-6.0-37.2.el8.x86_64                                  5/24
  検証             : python3-audit-3.0-0.17.20191104git1c2f876.el8.x86_64                6/24
  検証             : python3-libsemanage-2.9-3.el8.x86_64                                7/24
  検証             : python3-policycoreutils-2.9-9.el8.noarch                            8/24
  検証             : python3-setools-4.3.0-2.el8.x86_64                                  9/24
  検証             : samba-vfs-glusterfs-4.13.3-1.el8.x86_64                            10/24
  検証             : libwbclient-4.13.3-1.el8.x86_64                                    11/24
  検証             : libwbclient-4.12.3-12.el8.3.x86_64                                 12/24
  検証             : samba-4.13.3-1.el8.x86_64                                          13/24
  検証             : samba-4.12.3-12.el8.3.x86_64                                       14/24
  検証             : samba-client-libs-4.13.3-1.el8.x86_64                              15/24
  検証             : samba-client-libs-4.12.3-12.el8.3.x86_64                           16/24
  検証             : samba-common-4.13.3-1.el8.noarch                                   17/24
  検証             : samba-common-4.12.3-12.el8.3.noarch                                18/24
  検証             : samba-common-libs-4.13.3-1.el8.x86_64                              19/24
  検証             : samba-common-libs-4.12.3-12.el8.3.x86_64                           20/24
  検証             : samba-common-tools-4.13.3-1.el8.x86_64                             21/24
  検証             : samba-common-tools-4.12.3-12.el8.3.x86_64                          22/24
  検証             : samba-libs-4.13.3-1.el8.x86_64                                     23/24
  検証             : samba-libs-4.12.3-12.el8.3.x86_64                                  24/24

アップグレード済み:
  libwbclient-4.13.3-1.el8.x86_64               samba-4.13.3-1.el8.x86_64
  samba-client-libs-4.13.3-1.el8.x86_64         samba-common-4.13.3-1.el8.noarch
  samba-common-libs-4.13.3-1.el8.x86_64         samba-common-tools-4.13.3-1.el8.x86_64
  samba-libs-4.13.3-1.el8.x86_64

インストール済み:
  checkpolicy-2.9-1.el8.x86_64          glusterfs-6.0-37.2.el8.x86_64
  glusterfs-api-6.0-37.2.el8.x86_64     glusterfs-client-xlators-6.0-37.2.el8.x86_64
  glusterfs-libs-6.0-37.2.el8.x86_64    python3-audit-3.0-0.17.20191104git1c2f876.el8.x86_64
  python3-libsemanage-2.9-3.el8.x86_64  python3-policycoreutils-2.9-9.el8.noarch
  python3-setools-4.3.0-2.el8.x86_64    samba-vfs-glusterfs-4.13.3-1.el8.x86_64

完了しました!
[root@samba48 ~]#

まぁ、アップデート完了してもsamba-tool はいませんでしたけどね

[root@samba48 ~]# which samba-tool
/usr/bin/which: no samba-tool in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
[root@samba48 ~]#

というわけで、おとなしくsambaをソースからコンパイルするしかなさそうです。

CentOS8からOracle Linux 8への移行3(Oracle公式手順


CentOS8からOracle Linux 8に移行するための公式手順が先ほど公開されました。

既存の「Oracle Linux: A better alternative to CentOS」の対応OSにCentOS8が加わりました。また、centos2ol.shのGithubでの開発公開もスタートしました。

というわけで、公式 centos2ol.sh を実行した場合の手順です。

過去事例1:CentOS8をOracleLinux8に変えようとして失敗した
過去事例2:CentOS8からOracle Linux 8への移行1(非推奨
過去事例3:CentOS8からOracle Linux 8への移行2(成功例/非公式手順/EFI環境用

(1) CentOS8を用意

CentOS8の最新版を最小インストールで用意した。

[root@centos8 ~]# uname -a
Linux centos8 4.18.0-240.1.1.el8_3.x86_64 #1 SMP Thu Nov 19 17:20:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@centos8 ~]# rpm -qa|grep release
centos-linux-release-8.3-1.2011.el8.noarch
[root@centos8 ~]#

現状の/etc/yum.repos.d/ の中身は下記の状態。

[root@centos8 ~]# ls -l /etc/yum.repos.d/
合計 48
-rw-r--r--. 1 root root  719 11月 10 09:32 CentOS-Linux-AppStream.repo
-rw-r--r--. 1 root root  704 11月 10 09:32 CentOS-Linux-BaseOS.repo
-rw-r--r--. 1 root root 1130 11月 10 09:32 CentOS-Linux-ContinuousRelease.repo
-rw-r--r--. 1 root root  318 11月 10 09:32 CentOS-Linux-Debuginfo.repo
-rw-r--r--. 1 root root  732 11月 10 09:32 CentOS-Linux-Devel.repo
-rw-r--r--. 1 root root  704 11月 10 09:32 CentOS-Linux-Extras.repo
-rw-r--r--. 1 root root  719 11月 10 09:32 CentOS-Linux-FastTrack.repo
-rw-r--r--. 1 root root  740 11月 10 09:32 CentOS-Linux-HighAvailability.repo
-rw-r--r--. 1 root root  693 11月 10 09:32 CentOS-Linux-Media.repo
-rw-r--r--. 1 root root  706 11月 10 09:32 CentOS-Linux-Plus.repo
-rw-r--r--. 1 root root  724 11月 10 09:32 CentOS-Linux-PowerTools.repo
-rw-r--r--. 1 root root  898 11月 10 09:32 CentOS-Linux-Sources.repo
[root@centos8 ~]#

(2) 移行用スクリプトcentos2ol.shをgithubからダウンロード

Githubの https://github.com/oracle/centos2ol で公開されている centos2ol.sh をダウンロードする。

[root@centos8 ~]# curl -O https://raw.githubusercontent.com/oracle/centos2ol/main/centos2ol.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 16065  100 16065    0     0  17442      0 --:--:-- --:--:-- --:--:-- 17424
[root@centos8 ~]# ls -l centos2ol.sh
-rw-r--r--. 1 root root 16065 12月 16 09:24 centos2ol.sh
[root@centos8 ~]#

(3) centos2ol.sh の実行

一般ユーザであれば「sudo bash centos2ol.sh」、rootユーザであれば「bash centos2ol.sh」を実行する。

内部でdistro-syncというCentOS8由来のパッケージをOracle Linux 8のパッケージに置き換える操作を実行しているので、Oracle Linux 8パッケージのダウンロードとインストールに時間がかかる。

[root@centos8 ~]# bash centos2ol.sh
Checking for required packages...
Checking your distribution...
Checking for yum lock...
Checking for required python packages...
Finding your repository directory...
Learning which repositories are enabled...
Repositories enabled before update include:
appstream
baseos
extras
Looking for yumdownloader...
メタデータの期限切れの最終確認: 0:00:02 時間前の 2020年12月16日 09時24分48秒 に実施しました。
依存関係が解決しました。
===============================================================================================================================================
 パッケージ                        アーキテクチャー               バージョン                              リポジトリー                   サイズ
===============================================================================================================================================
インストール:
 yum-utils                         noarch                         4.0.17-5.el8                            baseos                          68 k

トランザクションの概要
===============================================================================================================================================
インストール  1 パッケージ

ダウンロードサイズの合計: 68 k
インストール済みのサイズ: 20 k
パッケージのダウンロード:
yum-utils-4.0.17-5.el8.noarch.rpm                                                                              446 kB/s |  68 kB     00:00
-----------------------------------------------------------------------------------------------------------------------------------------------
合計                                                                                                           137 kB/s |  68 kB     00:00
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                                                                                       1/1
  インストール     : yum-utils-4.0.17-5.el8.noarch                                                                                         1/1
  scriptletの実行中: yum-utils-4.0.17-5.el8.noarch                                                                                         1/1
  検証             : yum-utils-4.0.17-5.el8.noarch                                                                                         1/1

インストール済み:
  yum-utils-4.0.17-5.el8.noarch

完了しました!
Backing up and removing old repository files...
Downloading Oracle Linux release package...
Oracle Linux 8 BaseOS Latest (x86_64)                                                                          8.0 MB/s |  27 MB     00:03
Oracle Linux 8 Application Stream (x86_64)                                                                     3.5 MB/s |  21 MB     00:06
Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)                                     6.7 MB/s |  12 MB     00:01
メタデータの期限切れの最終確認: 0:00:04 時間前の 2020年12月16日 09時25分19秒 に実施しました。
(1/3): oraclelinux-release-el8-1.0-14.el8.x86_64.rpm                                                           116 kB/s |  18 kB     00:00
(2/3): redhat-release-8.3-1.0.0.1.el8.x86_64.rpm                                                               104 kB/s |  17 kB     00:00
(3/3): oraclelinux-release-8.3-1.0.4.el8.x86_64.rpm                                                            298 kB/s |  71 kB     00:00
Switching old release package with Oracle Linux...
警告: oraclelinux-release-8.3-1.0.4.el8.x86_64.rpm: ヘッダー V3 RSA/SHA256 Signature、鍵 ID ad986da3: NOKEY
警告: ファイル /etc/yum.repos.d/CentOS-Linux-Sources.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-PowerTools.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-Plus.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-Media.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-HighAvailability.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-FastTrack.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-Extras.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-Devel.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-Debuginfo.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-ContinuousRelease.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-BaseOS.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
警告: ファイル /etc/yum.repos.d/CentOS-Linux-AppStream.repo: 削除に失敗しました: そのようなファイルやディレクトリはありません
Installing base packages for Oracle Linux...
メタデータの期限切れの最終確認: 0:00:10 時間前の 2020年12月16日 09時25分19秒 に実施しました。
> 一致した引数がありません: centos-backgrounds
一致した引数がありません: centos-logos
一致した引数がありません: centos-release-cr
一致した引数がありません: desktop-backgrounds-basic
一致した引数がありません: centos-release-advanced-virtualization
一致した引数がありません: centos-release-ansible26
一致した引数がありません: centos-release-ansible-27
一致した引数がありません: centos-release-ansible-28
一致した引数がありません: centos-release-ansible-29
一致した引数がありません: centos-release-azure
一致した引数がありません: centos-release-ceph-jewel
一致した引数がありません: centos-release-ceph-luminous
一致した引数がありません: centos-release-ceph-nautilus
一致した引数がありません: centos-release-ceph-octopus
一致した引数がありません: centos-release-configmanagement
一致した引数がありません: centos-release-dotnet
一致した引数がありません: centos-release-fdio
一致した引数がありません: centos-release-gluster40
一致した引数がありません: centos-release-gluster41
一致した引数がありません: centos-release-gluster5
一致した引数がありません: centos-release-gluster6
一致した引数がありません: centos-release-gluster7
一致した引数がありません: centos-release-gluster8
一致した引数がありません: centos-release-gluster-legacy
一致した引数がありません: centos-release-messaging
一致した引数がありません: centos-release-nfs-ganesha28
一致した引数がありません: centos-release-nfs-ganesha30
一致した引数がありません: centos-release-nfv-common
一致した引数がありません: centos-release-nfv-openvswitch
一致した引数がありません: centos-release-openshift-origin
一致した引数がありません: centos-release-openstack-queens
一致した引数がありません: centos-release-openstack-rocky
一致した引数がありません: centos-release-openstack-stein
一致した引数がありません: centos-release-openstack-train
一致した引数がありません: centos-release-openstack-ussuri
一致した引数がありません: centos-release-opstools
一致した引数がありません: centos-release-ovirt42
一致した引数がありません: centos-release-ovirt43
一致した引数がありません: centos-release-ovirt44
一致した引数がありません: centos-release-paas-common
一致した引数がありません: centos-release-qemu-ev
一致した引数がありません: centos-release-qpid-proton
一致した引数がありません: centos-release-rabbitmq-38
一致した引数がありません: centos-release-samba411
一致した引数がありません: centos-release-samba412
一致した引数がありません: centos-release-scl
一致した引数がありません: centos-release-scl-rh
一致した引数がありません: centos-release-storage-common
一致した引数がありません: centos-release-virt-common
一致した引数がありません: centos-release-xen
一致した引数がありません: centos-release-xen-410
一致した引数がありません: centos-release-xen-412
一致した引数がありません: centos-release-xen-46
一致した引数がありません: centos-release-xen-48
一致した引数がありません: centos-release-xen-common
一致した引数がありません: libreport-centos
一致した引数がありません: libreport-plugin-mantisbt
一致した引数がありません: libreport-plugin-rhtsupport
一致した引数がありません: python-oauth
一致した引数がありません: sl-logos
一致した引数がありません: yum-rhn-plugin
> パッケージ basesystem-11-5.el8.noarch は既にインストールされています。
パッケージ initscripts-10.00.9-1.el8.x86_64 は既にインストールされています。
パッケージ plymouth-0.9.4-7.20200615git1e36e30.el8.x86_64 は既にインストールされています。
パッケージ grubby-8.40-41.el8.x86_64 は既にインストールされています。
> ===============================================================================================================================================
 パッケージ                        アーキテクチャー    バージョン                                         リポジトリー                   サイズ
===============================================================================================================================================
インストール:
 grub2-pc                          x86_64              1:2.02-90.0.1.el8                                  ol8_baseos_latest               40 k
 kernel-uek                        x86_64              5.4.17-2036.101.2.el8uek                           ol8_UEKR6                       61 M
 oracle-logos                      x86_64              80.5-1.0.6.el8                                     ol8_baseos_latest              1.4 M
アップグレード:
 grub2-common                      noarch              1:2.02-90.0.1.el8                                  ol8_baseos_latest              885 k
 grub2-efi-x64                     x86_64              1:2.02-90.0.1.el8                                  ol8_baseos_latest              409 k
 grub2-tools                       x86_64              1:2.02-90.0.1.el8                                  ol8_baseos_latest              2.0 M
 grub2-tools-extra                 x86_64              1:2.02-90.0.1.el8                                  ol8_baseos_latest              1.1 M
 grub2-tools-minimal               x86_64              1:2.02-90.0.1.el8                                  ol8_baseos_latest              205 k
 grubby                            x86_64              8.40-41.0.1.el8                                    ol8_baseos_latest               50 k
 linux-firmware                    noarch              999:20200902-999.5.gitd5f9eea5.el8                 ol8_baseos_latest              122 M
 plymouth                          x86_64              0.9.4-7.20200615git1e36e30.0.1.el8                 ol8_appstream                  127 k
 tuned                             noarch              2.14.0-3.0.1.el8                                   ol8_baseos_latest              294 k
依存関係のインストール:
 grub2-pc-modules                  noarch              1:2.02-90.0.1.el8                                  ol8_baseos_latest              869 k
 grub2-tools-efi                   x86_64              1:2.02-90.0.1.el8                                  ol8_baseos_latest              470 k
削除中:
 centos-linux-release              noarch              8.3-1.2011.el8                                     @anaconda                       25 k
 python3-syspurpose                x86_64              1.27.16-1.el8                                      @anaconda                      135 k

トランザクションの概要
===============================================================================================================================================
インストール    5 パッケージ
アップグレード  9 パッケージ
削除            2 パッケージ

ダウンロードサイズの合計: 191 M
パッケージのダウンロード:
(1/14): grub2-pc-2.02-90.0.1.el8.x86_64.rpm                                                                    450 kB/s |  40 kB     00:00
(2/14): grub2-tools-efi-2.02-90.0.1.el8.x86_64.rpm                                                             2.3 MB/s | 470 kB     00:00
(3/14): oracle-logos-80.5-1.0.6.el8.x86_64.rpm                                                                 2.8 MB/s | 1.4 MB     00:00
(4/14): grub2-pc-modules-2.02-90.0.1.el8.noarch.rpm                                                            1.4 MB/s | 869 kB     00:00
(5/14): grubby-8.40-41.0.1.el8.x86_64.rpm                                                                      1.2 MB/s |  50 kB     00:00
(6/14): grub2-tools-extra-2.02-90.0.1.el8.x86_64.rpm                                                           1.3 MB/s | 1.1 MB     00:00
(7/14): tuned-2.14.0-3.0.1.el8.noarch.rpm                                                                      768 kB/s | 294 kB     00:00
(8/14): grub2-efi-x64-2.02-90.0.1.el8.x86_64.rpm                                                               775 kB/s | 409 kB     00:00
(9/14): grub2-common-2.02-90.0.1.el8.noarch.rpm                                                                922 kB/s | 885 kB     00:00
(10/14): grub2-tools-2.02-90.0.1.el8.x86_64.rpm                                                                805 kB/s | 2.0 MB     00:02
(11/14): grub2-tools-minimal-2.02-90.0.1.el8.x86_64.rpm                                                        522 kB/s | 205 kB     00:00
(12/14): plymouth-0.9.4-7.20200615git1e36e30.0.1.el8.x86_64.rpm                                                613 kB/s | 127 kB     00:00
(13/14): linux-firmware-20200902-999.5.gitd5f9eea5.el8.noarch.rpm                                              7.1 MB/s | 122 MB     00:17
(14/14): kernel-uek-5.4.17-2036.101.2.el8uek.x86_64.rpm                                                        3.0 MB/s |  61 MB     00:20
-----------------------------------------------------------------------------------------------------------------------------------------------
合計                                                                                                           9.4 MB/s | 191 MB     00:20
警告: /var/cache/dnf/ol8_baseos_latest-e4c6155830ad002c/packages/oracle-logos-80.5-1.0.6.el8.x86_64.rpm: ヘッダー V3 RSA/SHA256 Signature、鍵 ID ad986da3: NOKEY
Oracle Linux 8 BaseOS Latest (x86_64)                                                                          3.0 MB/s | 3.1 kB     00:00
GPG 鍵 0xAD986DA3 をインポート中:
 Userid     : "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>"
 Fingerprint: 76FD 3DB1 3AB6 7410 B89D B10E 8256 2EA9 AD98 6DA3
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
鍵のインポートに成功しました
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                                                                                       1/1
  scriptletの実行中: grub2-common-1:2.02-90.0.1.el8.noarch                                                                                 1/1
  アップグレード   : grub2-common-1:2.02-90.0.1.el8.noarch                                                                                1/25
<略>
  検証             : python3-syspurpose-1.27.16-1.el8.x86_64                                                                             25/25

アップグレード済み:
  grub2-common-1:2.02-90.0.1.el8.noarch                                     grub2-efi-x64-1:2.02-90.0.1.el8.x86_64
  grub2-tools-1:2.02-90.0.1.el8.x86_64                                      grub2-tools-extra-1:2.02-90.0.1.el8.x86_64
  grub2-tools-minimal-1:2.02-90.0.1.el8.x86_64                              grubby-8.40-41.0.1.el8.x86_64
  linux-firmware-999:20200902-999.5.gitd5f9eea5.el8.noarch                  plymouth-0.9.4-7.20200615git1e36e30.0.1.el8.x86_64
  tuned-2.14.0-3.0.1.el8.noarch

インストール済み:
  grub2-pc-1:2.02-90.0.1.el8.x86_64               grub2-pc-modules-1:2.02-90.0.1.el8.noarch      grub2-tools-efi-1:2.02-90.0.1.el8.x86_64
  kernel-uek-5.4.17-2036.101.2.el8uek.x86_64      oracle-logos-80.5-1.0.6.el8.x86_64

削除しました:
  centos-linux-release-8.3-1.2011.el8.noarch                              python3-syspurpose-1.27.16-1.el8.x86_64

完了しました!
メタデータの期限切れの最終確認: 0:02:01 時間前の 2020年12月16日 09時25分19秒 に実施しました。
> シェルを終了します
ダウンロード済みのパッケージは、次の正常なトランザクションまでキャッシュに保存されました。
'yum clean packages' を実行することでキャッシュパッケージを削除できます。
Updating initrd...

CentOS8由来のパッケージをOracle Linuxのものに置き換えるdistro-syncを実行

Switch successful. Syncing with Oracle Linux repositories.
メタデータの期限切れの最終確認: 0:02:45 時間前の 2020年12月16日 09時25分19秒 に実施しました。
依存関係が解決しました。
===============================================================================================================================================
 パッケージ                               アーキテクチャー  バージョン                                      リポジトリー                 サイズ
===============================================================================================================================================
アップグレード:
 NetworkManager                           x86_64            1:1.26.0-9.0.2.el8_3                            ol8_baseos_latest            2.4 M
 NetworkManager-libnm                     x86_64            1:1.26.0-9.0.2.el8_3                            ol8_baseos_latest            1.8 M
 NetworkManager-team                      x86_64            1:1.26.0-9.0.2.el8_3                            ol8_baseos_latest            142 k
 NetworkManager-tui                       x86_64            1:1.26.0-9.0.2.el8_3                            ol8_baseos_latest            320 k
 chrony                                   x86_64            3.5-1.0.1.el8                                   ol8_baseos_latest            271 k
 coreutils                                x86_64            8.30-8.0.1.el8                                  ol8_baseos_latest            1.2 M
 coreutils-common                         x86_64            8.30-8.0.1.el8                                  ol8_baseos_latest            2.0 M
 dbus                                     x86_64            1:1.12.8-11.0.1.el8                             ol8_baseos_latest             41 k
 dbus-common                              noarch            1:1.12.8-11.0.1.el8                             ol8_baseos_latest             45 k
 dbus-daemon                              x86_64            1:1.12.8-11.0.1.el8                             ol8_baseos_latest            240 k
 dbus-libs                                x86_64            1:1.12.8-11.0.1.el8                             ol8_baseos_latest            183 k
 dbus-tools                               x86_64            1:1.12.8-11.0.1.el8                             ol8_baseos_latest             85 k
 dbxtool                                  x86_64            8-5.0.1.el8                                     ol8_baseos_latest             41 k
 dracut                                   x86_64            049-95.git20200804.0.2.el8                      ol8_baseos_latest            369 k
 dracut-config-rescue                     x86_64            049-95.git20200804.0.2.el8                      ol8_baseos_latest             57 k
 dracut-network                           x86_64            049-95.git20200804.0.2.el8                      ol8_baseos_latest            105 k
 dracut-squash                            x86_64            049-95.git20200804.0.2.el8                      ol8_baseos_latest             58 k
 efi-filesystem                           noarch            3-2.0.2.el8                                     ol8_baseos_latest            9.0 k
 efibootmgr                               x86_64            16-1.0.1.el8                                    ol8_baseos_latest             47 k
 firewalld                                noarch            0.8.2-2.0.1.el8                                 ol8_baseos_latest            487 k
 firewalld-filesystem                     noarch            0.8.2-2.0.1.el8                                 ol8_baseos_latest             76 k
 fuse                                     x86_64            2.9.7-12.0.2.el8                                ol8_baseos_latest             84 k
 fuse-common                              x86_64            3.2.1-12.0.2.el8                                ol8_baseos_latest             22 k
 fuse-libs                                x86_64            2.9.7-12.0.2.el8                                ol8_baseos_latest            104 k
 glibc                                    x86_64            2.28-127.0.1.el8                                ol8_baseos_latest            3.6 M
 glibc-common                             x86_64            2.28-127.0.1.el8                                ol8_baseos_latest            1.3 M
 glibc-langpack-ja                        x86_64            2.28-127.0.1.el8                                ol8_baseos_latest            330 k
 iproute                                  x86_64            5.4.0-1.0.1.el8                                 ol8_UEKR6                    665 k
 iptables                                 x86_64            1.8.4-15.0.1.el8                                ol8_baseos_latest            583 k
 iptables-ebtables                        x86_64            1.8.4-15.0.1.el8                                ol8_baseos_latest             71 k
 iptables-libs                            x86_64            1.8.4-15.0.1.el8                                ol8_baseos_latest            106 k
 iwl100-firmware                          noarch            999:39.31.5.1-999.5.el8                         ol8_baseos_latest            151 k
 iwl1000-firmware                         noarch            999:39.31.5.1-999.5.el8                         ol8_baseos_latest            215 k
 iwl105-firmware                          noarch            999:18.168.6.1-999.5.el8                        ol8_baseos_latest            236 k
 iwl135-firmware                          noarch            999:18.168.6.1-999.5.el8                        ol8_baseos_latest            245 k
 iwl2000-firmware                         noarch            999:18.168.6.1-999.5.el8                        ol8_baseos_latest            238 k
 iwl2030-firmware                         noarch            999:18.168.6.1-999.5.el8                        ol8_baseos_latest            247 k
 iwl3160-firmware                         noarch            999:25.30.13.0-999.5.el8                        ol8_baseos_latest            1.6 M
 iwl5000-firmware                         noarch            999:8.83.5.1_1-999.5.el8                        ol8_baseos_latest            295 k
 iwl5150-firmware                         noarch            999:8.24.2.2-999.5.el8                          ol8_baseos_latest            148 k
 iwl6000-firmware                         noarch            999:9.221.4.1-999.5.el8                         ol8_baseos_latest            168 k
 iwl6000g2a-firmware                      noarch            999:18.168.6.1-999.5.el8                        ol8_baseos_latest            311 k
 iwl6050-firmware                         noarch            999:41.28.5.1-999.5.el8                         ol8_baseos_latest            244 k
 iwl7260-firmware                         noarch            999:25.30.13.0-999.5.el8                        ol8_baseos_latest             15 M
 kexec-tools                              x86_64            2.0.20-34.0.2.el8                               ol8_baseos_latest            498 k
 kmod                                     x86_64            25-16.0.1.el8                                   ol8_baseos_latest            128 k
 kmod-libs                                x86_64            25-16.0.1.el8                                   ol8_baseos_latest             70 k
 libdnf                                   x86_64            0.48.0-5.0.2.el8                                ol8_baseos_latest            650 k
 libgcc                                   x86_64            8.3.1-5.1.0.1.el8                               ol8_baseos_latest             85 k
 libgomp                                  x86_64            8.3.1-5.1.0.1.el8                               ol8_baseos_latest            211 k
 libkcapi                                 x86_64            1.2.0-2.0.1.el8                                 ol8_baseos_latest             48 k
 libkcapi-hmaccalc                        x86_64            1.2.0-2.0.1.el8                                 ol8_baseos_latest             31 k
 libreport-filesystem                     x86_64            2.9.5-15.0.1.el8                                ol8_baseos_latest             22 k
 libsss_autofs                            x86_64            2.3.0-9.0.1.el8                                 ol8_baseos_latest            108 k
 libsss_certmap                           x86_64            2.3.0-9.0.1.el8                                 ol8_baseos_latest            141 k
 libsss_idmap                             x86_64            2.3.0-9.0.1.el8                                 ol8_baseos_latest            111 k
 libsss_nss_idmap                         x86_64            2.3.0-9.0.1.el8                                 ol8_baseos_latest            118 k
 libsss_sudo                              x86_64            2.3.0-9.0.1.el8                                 ol8_baseos_latest            107 k
 libstdc++                                x86_64            8.3.1-5.1.0.1.el8                               ol8_baseos_latest            458 k
 libxml2                                  x86_64            2.9.7-8.0.1.el8                                 ol8_baseos_latest            696 k
 libxslt                                  x86_64            1.1.32-5.0.1.el8                                ol8_baseos_latest            250 k
 libzstd                                  x86_64            1.4.4-1.0.1.el8                                 ol8_baseos_latest            266 k
 microcode_ctl                            x86_64            4:20200609-2.20201027.1.0.1.el8_3               ol8_baseos_latest            4.5 M
 mozjs60                                  x86_64            60.9.0-4.0.1.el8                                ol8_baseos_latest            6.6 M
 open-vm-tools                            x86_64            11.1.0-2.0.1.el8                                ol8_appstream                716 k
 os-prober                                x86_64            1.74-6.0.1.el8                                  ol8_baseos_latest             51 k
 parted                                   x86_64            3.2-38.0.1.el8                                  ol8_baseos_latest            556 k
 platform-python                          x86_64            3.6.8-31.0.1.el8                                ol8_baseos_latest             83 k
 plymouth-core-libs                       x86_64            0.9.4-7.20200615git1e36e30.0.1.el8              ol8_appstream                122 k
 plymouth-scripts                         x86_64            0.9.4-7.20200615git1e36e30.0.1.el8              ol8_appstream                 44 k
 policycoreutils                          x86_64            2.9-9.0.1.el8                                   ol8_baseos_latest            377 k
 polkit                                   x86_64            0.115-11.0.1.el8                                ol8_baseos_latest            154 k
 polkit-libs                              x86_64            0.115-11.0.1.el8                                ol8_baseos_latest             76 k
 python3-firewall                         noarch            0.8.2-2.0.1.el8                                 ol8_baseos_latest            392 k
 python3-hawkey                           x86_64            0.48.0-5.0.2.el8                                ol8_baseos_latest            112 k
 python3-libdnf                           x86_64            0.48.0-5.0.2.el8                                ol8_baseos_latest            757 k
 python3-libs                             x86_64            3.6.8-31.0.1.el8                                ol8_baseos_latest            7.8 M
 python3-libxml2                          x86_64            2.9.7-8.0.1.el8                                 ol8_baseos_latest            237 k
 selinux-policy                           noarch            3.14.3-54.0.1.el8                               ol8_baseos_latest            623 k
 selinux-policy-targeted                  noarch            3.14.3-54.0.1.el8                               ol8_baseos_latest             15 M
 sssd-client                              x86_64            2.3.0-9.0.1.el8                                 ol8_baseos_latest            171 k
 sssd-common                              x86_64            2.3.0-9.0.1.el8                                 ol8_baseos_latest            1.5 M
 sssd-kcm                                 x86_64            2.3.0-9.0.1.el8                                 ol8_baseos_latest            224 k
 sssd-nfs-idmap                           x86_64            2.3.0-9.0.1.el8                                 ol8_baseos_latest            105 k
 systemd                                  x86_64            239-41.0.1.el8_3                                ol8_baseos_latest            3.6 M
 systemd-libs                             x86_64            239-41.0.1.el8_3                                ol8_baseos_latest            1.1 M
 systemd-pam                              x86_64            239-41.0.1.el8_3                                ol8_baseos_latest            457 k
 systemd-udev                             x86_64            239-41.0.1.el8_3                                ol8_baseos_latest            1.3 M
 vim-minimal                              x86_64            2:8.0.1763-15.0.1.el8                           ol8_baseos_latest            572 k
 xfsprogs                                 x86_64            5.4.0-1.0.1.el8                                 ol8_UEKR6                    1.1 M
再インストール:
 acl                                      x86_64            2.2.53-1.el8                                    ol8_baseos_latest             81 k
 audit                                    x86_64            3.0-0.17.20191104git1c2f876.el8                 ol8_baseos_latest            254 k
 audit-libs                               x86_64            3.0-0.17.20191104git1c2f876.el8                 ol8_baseos_latest            116 k
 authselect                               x86_64            1.2.1-2.el8                                     ol8_baseos_latest            115 k
 authselect-libs                          x86_64            1.2.1-2.el8                                     ol8_baseos_latest            211 k
 basesystem                               noarch            11-5.el8                                        ol8_baseos_latest             10 k
 bash                                     x86_64            4.4.19-12.el8                                   ol8_baseos_latest            1.5 M
 bind-export-libs                         x86_64            32:9.11.20-5.el8                                ol8_baseos_latest            1.1 M
 biosdevname                              x86_64            0.7.3-2.el8                                     ol8_baseos_latest             44 k
 brotli                                   x86_64            1.0.6-2.el8                                     ol8_baseos_latest            322 k
 bzip2-libs                               x86_64            1.0.6-26.el8                                    ol8_baseos_latest             48 k
 c-ares                                   x86_64            1.13.0-5.el8                                    ol8_baseos_latest             93 k
 ca-certificates                          noarch            2020.2.41-80.0.el8_2                            ol8_baseos_latest            391 k
 chkconfig                                x86_64            1.13-2.el8                                      ol8_baseos_latest            194 k
 cpio                                     x86_64            2.12-8.el8                                      ol8_baseos_latest            265 k
 cracklib                                 x86_64            2.9.6-15.el8                                    ol8_baseos_latest             93 k
 cracklib-dicts                           x86_64            2.9.6-15.el8                                    ol8_baseos_latest            4.0 M
 cronie                                   x86_64            1.5.2-4.el8                                     ol8_baseos_latest            119 k
 cronie-anacron                           x86_64            1.5.2-4.el8                                     ol8_baseos_latest             42 k
 crontabs                                 noarch            1.11-16.20150630git.el8                         ol8_baseos_latest             25 k
 crypto-policies                          noarch            20200713-1.git51d1222.el8                       ol8_baseos_latest             62 k
 crypto-policies-scripts                  noarch            20200713-1.git51d1222.el8                       ol8_baseos_latest             67 k
 cryptsetup-libs                          x86_64            2.3.3-2.el8                                     ol8_baseos_latest            470 k
 curl                                     x86_64            7.61.1-14.el8                                   ol8_baseos_latest            353 k
 cyrus-sasl-lib                           x86_64            2.1.27-5.el8                                    ol8_baseos_latest            123 k
 dbus-glib                                x86_64            0.110-2.el8                                     ol8_baseos_latest            127 k
 device-mapper                            x86_64            8:1.02.171-5.el8                                ol8_baseos_latest            373 k
 device-mapper-event                      x86_64            8:1.02.171-5.el8                                ol8_baseos_latest            268 k
 device-mapper-event-libs                 x86_64            8:1.02.171-5.el8                                ol8_baseos_latest            267 k
 device-mapper-libs                       x86_64            8:1.02.171-5.el8                                ol8_baseos_latest            406 k
 device-mapper-persistent-data            x86_64            0.8.5-4.el8                                     ol8_baseos_latest            468 k
 dhcp-client                              x86_64            12:4.3.6-41.el8                                 ol8_baseos_latest            318 k
 dhcp-common                              noarch            12:4.3.6-41.el8                                 ol8_baseos_latest            207 k
 dhcp-libs                                x86_64            12:4.3.6-41.el8                                 ol8_baseos_latest            147 k
 diffutils                                x86_64            3.6-6.el8                                       ol8_baseos_latest            361 k
 dmidecode                                x86_64            1:3.2-6.el8                                     ol8_baseos_latest             91 k
 dnf                                      noarch            4.2.23-4.el8                                    ol8_baseos_latest            513 k
 dnf-data                                 noarch            4.2.23-4.el8                                    ol8_baseos_latest            149 k
 dnf-plugins-core                         noarch            4.0.17-5.el8                                    ol8_baseos_latest             66 k
 dosfstools                               x86_64            4.1-6.el8                                       ol8_baseos_latest            122 k
 e2fsprogs                                x86_64            1.45.6-1.el8                                    ol8_baseos_latest            1.0 M
 e2fsprogs-libs                           x86_64            1.45.6-1.el8                                    ol8_baseos_latest            233 k
 efivar                                   x86_64            37-4.el8                                        ol8_baseos_latest             36 k
 efivar-libs                              x86_64            37-4.el8                                        ol8_baseos_latest            108 k
 elfutils-debuginfod-client               x86_64            0.180-1.el8                                     ol8_baseos_latest             64 k
 elfutils-default-yama-scope              noarch            0.180-1.el8                                     ol8_baseos_latest             49 k
 elfutils-libelf                          x86_64            0.180-1.el8                                     ol8_baseos_latest            214 k
 elfutils-libs                            x86_64            0.180-1.el8                                     ol8_baseos_latest            293 k
 ethtool                                  x86_64            2:5.0-2.el8                                     ol8_baseos_latest            151 k
 expat                                    x86_64            2.2.5-4.el8                                     ol8_baseos_latest            111 k
 file                                     x86_64            5.33-16.el8                                     ol8_baseos_latest             76 k
 file-libs                                x86_64            5.33-16.el8                                     ol8_baseos_latest            542 k
 filesystem                               x86_64            3.8-3.el8                                       ol8_baseos_latest            1.1 M
 findutils                                x86_64            1:4.6.0-20.el8                                  ol8_baseos_latest            528 k
 freetype                                 x86_64            2.9.1-4.el8_3.1                                 ol8_baseos_latest            394 k
 gawk                                     x86_64            4.2.1-1.el8                                     ol8_baseos_latest            1.1 M
 gdbm                                     x86_64            1:1.18-1.el8                                    ol8_baseos_latest            130 k
 gdbm-libs                                x86_64            1:1.18-1.el8                                    ol8_baseos_latest             60 k
 geolite2-city                            noarch            20180605-1.el8                                  ol8_appstream                 19 M
 geolite2-country                         noarch            20180605-1.el8                                  ol8_appstream                1.0 M
 gettext                                  x86_64            0.19.8.1-17.el8                                 ol8_baseos_latest            1.1 M
 gettext-libs                             x86_64            0.19.8.1-17.el8                                 ol8_baseos_latest            312 k
 glib2                                    x86_64            2.56.4-8.el8                                    ol8_baseos_latest            2.5 M
 gmp                                      x86_64            1:6.1.2-10.el8                                  ol8_baseos_latest            321 k
 gnupg2                                   x86_64            2.2.20-2.el8                                    ol8_baseos_latest            2.4 M
 gnupg2-smime                             x86_64            2.2.20-2.el8                                    ol8_baseos_latest            283 k
 gnutls                                   x86_64            3.6.14-6.el8                                    ol8_baseos_latest            1.0 M
 gobject-introspection                    x86_64            1.56.1-1.el8                                    ol8_baseos_latest            255 k
 gpgme                                    x86_64            1.13.1-3.el8                                    ol8_baseos_latest            335 k
 grep                                     x86_64            3.1-6.el8                                       ol8_baseos_latest            274 k
 groff-base                               x86_64            1.22.3-18.el8                                   ol8_baseos_latest            1.0 M
 gzip                                     x86_64            1.9-9.el8                                       ol8_baseos_latest            167 k
 hardlink                                 x86_64            1:1.3-6.el8                                     ol8_baseos_latest             29 k
 hdparm                                   x86_64            9.54-2.el8                                      ol8_baseos_latest            100 k
 hostname                                 x86_64            3.20-6.el8                                      ol8_baseos_latest             32 k
 hwdata                                   noarch            0.314-8.6.el8                                   ol8_baseos_latest            1.6 M
 ima-evm-utils                            x86_64            1.1-5.el8                                       ol8_baseos_latest             55 k
 info                                     x86_64            6.5-6.el8                                       ol8_baseos_latest            198 k
 initscripts                              x86_64            10.00.9-1.el8                                   ol8_baseos_latest            338 k
 ipcalc                                   x86_64            0.2.4-4.el8                                     ol8_baseos_latest             38 k
 iprutils                                 x86_64            2.4.19-1.el8                                    ol8_baseos_latest            255 k
 ipset                                    x86_64            7.1-1.el8                                       ol8_baseos_latest             45 k
 ipset-libs                               x86_64            7.1-1.el8                                       ol8_baseos_latest             71 k
 iputils                                  x86_64            20180629-2.el8                                  ol8_baseos_latest            149 k
 irqbalance                               x86_64            2:1.4.0-4.el8                                   ol8_baseos_latest             55 k
 jansson                                  x86_64            2.11-3.el8                                      ol8_baseos_latest             46 k
 json-c                                   x86_64            0.13.1-0.2.el8                                  ol8_baseos_latest             40 k
 kbd                                      x86_64            2.0.4-10.el8                                    ol8_baseos_latest            390 k
 kbd-legacy                               noarch            2.0.4-10.el8                                    ol8_baseos_latest            481 k
 kbd-misc                                 noarch            2.0.4-10.el8                                    ol8_baseos_latest            1.5 M
 kernel                                   x86_64            4.18.0-240.1.1.el8_3                            ol8_baseos_latest            4.3 M
 kernel-core                              x86_64            4.18.0-240.1.1.el8_3                            ol8_baseos_latest             30 M
 kernel-modules                           x86_64            4.18.0-240.1.1.el8_3                            ol8_baseos_latest             26 M
 kernel-tools                             x86_64            4.18.0-240.1.1.el8_3                            ol8_baseos_latest            4.5 M
 kernel-tools-libs                        x86_64            4.18.0-240.1.1.el8_3                            ol8_baseos_latest            4.3 M
 keyutils-libs                            x86_64            1.5.10-6.el8                                    ol8_baseos_latest             34 k
 kpartx                                   x86_64            0.8.4-5.el8                                     ol8_baseos_latest            108 k
 krb5-libs                                x86_64            1.18.2-5.el8                                    ol8_baseos_latest            837 k
 langpacks-ja                             noarch            1.0-12.el8                                      ol8_appstream                9.5 k
 less                                     x86_64            530-1.el8                                       ol8_baseos_latest            164 k
 libacl                                   x86_64            2.2.53-1.el8                                    ol8_baseos_latest             35 k
 libaio                                   x86_64            0.3.112-1.el8                                   ol8_baseos_latest             33 k
 libarchive                               x86_64            3.3.2-9.el8                                     ol8_baseos_latest            358 k
 libassuan                                x86_64            2.5.1-3.el8                                     ol8_baseos_latest             83 k
 libattr                                  x86_64            2.4.48-3.el8                                    ol8_baseos_latest             27 k
 libbasicobjects                          x86_64            0.1.1-39.el8                                    ol8_baseos_latest             31 k
 libblkid                                 x86_64            2.32.1-24.el8                                   ol8_baseos_latest            216 k
 libcap                                   x86_64            2.26-4.el8                                      ol8_baseos_latest             60 k
 libcap-ng                                x86_64            0.7.9-5.el8                                     ol8_baseos_latest             33 k
 libcollection                            x86_64            0.7.0-39.el8                                    ol8_baseos_latest             48 k
 libcom_err                               x86_64            1.45.6-1.el8                                    ol8_baseos_latest             49 k
 libcomps                                 x86_64            0.1.11-4.el8                                    ol8_baseos_latest             81 k
 libcroco                                 x86_64            0.6.12-4.el8_2.1                                ol8_baseos_latest            113 k
 libcurl                                  x86_64            7.61.1-14.el8                                   ol8_baseos_latest            298 k
 libdaemon                                x86_64            0.14-15.el8                                     ol8_baseos_latest             36 k
 libdb                                    x86_64            5.3.28-39.el8                                   ol8_baseos_latest            750 k
 libdb-utils                              x86_64            5.3.28-39.el8                                   ol8_baseos_latest            149 k
 libdhash                                 x86_64            0.5.0-39.el8                                    ol8_baseos_latest             34 k
 libdrm                                   x86_64            2.4.101-1.el8                                   ol8_appstream                165 k
 libedit                                  x86_64            3.1-23.20170329cvs.el8                          ol8_baseos_latest            102 k
 libestr                                  x86_64            0.1.10-1.el8                                    ol8_appstream                 27 k
 libevent                                 x86_64            2.1.8-5.el8                                     ol8_baseos_latest            253 k
 libfastjson                              x86_64            0.99.8-2.el8                                    ol8_appstream                 37 k
 libfdisk                                 x86_64            2.32.1-24.el8                                   ol8_baseos_latest            249 k
 libffi                                   x86_64            3.1-22.el8                                      ol8_baseos_latest             37 k
 libgcrypt                                x86_64            1.8.5-4.el8                                     ol8_baseos_latest            462 k
 libgpg-error                             x86_64            1.31-1.el8                                      ol8_baseos_latest            242 k
 libidn2                                  x86_64            2.2.0-1.el8                                     ol8_baseos_latest             94 k
 libini_config                            x86_64            1.3.1-39.el8                                    ol8_baseos_latest             70 k
 libksba                                  x86_64            1.3.5-7.el8                                     ol8_baseos_latest            135 k
 libldb                                   x86_64            2.1.3-2.el8                                     ol8_baseos_latest            178 k
 libmaxminddb                             x86_64            1.2.0-10.el8                                    ol8_appstream                 33 k
 libmetalink                              x86_64            0.1.3-7.el8                                     ol8_baseos_latest             32 k
 libmnl                                   x86_64            1.0.4-6.el8                                     ol8_baseos_latest             30 k
 libmodulemd                              x86_64            2.9.4-2.el8                                     ol8_baseos_latest            189 k
 libmount                                 x86_64            2.32.1-24.el8                                   ol8_baseos_latest            232 k
 libmspack                                x86_64            0.7-0.3.alpha.el8.4                             ol8_appstream                 71 k
 libndp                                   x86_64            1.7-3.el8                                       ol8_baseos_latest             41 k
 libnetfilter_conntrack                   x86_64            1.0.6-5.el8                                     ol8_baseos_latest             65 k
 libnfnetlink                             x86_64            1.0.1-13.el8                                    ol8_baseos_latest             33 k
 libnfsidmap                              x86_64            1:2.3.3-35.el8                                  ol8_baseos_latest            119 k
 libnftnl                                 x86_64            1.1.5-4.el8                                     ol8_baseos_latest             83 k
 libnghttp2                               x86_64            1.33.0-3.el8_2.1                                ol8_baseos_latest             77 k
 libnl3                                   x86_64            3.5.0-1.el8                                     ol8_baseos_latest            323 k
 libnl3-cli                               x86_64            3.5.0-1.el8                                     ol8_baseos_latest            197 k
 libnsl2                                  x86_64            1.2.0-2.20180605git4a062cf.el8                  ol8_baseos_latest             58 k
 libpath_utils                            x86_64            0.2.1-39.el8                                    ol8_baseos_latest             34 k
 libpcap                                  x86_64            14:1.9.1-4.el8                                  ol8_baseos_latest            166 k
 libpciaccess                             x86_64            0.14-1.el8                                      ol8_baseos_latest             32 k
 libpipeline                              x86_64            1.5.0-2.el8                                     ol8_baseos_latest             54 k
 libpng                                   x86_64            2:1.6.34-5.el8                                  ol8_baseos_latest            126 k
 libpsl                                   x86_64            0.20.2-6.el8                                    ol8_baseos_latest             61 k
 libpwquality                             x86_64            1.4.0-9.el8                                     ol8_baseos_latest            102 k
 libref_array                             x86_64            0.1.5-39.el8                                    ol8_baseos_latest             33 k
 librepo                                  x86_64            1.12.0-2.el8                                    ol8_baseos_latest             90 k
 libseccomp                               x86_64            2.4.3-1.el8                                     ol8_baseos_latest             67 k
 libsecret                                x86_64            0.18.6-1.el8                                    ol8_baseos_latest            163 k
 libselinux                               x86_64            2.9-4.el8_3                                     ol8_baseos_latest            165 k
 libselinux-utils                         x86_64            2.9-4.el8_3                                     ol8_baseos_latest            243 k
 libsemanage                              x86_64            2.9-3.el8                                       ol8_baseos_latest            165 k
 libsepol                                 x86_64            2.9-1.el8                                       ol8_baseos_latest            339 k
 libsigsegv                               x86_64            2.11-5.el8                                      ol8_baseos_latest             30 k
 libsmartcols                             x86_64            2.32.1-24.el8                                   ol8_baseos_latest            175 k
 libsolv                                  x86_64            0.7.11-1.el8                                    ol8_baseos_latest            358 k
 libss                                    x86_64            1.45.6-1.el8                                    ol8_baseos_latest             53 k
 libssh                                   x86_64            0.9.4-2.el8                                     ol8_baseos_latest            215 k
 libssh-config                            noarch            0.9.4-2.el8                                     ol8_baseos_latest             18 k
 libsysfs                                 x86_64            2.1.0-24.el8                                    ol8_baseos_latest             53 k
 libtalloc                                x86_64            2.3.1-2.el8                                     ol8_baseos_latest             49 k
 libtasn1                                 x86_64            4.13-3.el8                                      ol8_baseos_latest             76 k
 libtdb                                   x86_64            1.4.3-1.el8                                     ol8_baseos_latest             59 k
 libteam                                  x86_64            1.31-2.el8                                      ol8_baseos_latest             64 k
 libtevent                                x86_64            0.10.2-2.el8                                    ol8_baseos_latest             49 k
 libtirpc                                 x86_64            1.1.4-4.el8                                     ol8_baseos_latest            112 k
 libtool-ltdl                             x86_64            2.4.6-25.el8                                    ol8_baseos_latest             58 k
 libunistring                             x86_64            0.9.9-3.el8                                     ol8_baseos_latest            422 k
 libusbx                                  x86_64            1.0.23-4.el8                                    ol8_baseos_latest             74 k
 libuser                                  x86_64            0.62-23.el8                                     ol8_baseos_latest            417 k
 libutempter                              x86_64            1.1.6-14.el8                                    ol8_baseos_latest             32 k
 libuuid                                  x86_64            2.32.1-24.el8                                   ol8_baseos_latest             95 k
 libverto                                 x86_64            0.3.0-5.el8                                     ol8_baseos_latest             24 k
 libxcrypt                                x86_64            4.1.1-4.el8                                     ol8_baseos_latest             73 k
 libxkbcommon                             x86_64            0.9.1-1.el8                                     ol8_appstream                116 k
 libyaml                                  x86_64            0.1.7-5.el8                                     ol8_baseos_latest             61 k
 logrotate                                x86_64            3.14.0-4.el8                                    ol8_baseos_latest             86 k
 lshw                                     x86_64            B.02.19.2-2.el8                                 ol8_baseos_latest            341 k
 lsscsi                                   x86_64            0.30-1.el8                                      ol8_baseos_latest             69 k
 lua-libs                                 x86_64            5.3.4-11.el8                                    ol8_baseos_latest            118 k
 lvm2                                     x86_64            8:2.03.09-5.el8                                 ol8_baseos_latest            1.6 M
 lvm2-libs                                x86_64            8:2.03.09-5.el8                                 ol8_baseos_latest            1.1 M
 lz4-libs                                 x86_64            1.8.3-2.el8                                     ol8_baseos_latest             66 k
 lzo                                      x86_64            2.08-14.el8                                     ol8_baseos_latest             69 k
 man-db                                   x86_64            2.7.6.1-17.el8                                  ol8_baseos_latest            887 k
 memstrack                                x86_64            0.1.11-1.el8                                    ol8_baseos_latest             48 k
 mokutil                                  x86_64            1:0.3.0-10.el8                                  ol8_baseos_latest             45 k
 mpfr                                     x86_64            3.1.6-1.el8                                     ol8_baseos_latest            221 k
 ncurses                                  x86_64            6.1-7.20180224.el8                              ol8_baseos_latest            387 k
 ncurses-base                             noarch            6.1-7.20180224.el8                              ol8_baseos_latest             81 k
 ncurses-libs                             x86_64            6.1-7.20180224.el8                              ol8_baseos_latest            335 k
 nettle                                   x86_64            3.4.1-2.el8                                     ol8_baseos_latest            300 k
 newt                                     x86_64            0.52.20-11.el8                                  ol8_baseos_latest            122 k
 nftables                                 x86_64            1:0.9.3-16.el8                                  ol8_baseos_latest            312 k
 npth                                     x86_64            1.5-4.el8                                       ol8_baseos_latest             26 k
 numactl-libs                             x86_64            2.0.12-11.el8                                   ol8_baseos_latest             36 k
 openldap                                 x86_64            2.4.46-15.el8                                   ol8_baseos_latest            351 k
 openssh                                  x86_64            8.0p1-5.el8                                     ol8_baseos_latest            521 k
 openssh-clients                          x86_64            8.0p1-5.el8                                     ol8_baseos_latest            666 k
 openssh-server                           x86_64            8.0p1-5.el8                                     ol8_baseos_latest            483 k
 openssl                                  x86_64            1:1.1.1g-11.el8                                 ol8_baseos_latest            706 k
 openssl-libs                             x86_64            1:1.1.1g-11.el8                                 ol8_baseos_latest            1.5 M
 openssl-pkcs11                           x86_64            0.4.10-2.el8                                    ol8_baseos_latest             66 k
 p11-kit                                  x86_64            0.23.14-5.el8_0                                 ol8_baseos_latest            272 k
 p11-kit-trust                            x86_64            0.23.14-5.el8_0                                 ol8_baseos_latest            139 k
 pam                                      x86_64            1.3.1-11.el8                                    ol8_baseos_latest            738 k
 passwd                                   x86_64            0.80-3.el8                                      ol8_baseos_latest            115 k
 pciutils                                 x86_64            3.6.4-2.el8                                     ol8_baseos_latest            102 k
 pciutils-libs                            x86_64            3.6.4-2.el8                                     ol8_baseos_latest             54 k
 pcre                                     x86_64            8.42-4.el8                                      ol8_baseos_latest            208 k
 pcre2                                    x86_64            10.32-2.el8                                     ol8_baseos_latest            246 k
 pigz                                     x86_64            2.4-4.el8                                       ol8_baseos_latest             80 k
 pinentry                                 x86_64            1.1.0-2.el8                                     ol8_appstream                100 k
 platform-python-pip                      noarch            9.0.3-18.el8                                    ol8_baseos_latest            1.7 M
 platform-python-setuptools               noarch            39.2.0-6.el8                                    ol8_baseos_latest            631 k
 polkit-pkla-compat                       x86_64            0.1-12.el8                                      ol8_baseos_latest             46 k
 popt                                     x86_64            1.16-14.el8                                     ol8_baseos_latest             61 k
 prefixdevname                            x86_64            0.1.0-6.el8                                     ol8_baseos_latest            427 k
 procps-ng                                x86_64            3.3.15-3.el8                                    ol8_baseos_latest            328 k
 publicsuffix-list-dafsa                  noarch            20180723-1.el8                                  ol8_baseos_latest             56 k
 python3-configobj                        noarch            5.0.6-11.el8                                    ol8_baseos_latest             68 k
 python3-dateutil                         noarch            1:2.6.1-6.el8                                   ol8_baseos_latest            251 k
 python3-dbus                             x86_64            1.2.4-15.el8                                    ol8_baseos_latest            134 k
 python3-decorator                        noarch            4.2.1-2.el8                                     ol8_baseos_latest             27 k
 python3-dmidecode                        x86_64            3.12.2-15.el8                                   ol8_baseos_latest             94 k
 python3-dnf                              noarch            4.2.23-4.el8                                    ol8_baseos_latest            526 k
 python3-dnf-plugins-core                 noarch            4.0.17-5.el8                                    ol8_baseos_latest            221 k
 python3-gobject-base                     x86_64            3.28.3-2.el8                                    ol8_baseos_latest            313 k
 python3-gpg                              x86_64            1.13.1-3.el8                                    ol8_baseos_latest            244 k
 python3-libcomps                         x86_64            0.1.11-4.el8                                    ol8_baseos_latest             52 k
 python3-libselinux                       x86_64            2.9-4.el8_3                                     ol8_baseos_latest            283 k
 python3-linux-procfs                     noarch            0.6.2-2.el8                                     ol8_baseos_latest             42 k
 python3-nftables                         x86_64            1:0.9.3-16.el8                                  ol8_baseos_latest             26 k
 python3-perf                             x86_64            4.18.0-240.1.1.el8_3                            ol8_baseos_latest            4.4 M
 python3-pip-wheel                        noarch            9.0.3-18.el8                                    ol8_baseos_latest            1.0 M
 python3-pyudev                           noarch            0.21.0-7.el8                                    ol8_baseos_latest             84 k
 python3-rpm                              x86_64            4.14.3-4.el8                                    ol8_baseos_latest            157 k
 python3-schedutils                       x86_64            0.6-6.el8                                       ol8_baseos_latest             29 k
 python3-setuptools-wheel                 noarch            39.2.0-6.el8                                    ol8_baseos_latest            287 k
 python3-six                              noarch            1.11.0-8.el8                                    ol8_baseos_latest             38 k
 python3-slip                             noarch            0.6.4-11.el8                                    ol8_baseos_latest             38 k
 python3-slip-dbus                        noarch            0.6.4-11.el8                                    ol8_baseos_latest             39 k
 python3-unbound                          x86_64            1.7.3-14.el8                                    ol8_appstream                118 k
 readline                                 x86_64            7.0-10.el8                                      ol8_baseos_latest            199 k
 rng-tools                                x86_64            6.8-3.el8                                       ol8_baseos_latest             59 k
 rootfiles                                noarch            8.1-22.el8                                      ol8_baseos_latest             13 k
 rpm                                      x86_64            4.14.3-4.el8                                    ol8_baseos_latest            541 k
 rpm-build-libs                           x86_64            4.14.3-4.el8                                    ol8_baseos_latest            154 k
 rpm-libs                                 x86_64            4.14.3-4.el8                                    ol8_baseos_latest            338 k
 rpm-plugin-selinux                       x86_64            4.14.3-4.el8                                    ol8_baseos_latest             75 k
 rpm-plugin-systemd-inhibit               x86_64            4.14.3-4.el8                                    ol8_baseos_latest             76 k
 rsyslog                                  x86_64            8.1911.0-6.el8                                  ol8_appstream                732 k
 sed                                      x86_64            4.5-2.el8                                       ol8_baseos_latest            298 k
 setup                                    noarch            2.12.2-6.el8                                    ol8_baseos_latest            181 k
 sg3_utils                                x86_64            1.44-5.el8                                      ol8_baseos_latest            917 k
 sg3_utils-libs                           x86_64            1.44-5.el8                                      ol8_baseos_latest             99 k
 shadow-utils                             x86_64            2:4.6-11.el8                                    ol8_baseos_latest            1.2 M
 shared-mime-info                         x86_64            1.9-3.el8                                       ol8_baseos_latest            328 k
 slang                                    x86_64            2.3.2-3.el8                                     ol8_baseos_latest            368 k
 snappy                                   x86_64            1.1.8-3.el8                                     ol8_baseos_latest             37 k
 sqlite-libs                              x86_64            3.26.0-11.el8                                   ol8_baseos_latest            580 k
 squashfs-tools                           x86_64            4.3-19.el8                                      ol8_baseos_latest            165 k
 sudo                                     x86_64            1.8.29-6.el8                                    ol8_baseos_latest            923 k
 tar                                      x86_64            2:1.30-5.el8                                    ol8_baseos_latest            838 k
 teamd                                    x86_64            1.31-2.el8                                      ol8_baseos_latest            130 k
 timedatex                                x86_64            0.5-3.el8                                       ol8_baseos_latest             32 k
 trousers                                 x86_64            0.3.14-4.el8                                    ol8_baseos_latest            153 k
 trousers-lib                             x86_64            0.3.14-4.el8                                    ol8_baseos_latest            168 k
 tzdata                                   noarch            2020d-1.el8                                     ol8_baseos_latest            471 k
 unbound-libs                             x86_64            1.7.3-14.el8                                    ol8_appstream                500 k
 util-linux                               x86_64            2.32.1-24.el8                                   ol8_baseos_latest            2.5 M
 virt-what                                x86_64            1.18-6.el8                                      ol8_baseos_latest             35 k
 which                                    x86_64            2.21-12.el8                                     ol8_baseos_latest             49 k
 xkeyboard-config                         noarch            2.28-1.el8                                      ol8_appstream                782 k
 xmlsec1                                  x86_64            1.2.25-4.el8                                    ol8_appstream                191 k
 xmlsec1-openssl                          x86_64            1.2.25-4.el8                                    ol8_appstream                 94 k
 xz                                       x86_64            5.2.4-3.el8                                     ol8_baseos_latest            153 k
 xz-libs                                  x86_64            5.2.4-3.el8                                     ol8_baseos_latest             94 k
 yum                                      noarch            4.2.23-4.el8                                    ol8_baseos_latest            192 k
 yum-utils                                noarch            4.0.17-5.el8                                    ol8_baseos_latest             68 k
 zlib                                     x86_64            1.2.11-16.el8_2                                 ol8_baseos_latest            102 k
ダウングレード:
 shim-x64                                 x86_64            15-11.0.5                                       ol8_baseos_latest            656 k

トランザクションの概要
===============================================================================================================================================
アップグレード  90 パッケージ
ダウングレード   1 パッケージ

ダウンロードサイズの合計: 262 M
パッケージのダウンロード:
(1/380): acl-2.2.53-1.el8.x86_64.rpm                                                                           646 kB/s |  81 kB     00:00
<略>
  検証             : xfsprogs-5.0.0-4.el8.x86_64                                                                                       760/760

アップグレード済み:
  NetworkManager-1:1.26.0-9.0.2.el8_3.x86_64                              NetworkManager-libnm-1:1.26.0-9.0.2.el8_3.x86_64
  NetworkManager-team-1:1.26.0-9.0.2.el8_3.x86_64                         NetworkManager-tui-1:1.26.0-9.0.2.el8_3.x86_64
  chrony-3.5-1.0.1.el8.x86_64                                             coreutils-8.30-8.0.1.el8.x86_64
  coreutils-common-8.30-8.0.1.el8.x86_64                                  dbus-1:1.12.8-11.0.1.el8.x86_64
  dbus-common-1:1.12.8-11.0.1.el8.noarch                                  dbus-daemon-1:1.12.8-11.0.1.el8.x86_64
  dbus-libs-1:1.12.8-11.0.1.el8.x86_64                                    dbus-tools-1:1.12.8-11.0.1.el8.x86_64
  dbxtool-8-5.0.1.el8.x86_64                                              dracut-049-95.git20200804.0.2.el8.x86_64
  dracut-config-rescue-049-95.git20200804.0.2.el8.x86_64                  dracut-network-049-95.git20200804.0.2.el8.x86_64
  dracut-squash-049-95.git20200804.0.2.el8.x86_64                         efi-filesystem-3-2.0.2.el8.noarch
  efibootmgr-16-1.0.1.el8.x86_64                                          firewalld-0.8.2-2.0.1.el8.noarch
  firewalld-filesystem-0.8.2-2.0.1.el8.noarch                             fuse-2.9.7-12.0.2.el8.x86_64
  fuse-common-3.2.1-12.0.2.el8.x86_64                                     fuse-libs-2.9.7-12.0.2.el8.x86_64
  glibc-2.28-127.0.1.el8.x86_64                                           glibc-common-2.28-127.0.1.el8.x86_64
  glibc-langpack-ja-2.28-127.0.1.el8.x86_64                               iproute-5.4.0-1.0.1.el8.x86_64
  iptables-1.8.4-15.0.1.el8.x86_64                                        iptables-ebtables-1.8.4-15.0.1.el8.x86_64
  iptables-libs-1.8.4-15.0.1.el8.x86_64                                   iwl100-firmware-999:39.31.5.1-999.5.el8.noarch
  iwl1000-firmware-999:39.31.5.1-999.5.el8.noarch                         iwl105-firmware-999:18.168.6.1-999.5.el8.noarch
  iwl135-firmware-999:18.168.6.1-999.5.el8.noarch                         iwl2000-firmware-999:18.168.6.1-999.5.el8.noarch
  iwl2030-firmware-999:18.168.6.1-999.5.el8.noarch                        iwl3160-firmware-999:25.30.13.0-999.5.el8.noarch
  iwl5000-firmware-999:8.83.5.1_1-999.5.el8.noarch                        iwl5150-firmware-999:8.24.2.2-999.5.el8.noarch
  iwl6000-firmware-999:9.221.4.1-999.5.el8.noarch                         iwl6000g2a-firmware-999:18.168.6.1-999.5.el8.noarch
  iwl6050-firmware-999:41.28.5.1-999.5.el8.noarch                         iwl7260-firmware-999:25.30.13.0-999.5.el8.noarch
  kexec-tools-2.0.20-34.0.2.el8.x86_64                                    kmod-25-16.0.1.el8.x86_64
  kmod-libs-25-16.0.1.el8.x86_64                                          libdnf-0.48.0-5.0.2.el8.x86_64
  libgcc-8.3.1-5.1.0.1.el8.x86_64                                         libgomp-8.3.1-5.1.0.1.el8.x86_64
  libkcapi-1.2.0-2.0.1.el8.x86_64                                         libkcapi-hmaccalc-1.2.0-2.0.1.el8.x86_64
  libreport-filesystem-2.9.5-15.0.1.el8.x86_64                            libsss_autofs-2.3.0-9.0.1.el8.x86_64
  libsss_certmap-2.3.0-9.0.1.el8.x86_64                                   libsss_idmap-2.3.0-9.0.1.el8.x86_64
  libsss_nss_idmap-2.3.0-9.0.1.el8.x86_64                                 libsss_sudo-2.3.0-9.0.1.el8.x86_64
  libstdc++-8.3.1-5.1.0.1.el8.x86_64                                      libxml2-2.9.7-8.0.1.el8.x86_64
  libxslt-1.1.32-5.0.1.el8.x86_64                                         libzstd-1.4.4-1.0.1.el8.x86_64
  microcode_ctl-4:20200609-2.20201027.1.0.1.el8_3.x86_64                  mozjs60-60.9.0-4.0.1.el8.x86_64
  open-vm-tools-11.1.0-2.0.1.el8.x86_64                                   os-prober-1.74-6.0.1.el8.x86_64
  parted-3.2-38.0.1.el8.x86_64                                            platform-python-3.6.8-31.0.1.el8.x86_64
  plymouth-core-libs-0.9.4-7.20200615git1e36e30.0.1.el8.x86_64            plymouth-scripts-0.9.4-7.20200615git1e36e30.0.1.el8.x86_64
  policycoreutils-2.9-9.0.1.el8.x86_64                                    polkit-0.115-11.0.1.el8.x86_64
  polkit-libs-0.115-11.0.1.el8.x86_64                                     python3-firewall-0.8.2-2.0.1.el8.noarch
  python3-hawkey-0.48.0-5.0.2.el8.x86_64                                  python3-libdnf-0.48.0-5.0.2.el8.x86_64
  python3-libs-3.6.8-31.0.1.el8.x86_64                                    python3-libxml2-2.9.7-8.0.1.el8.x86_64
  selinux-policy-3.14.3-54.0.1.el8.noarch                                 selinux-policy-targeted-3.14.3-54.0.1.el8.noarch
  sssd-client-2.3.0-9.0.1.el8.x86_64                                      sssd-common-2.3.0-9.0.1.el8.x86_64
  sssd-kcm-2.3.0-9.0.1.el8.x86_64                                         sssd-nfs-idmap-2.3.0-9.0.1.el8.x86_64
  systemd-239-41.0.1.el8_3.x86_64                                         systemd-libs-239-41.0.1.el8_3.x86_64
  systemd-pam-239-41.0.1.el8_3.x86_64                                     systemd-udev-239-41.0.1.el8_3.x86_64
  vim-minimal-2:8.0.1763-15.0.1.el8.x86_64                                xfsprogs-5.4.0-1.0.1.el8.x86_64

ダウングレード済み:
  shim-x64-15-11.0.5.x86_64

再インストール済み:
  acl-2.2.53-1.el8.x86_64                                            audit-3.0-0.17.20191104git1c2f876.el8.x86_64
  audit-libs-3.0-0.17.20191104git1c2f876.el8.x86_64                  authselect-1.2.1-2.el8.x86_64
  authselect-libs-1.2.1-2.el8.x86_64                                 basesystem-11-5.el8.noarch
  bash-4.4.19-12.el8.x86_64                                          bind-export-libs-32:9.11.20-5.el8.x86_64
  biosdevname-0.7.3-2.el8.x86_64                                     brotli-1.0.6-2.el8.x86_64
  bzip2-libs-1.0.6-26.el8.x86_64                                     c-ares-1.13.0-5.el8.x86_64
  ca-certificates-2020.2.41-80.0.el8_2.noarch                        chkconfig-1.13-2.el8.x86_64
  cpio-2.12-8.el8.x86_64                                             cracklib-2.9.6-15.el8.x86_64
  cracklib-dicts-2.9.6-15.el8.x86_64                                 cronie-1.5.2-4.el8.x86_64
  cronie-anacron-1.5.2-4.el8.x86_64                                  crontabs-1.11-16.20150630git.el8.noarch
  crypto-policies-20200713-1.git51d1222.el8.noarch                   crypto-policies-scripts-20200713-1.git51d1222.el8.noarch
  cryptsetup-libs-2.3.3-2.el8.x86_64                                 curl-7.61.1-14.el8.x86_64
  cyrus-sasl-lib-2.1.27-5.el8.x86_64                                 dbus-glib-0.110-2.el8.x86_64
  device-mapper-8:1.02.171-5.el8.x86_64                              device-mapper-event-8:1.02.171-5.el8.x86_64
  device-mapper-event-libs-8:1.02.171-5.el8.x86_64                   device-mapper-libs-8:1.02.171-5.el8.x86_64
  device-mapper-persistent-data-0.8.5-4.el8.x86_64                   dhcp-client-12:4.3.6-41.el8.x86_64
  dhcp-common-12:4.3.6-41.el8.noarch                                 dhcp-libs-12:4.3.6-41.el8.x86_64
  diffutils-3.6-6.el8.x86_64                                         dmidecode-1:3.2-6.el8.x86_64
  dnf-4.2.23-4.el8.noarch                                            dnf-data-4.2.23-4.el8.noarch
  dnf-plugins-core-4.0.17-5.el8.noarch                               dosfstools-4.1-6.el8.x86_64
  e2fsprogs-1.45.6-1.el8.x86_64                                      e2fsprogs-libs-1.45.6-1.el8.x86_64
  efivar-37-4.el8.x86_64                                             efivar-libs-37-4.el8.x86_64
  elfutils-debuginfod-client-0.180-1.el8.x86_64                      elfutils-default-yama-scope-0.180-1.el8.noarch
  elfutils-libelf-0.180-1.el8.x86_64                                 elfutils-libs-0.180-1.el8.x86_64
  ethtool-2:5.0-2.el8.x86_64                                         expat-2.2.5-4.el8.x86_64
  file-5.33-16.el8.x86_64                                            file-libs-5.33-16.el8.x86_64
  filesystem-3.8-3.el8.x86_64                                        findutils-1:4.6.0-20.el8.x86_64
  freetype-2.9.1-4.el8_3.1.x86_64                                    gawk-4.2.1-1.el8.x86_64
  gdbm-1:1.18-1.el8.x86_64                                           gdbm-libs-1:1.18-1.el8.x86_64
  geolite2-city-20180605-1.el8.noarch                                geolite2-country-20180605-1.el8.noarch
  gettext-0.19.8.1-17.el8.x86_64                                     gettext-libs-0.19.8.1-17.el8.x86_64
  glib2-2.56.4-8.el8.x86_64                                          gmp-1:6.1.2-10.el8.x86_64
  gnupg2-2.2.20-2.el8.x86_64                                         gnupg2-smime-2.2.20-2.el8.x86_64
  gnutls-3.6.14-6.el8.x86_64                                         gobject-introspection-1.56.1-1.el8.x86_64
  gpgme-1.13.1-3.el8.x86_64                                          grep-3.1-6.el8.x86_64
  groff-base-1.22.3-18.el8.x86_64                                    gzip-1.9-9.el8.x86_64
  hardlink-1:1.3-6.el8.x86_64                                        hdparm-9.54-2.el8.x86_64
  hostname-3.20-6.el8.x86_64                                         hwdata-0.314-8.6.el8.noarch
  ima-evm-utils-1.1-5.el8.x86_64                                     info-6.5-6.el8.x86_64
  initscripts-10.00.9-1.el8.x86_64                                   ipcalc-0.2.4-4.el8.x86_64
  iprutils-2.4.19-1.el8.x86_64                                       ipset-7.1-1.el8.x86_64
  ipset-libs-7.1-1.el8.x86_64                                        iputils-20180629-2.el8.x86_64
  irqbalance-2:1.4.0-4.el8.x86_64                                    jansson-2.11-3.el8.x86_64
  json-c-0.13.1-0.2.el8.x86_64                                       kbd-2.0.4-10.el8.x86_64
  kbd-legacy-2.0.4-10.el8.noarch                                     kbd-misc-2.0.4-10.el8.noarch
  kernel-4.18.0-240.1.1.el8_3.x86_64                                 kernel-core-4.18.0-240.1.1.el8_3.x86_64
  kernel-modules-4.18.0-240.1.1.el8_3.x86_64                         kernel-tools-4.18.0-240.1.1.el8_3.x86_64
  kernel-tools-libs-4.18.0-240.1.1.el8_3.x86_64                      keyutils-libs-1.5.10-6.el8.x86_64
  kpartx-0.8.4-5.el8.x86_64                                          krb5-libs-1.18.2-5.el8.x86_64
  langpacks-ja-1.0-12.el8.noarch                                     less-530-1.el8.x86_64
  libacl-2.2.53-1.el8.x86_64                                         libaio-0.3.112-1.el8.x86_64
  libarchive-3.3.2-9.el8.x86_64                                      libassuan-2.5.1-3.el8.x86_64
  libattr-2.4.48-3.el8.x86_64                                        libbasicobjects-0.1.1-39.el8.x86_64
  libblkid-2.32.1-24.el8.x86_64                                      libcap-2.26-4.el8.x86_64
  libcap-ng-0.7.9-5.el8.x86_64                                       libcollection-0.7.0-39.el8.x86_64
  libcom_err-1.45.6-1.el8.x86_64                                     libcomps-0.1.11-4.el8.x86_64
  libcroco-0.6.12-4.el8_2.1.x86_64                                   libcurl-7.61.1-14.el8.x86_64
  libdaemon-0.14-15.el8.x86_64                                       libdb-5.3.28-39.el8.x86_64
  libdb-utils-5.3.28-39.el8.x86_64                                   libdhash-0.5.0-39.el8.x86_64
  libdrm-2.4.101-1.el8.x86_64                                        libedit-3.1-23.20170329cvs.el8.x86_64
  libestr-0.1.10-1.el8.x86_64                                        libevent-2.1.8-5.el8.x86_64
  libfastjson-0.99.8-2.el8.x86_64                                    libfdisk-2.32.1-24.el8.x86_64
  libffi-3.1-22.el8.x86_64                                           libgcrypt-1.8.5-4.el8.x86_64
  libgpg-error-1.31-1.el8.x86_64                                     libidn2-2.2.0-1.el8.x86_64
  libini_config-1.3.1-39.el8.x86_64                                  libksba-1.3.5-7.el8.x86_64
  libldb-2.1.3-2.el8.x86_64                                          libmaxminddb-1.2.0-10.el8.x86_64
  libmetalink-0.1.3-7.el8.x86_64                                     libmnl-1.0.4-6.el8.x86_64
  libmodulemd-2.9.4-2.el8.x86_64                                     libmount-2.32.1-24.el8.x86_64
  libmspack-0.7-0.3.alpha.el8.4.x86_64                               libndp-1.7-3.el8.x86_64
  libnetfilter_conntrack-1.0.6-5.el8.x86_64                          libnfnetlink-1.0.1-13.el8.x86_64
  libnfsidmap-1:2.3.3-35.el8.x86_64                                  libnftnl-1.1.5-4.el8.x86_64
  libnghttp2-1.33.0-3.el8_2.1.x86_64                                 libnl3-3.5.0-1.el8.x86_64
  libnl3-cli-3.5.0-1.el8.x86_64                                      libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64
  libpath_utils-0.2.1-39.el8.x86_64                                  libpcap-14:1.9.1-4.el8.x86_64
  libpciaccess-0.14-1.el8.x86_64                                     libpipeline-1.5.0-2.el8.x86_64
  libpng-2:1.6.34-5.el8.x86_64                                       libpsl-0.20.2-6.el8.x86_64
  libpwquality-1.4.0-9.el8.x86_64                                    libref_array-0.1.5-39.el8.x86_64
  librepo-1.12.0-2.el8.x86_64                                        libseccomp-2.4.3-1.el8.x86_64
  libsecret-0.18.6-1.el8.x86_64                                      libselinux-2.9-4.el8_3.x86_64
  libselinux-utils-2.9-4.el8_3.x86_64                                libsemanage-2.9-3.el8.x86_64
  libsepol-2.9-1.el8.x86_64                                          libsigsegv-2.11-5.el8.x86_64
  libsmartcols-2.32.1-24.el8.x86_64                                  libsolv-0.7.11-1.el8.x86_64
  libss-1.45.6-1.el8.x86_64                                          libssh-0.9.4-2.el8.x86_64
  libssh-config-0.9.4-2.el8.noarch                                   libsysfs-2.1.0-24.el8.x86_64
  libtalloc-2.3.1-2.el8.x86_64                                       libtasn1-4.13-3.el8.x86_64
  libtdb-1.4.3-1.el8.x86_64                                          libteam-1.31-2.el8.x86_64
  libtevent-0.10.2-2.el8.x86_64                                      libtirpc-1.1.4-4.el8.x86_64
  libtool-ltdl-2.4.6-25.el8.x86_64                                   libunistring-0.9.9-3.el8.x86_64
  libusbx-1.0.23-4.el8.x86_64                                        libuser-0.62-23.el8.x86_64
  libutempter-1.1.6-14.el8.x86_64                                    libuuid-2.32.1-24.el8.x86_64
  libverto-0.3.0-5.el8.x86_64                                        libxcrypt-4.1.1-4.el8.x86_64
  libxkbcommon-0.9.1-1.el8.x86_64                                    libyaml-0.1.7-5.el8.x86_64
  logrotate-3.14.0-4.el8.x86_64                                      lshw-B.02.19.2-2.el8.x86_64
  lsscsi-0.30-1.el8.x86_64                                           lua-libs-5.3.4-11.el8.x86_64
  lvm2-8:2.03.09-5.el8.x86_64                                        lvm2-libs-8:2.03.09-5.el8.x86_64
  lz4-libs-1.8.3-2.el8.x86_64                                        lzo-2.08-14.el8.x86_64
  man-db-2.7.6.1-17.el8.x86_64                                       memstrack-0.1.11-1.el8.x86_64
  mokutil-1:0.3.0-10.el8.x86_64                                      mpfr-3.1.6-1.el8.x86_64
  ncurses-6.1-7.20180224.el8.x86_64                                  ncurses-base-6.1-7.20180224.el8.noarch
  ncurses-libs-6.1-7.20180224.el8.x86_64                             nettle-3.4.1-2.el8.x86_64
  newt-0.52.20-11.el8.x86_64                                         nftables-1:0.9.3-16.el8.x86_64
  npth-1.5-4.el8.x86_64                                              numactl-libs-2.0.12-11.el8.x86_64
  openldap-2.4.46-15.el8.x86_64                                      openssh-8.0p1-5.el8.x86_64
  openssh-clients-8.0p1-5.el8.x86_64                                 openssh-server-8.0p1-5.el8.x86_64
  openssl-1:1.1.1g-11.el8.x86_64                                     openssl-libs-1:1.1.1g-11.el8.x86_64
  openssl-pkcs11-0.4.10-2.el8.x86_64                                 p11-kit-0.23.14-5.el8_0.x86_64
  p11-kit-trust-0.23.14-5.el8_0.x86_64                               pam-1.3.1-11.el8.x86_64
  passwd-0.80-3.el8.x86_64                                           pciutils-3.6.4-2.el8.x86_64
  pciutils-libs-3.6.4-2.el8.x86_64                                   pcre-8.42-4.el8.x86_64
  pcre2-10.32-2.el8.x86_64                                           pigz-2.4-4.el8.x86_64
  pinentry-1.1.0-2.el8.x86_64                                        platform-python-pip-9.0.3-18.el8.noarch
  platform-python-setuptools-39.2.0-6.el8.noarch                     polkit-pkla-compat-0.1-12.el8.x86_64
  popt-1.16-14.el8.x86_64                                            prefixdevname-0.1.0-6.el8.x86_64
  procps-ng-3.3.15-3.el8.x86_64                                      publicsuffix-list-dafsa-20180723-1.el8.noarch
  python3-configobj-5.0.6-11.el8.noarch                              python3-dateutil-1:2.6.1-6.el8.noarch
  python3-dbus-1.2.4-15.el8.x86_64                                   python3-decorator-4.2.1-2.el8.noarch
  python3-dmidecode-3.12.2-15.el8.x86_64                             python3-dnf-4.2.23-4.el8.noarch
  python3-dnf-plugins-core-4.0.17-5.el8.noarch                       python3-gobject-base-3.28.3-2.el8.x86_64
  python3-gpg-1.13.1-3.el8.x86_64                                    python3-libcomps-0.1.11-4.el8.x86_64
  python3-libselinux-2.9-4.el8_3.x86_64                              python3-linux-procfs-0.6.2-2.el8.noarch
  python3-nftables-1:0.9.3-16.el8.x86_64                             python3-perf-4.18.0-240.1.1.el8_3.x86_64
  python3-pip-wheel-9.0.3-18.el8.noarch                              python3-pyudev-0.21.0-7.el8.noarch
  python3-rpm-4.14.3-4.el8.x86_64                                    python3-schedutils-0.6-6.el8.x86_64
  python3-setuptools-wheel-39.2.0-6.el8.noarch                       python3-six-1.11.0-8.el8.noarch
  python3-slip-0.6.4-11.el8.noarch                                   python3-slip-dbus-0.6.4-11.el8.noarch
  python3-unbound-1.7.3-14.el8.x86_64                                readline-7.0-10.el8.x86_64
  rng-tools-6.8-3.el8.x86_64                                         rootfiles-8.1-22.el8.noarch
  rpm-4.14.3-4.el8.x86_64                                            rpm-build-libs-4.14.3-4.el8.x86_64
  rpm-libs-4.14.3-4.el8.x86_64                                       rpm-plugin-selinux-4.14.3-4.el8.x86_64
  rpm-plugin-systemd-inhibit-4.14.3-4.el8.x86_64                     rsyslog-8.1911.0-6.el8.x86_64
  sed-4.5-2.el8.x86_64                                               setup-2.12.2-6.el8.noarch
  sg3_utils-1.44-5.el8.x86_64                                        sg3_utils-libs-1.44-5.el8.x86_64
  shadow-utils-2:4.6-11.el8.x86_64                                   shared-mime-info-1.9-3.el8.x86_64
  slang-2.3.2-3.el8.x86_64                                           snappy-1.1.8-3.el8.x86_64
  sqlite-libs-3.26.0-11.el8.x86_64                                   squashfs-tools-4.3-19.el8.x86_64
  sudo-1.8.29-6.el8.x86_64                                           tar-2:1.30-5.el8.x86_64
  teamd-1.31-2.el8.x86_64                                            timedatex-0.5-3.el8.x86_64
  trousers-0.3.14-4.el8.x86_64                                       trousers-lib-0.3.14-4.el8.x86_64
  tzdata-2020d-1.el8.noarch                                          unbound-libs-1.7.3-14.el8.x86_64
  util-linux-2.32.1-24.el8.x86_64                                    virt-what-1.18-6.el8.x86_64
  which-2.21-12.el8.x86_64                                           xkeyboard-config-2.28-1.el8.noarch
  xmlsec1-1.2.25-4.el8.x86_64                                        xmlsec1-openssl-1.2.25-4.el8.x86_64
  xz-5.2.4-3.el8.x86_64                                              xz-libs-5.2.4-3.el8.x86_64
  yum-4.2.23-4.el8.noarch                                            yum-utils-4.0.17-5.el8.noarch
  zlib-1.2.11-16.el8_2.x86_64

完了しました!
パッケージ qemu-guest-agent はインストールされていません。
パッケージ centos-logos-ipa はインストールされていません。
パッケージ centos-logos-httpd はインストールされていません。

最後にOralce Linux UEKのインストール処理を実行

Sync successful. Switching default kernel to the UEK.
メタデータの期限切れの最終確認: 0:09:55 時間前の 2020年12月16日 09時25分19秒 に実施しました。
依存関係が解決しました。
===============================================================================================================================================
 パッケージ                     アーキテクチャー           バージョン                                      リポジトリー                  サイズ
===============================================================================================================================================
再インストール:
 kernel-uek                     x86_64                     5.4.17-2036.101.2.el8uek                        ol8_UEKR6                      61 M

トランザクションの概要
===============================================================================================================================================

ダウンロードサイズの合計: 61 M
インストール済みのサイズ: 85 M
パッケージのダウンロード:
kernel-uek-5.4.17-2036.101.2.el8uek.x86_64.rpm                                                                 3.6 MB/s |  61 MB     00:16
-----------------------------------------------------------------------------------------------------------------------------------------------
合計                                                                                                           3.6 MB/s |  61 MB     00:16
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                                                                                       1/1
  scriptletの実行中: kernel-uek-5.4.17-2036.101.2.el8uek.x86_64                                                                            1/2
  再インストール   : kernel-uek-5.4.17-2036.101.2.el8uek.x86_64                                                                            1/2
  scriptletの実行中: kernel-uek-5.4.17-2036.101.2.el8uek.x86_64                                                                            1/2
  scriptletの実行中: kernel-uek-5.4.17-2036.101.2.el8uek.x86_64                                                                            2/2
  整理             : kernel-uek-5.4.17-2036.101.2.el8uek.x86_64                                                                            2/2
  scriptletの実行中: kernel-uek-5.4.17-2036.101.2.el8uek.x86_64                                                                            2/2
  検証             : kernel-uek-5.4.17-2036.101.2.el8uek.x86_64                                                                            1/2
  検証             : kernel-uek-5.4.17-2036.101.2.el8uek.x86_64                                                                            2/2

再インストール済み:
  kernel-uek-5.4.17-2036.101.2.el8uek.x86_64

完了しました!
Generating grub configuration file ...
Adding boot menu entry for EFI firmware configuration
done
Removing yum cache
Switch complete. Oracle recommends rebooting this system.
[root@centos8 ~]#

(4) 確認

再起動前に状態を確認してみる。

[root@centos8 ~]# ls -l /etc/yum.repos.d/
合計 56
-rw-r--r--. 1 root root  891 12月 16 09:24 CentOS-Linux-AppStream.repo.disabled
-rw-r--r--. 1 root root  876 12月 16 09:24 CentOS-Linux-BaseOS.repo.disabled
-rw-r--r--. 1 root root 1302 12月 16 09:24 CentOS-Linux-ContinuousRelease.repo.disabled
-rw-r--r--. 1 root root  490 12月 16 09:24 CentOS-Linux-Debuginfo.repo.disabled
-rw-r--r--. 1 root root  904 12月 16 09:24 CentOS-Linux-Devel.repo.disabled
-rw-r--r--. 1 root root  876 12月 16 09:24 CentOS-Linux-Extras.repo.disabled
-rw-r--r--. 1 root root  891 12月 16 09:24 CentOS-Linux-FastTrack.repo.disabled
-rw-r--r--. 1 root root  912 12月 16 09:24 CentOS-Linux-HighAvailability.repo.disabled
-rw-r--r--. 1 root root  865 12月 16 09:24 CentOS-Linux-Media.repo.disabled
-rw-r--r--. 1 root root  878 12月 16 09:24 CentOS-Linux-Plus.repo.disabled
-rw-r--r--. 1 root root  896 12月 16 09:24 CentOS-Linux-PowerTools.repo.disabled
-rw-r--r--. 1 root root 1070 12月 16 09:24 CentOS-Linux-Sources.repo.disabled
-rw-r--r--. 1 root root 1786 11月  4 14:43 oracle-linux-ol8.repo
-rw-r--r--. 1 root root  470 11月  6 11:14 uek-ol8.repo
[root@centos8 ~]# rpm -qa|grep centos
centos-gpg-keys-8-2.el8.noarch
[root@centos8 ~]# rpm -qa|grep release
oraclelinux-release-el8-1.0-14.el8.x86_64
redhat-release-8.3-1.0.0.1.el8.x86_64
oraclelinux-release-8.3-1.0.4.el8.x86_64
[root@centos8 ~]#

CentOS8時代のレポジトリファイルは「.disabled」とリネームされて残っているが、パッケージとしては削除されている。

[root@centos8 ~]# dnf repolist
repo id                                    repo の名前
ol8_UEKR6                                  Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)
ol8_appstream                              Oracle Linux 8 Application Stream (x86_64)
ol8_baseos_latest                          Oracle Linux 8 BaseOS Latest (x86_64)
[root@centos8 ~]# dnf repolist --all
repo id                                   repo の名前                                                                                    状態
ol8_UEKR6                                 Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)                     有効化
ol8_UEKR6_RDMA                            Oracle Linux 8 UEK6 RDMA (x86_64)                                                              無効化
ol8_addons                                Oracle Linux 8 Addons (x86_64)                                                                 無効化
ol8_appstream                             Oracle Linux 8 Application Stream (x86_64)                                                     有効化
ol8_baseos_latest                         Oracle Linux 8 BaseOS Latest (x86_64)                                                          有効化
ol8_codeready_builder                     Oracle Linux 8 CodeReady Builder (x86_64) - Unsupported                                        無効化
ol8_u0_baseos_base                        Oracle Linux 8 BaseOS GA (x86_64)                                                              無効化
ol8_u1_baseos_base                        Oracle Linux 8.1 BaseOS (x86_64)                                                               無効化
ol8_u2_baseos_base                        Oracle Linux 8.2 BaseOS (x86_64)                                                               無効化
ol8_u3_baseos_base                        Oracle Linux 8.3 BaseOS (x86_64)                                                               無効化
[root@centos8 ~]#

CentOS8レポジトリ用ファイルがリネームされているので、使える状態ではない。

Grub関連ファイルも置き換わっている


[root@centos8 ~]# ls -l /etc/grub2-efi.cfg
lrwxrwxrwx. 1 root root 31 11月  6 04:56 /etc/grub2-efi.cfg -> ../boot/efi/EFI/redhat/grub.cfg
[root@centos8 ~]# ls -l /boot/efi/EFI/*
/boot/efi/EFI/BOOT:
合計 1548
-rwx------. 1 root root 1216760  7月 25 03:42 BOOTX64.EFI
-rwx------. 1 root root  361600  7月 25 03:42 fbx64.efi

/boot/efi/EFI/centos:
合計 12
-rwx------. 1 root root 6544 12月 16 09:04 grub.cfg
-rwx------. 1 root root 1024 12月 16 09:09 grubenv

/boot/efi/EFI/redhat:
合計 4204
-rwx------. 1 root root     134  7月 25 03:42 BOOTX64.CSV
drwx------. 2 root root    4096 11月  6 04:56 fonts
-rwx------. 1 root root    6545 12月 16 09:36 grub.cfg
-rwx------. 1 root root    1024 12月 16 09:36 grubenv
-rwx------. 1 root root 1895592 11月  6 04:56 grubx64.efi
-rwx------. 1 root root 1165032  7月 25 03:42 mmx64.efi
-rwx------. 1 root root 1216760  7月 25 03:42 shimx64.efi
[root@centos8 ~]#

(5) 再起動

サーバを再起動。

[root@centos8 ~]# uname -a
Linux centos8 5.4.17-2036.101.2.el8uek.x86_64 #2 SMP Wed Dec 2 17:56:10 PST 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@centos8 ~]#

Oracle Linux 8のUEKカーネルで起動していることを確認できました。