Red Hat Enterprise Linux 8.1 各種確認

# はじめに

RHEL8.1が出たので各種確認
参考：[8\.1 リリースノート Red Hat Enterprise Linux 8 \| Red Hat Customer Portal](https://access.redhat.com/documentation/ja-jp/red_hat_enterprise_linux/8/html/8.1_release_notes/index)

# 環境

DVD ISOを使ってHyper-V上にインストールしたRHEL8に検証用サブスクリプションを適用し、podman経由でUniversal Base Imageを起動

- [Introducing the Red Hat Universal Base Image](https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image)
- [Red Hat Universal Base Image 8 \- Certified Container Image \- Red Hat Ecosystem Catalog](https://access.redhat.com/containers/?tab=overview#/registry.access.redhat.com/ubi8)

## イメージダウンロード

```shell-session
[root@localhost ~]# yum install -y podman
... 略

[root@localhost ~]# podman pull registry.access.redhat.com/ubi8:8.1
Trying to pull registry.access.redhat.com/ubi8:8.1...Getting image source signatures
Copying blob 340ff6d7f58c done
Copying blob 0e8ea260d026 done
Copying config cb642e6a99 done
Writing manifest to image destination
Storing signatures
cb642e6a9917b31752aa281373a2726152e0b4512abcdd8fabbbd96635c0d8f4
```

## RHEL8.1起動

```shell-session
[root@localhost ~]# podman run -it --rm registry.access.redhat.com/ubi8:8.1
[root@de1f989242ba /]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.1 (Ootpa)
[root@de1f989242ba /]# cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.1 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.1"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.1 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.1:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.1
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.1"
```

UBI8.0のときと起動後のプロンプトが変わった模様

```shell-session
[root@localhost ~]# podman run -it --rm registry.access.redhat.com/ubi8:8.0
bash-4.4#
```

## 各種確認

新規追加されたPHP 7.3, Ruby 2.6, Node.js 12, nginx 1.16が確認できる。（UBI8.0でも追加されていた）
ただしnginx1.16はUBI側レポジトリでは提供されていない様子。（そのうち追加されるのかも？）

新規追加されたStreamは[Red Hat Enterprise Linux 8 Application Streams Life Cycle \- Red Hat Customer Portal](https://access.redhat.com/support/policy/updates/rhel8-app-streams-life-cycle)に記載されると思われる。

```shell-session
[root@de1f989242ba /]# dnf module list
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                         2.3 MB/s |  10 MB     00:04
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                      2.8 MB/s |  13 MB     00:04
Red Hat Universal Base Image 8 (RPMs) - BaseOS                                227 kB/s | 759 kB     00:03
Red Hat Universal Base Image 8 (RPMs) - AppStream                             769 kB/s | 3.1 MB     00:04
Red Hat Universal Base Image 8 (RPMs) - CodeReady Builder                     3.0 kB/s | 9.1 kB     00:03
Last metadata expiration check: 0:00:01 ago on Sun Nov 10 08:47:50 2019.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Name                 Stream     Profiles                  Summary
389-ds               1.4                                  389 Directory Server (base)
ant                  1.10 [d]   common [d]                Java build tool
container-tools      rhel8 [d]  common [d]                Common tools and dependencies for container runtimes
container-tools      1.0        common [d]                Common tools and dependencies for container runtimes
freeradius           3.0 [d]    server [d]                High-performance and highly configurable free RADIUS
                                                           server
gimp                 2.8 [d]    common [d], devel         gimp module
go-toolset           rhel8 [d]  common [d]                Go
httpd                2.4 [d]    common [d], devel, minima Apache HTTP Server
                                l
idm                  DL1        common [d], adtrust, clie The Red Hat Enterprise Linux Identity Management sys
                                nt, dns, server           tem module
idm                  client [d] common [d]                RHEL IdM long term support client module
inkscape             0.92.3 [d] common [d]                Vector-based drawing program using SVG
javapackages-runtime 201801 [d] common [d]                Basic runtime utilities to support Java applications
libselinux-python    2.8        common                    Python 2 bindings for libselinux
llvm-toolset         rhel8 [d]  common [d]                LLVM
mailman              2.1 [d]    common [d]                Electronic mail discussion and e-newsletter lists ma
                                                          naging software
mariadb              10.3 [d]   client, server [d], galer MariaDB Module
                                a
maven                3.5 [d]    common [d]                Java project management and project comprehension to
                                                          ol
mercurial            4.8 [d]    common [d]                Mercurial -- a distributed SCM
mod_auth_openidc     2.3                                  Apache module suporting OpenID Connect authenticatio
                                                          n
mysql                8.0 [d]    client, server [d]        MySQL Module
nginx                1.14 [d]   common [d]                nginx webserver
nginx                1.16       common [d]                nginx webserver
nodejs               10 [d]     common [d], development,  Javascript runtime
                                minimal, s2i
nodejs               12         common [d], development,  Javascript runtime
                                minimal, s2i
parfait              0.5        common                    Parfait Module
perl                 5.24       common [d], minimal       Practical Extraction and Report Language
perl                 5.26 [d]   common [d], minimal       Practical Extraction and Report Language
perl-App-cpanminus   1.7044 [d] common [d]                Get, unpack, build and install CPAN modules
perl-DBD-MySQL       4.046 [d]  common [d]                A MySQL interface for Perl
perl-DBD-Pg          3.7 [d]    common [d]                A PostgreSQL interface for Perl
perl-DBD-SQLite      1.58 [d]   common [d]                SQLite DBI driver
perl-DBI             1.641 [d]  common [d]                A database access API for Perl
perl-FCGI            0.78 [d]   common [d]                FastCGI Perl bindings
perl-YAML            1.24 [d]   common [d]                Perl parser for YAML
php                  7.2 [d]    common [d], devel, minima PHP scripting language
                                l
php                  7.3        common [d], devel, minima PHP scripting language
                                l
pki-core             10.6                                 PKI Core module for PKI 10.6 or later
pki-deps             10.6                                 PKI Dependencies module for PKI 10.6 or later
postgresql           9.6        client, server [d]        PostgreSQL server and client module
postgresql           10 [d]     client, server [d]        PostgreSQL server and client module
python27             2.7 [d]    common [d]                Python programming language, version 2.7
python36             3.6 [d]    common [d], build         Python programming language, version 3.6
redis                5 [d]      common [d]                Redis persistent key-value database
rhn-tools            1.0 [d]    common [d]                Red Hat Satellite 5 tools for RHEL
ruby                 2.5 [d]    common [d]                An interpreter of object-oriented scripting language
ruby                 2.6        common [d]                An interpreter of object-oriented scripting language
rust-toolset         rhel8 [d]  common [d]                Rust
satellite-5-client   1.0 [d]    common [d], gui           Red Hat Satellite 5 client packages
scala                2.10 [d]   common [d]                A hybrid functional/object-oriented language for the
                                                           JVM
squid                4 [d]      common [d]                Squid - Optimising Web Delivery
subversion           1.10 [d]   common [d], server        Apache Subversion
swig                 3.0 [d]    common [d], complete      Connects C/C++/Objective C to some high-level progra
                                                          mming languages
varnish              6 [d]      common [d]                Varnish HTTP cache
virt                 rhel [d]   common [d]                Virtualization module

Red Hat Universal Base Image 8 (RPMs) - AppStream
Name                 Stream     Profiles                  Summary
go-toolset           rhel8 [d]  common [d]                Go
httpd                2.4 [d]    common [d], devel, minima Apache HTTP Server
                                l
javapackages-runtime 201801 [d] common [d]                Basic runtime utilities to support Java applications
maven                3.5 [d]    common [d]                Java project management and project comprehension to
                                                          ol
nginx                1.14 [d]   common [d]                nginx webserver
nodejs               10 [d]     common [d], development,  Javascript runtime
                                minimal, s2i
nodejs               12         common [d], development,  Javascript runtime
                                minimal, s2i
perl                 5.26 [d]   common [d], minimal       Practical Extraction and Report Language
perl-App-cpanminus   1.7044 [d] common [d]                Get, unpack, build and install CPAN modules
perl-FCGI            0.78 [d]   common [d]                FastCGI Perl bindings
perl-YAML            1.24 [d]   common [d]                Perl parser for YAML
php                  7.2 [d]    common [d], devel, minima PHP scripting language
                                l
php                  7.3        common [d], devel, minima PHP scripting language
                                l
python27             2.7 [d]    common [d]                Python programming language, version 2.7
python36             3.6 [d]    common [d], build         Python programming language, version 3.6
ruby                 2.5 [d]    common [d]                An interpreter of object-oriented scripting language
ruby                 2.6        common [d]                An interpreter of object-oriented scripting language

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
```

```shell-session
[root@de1f989242ba /]# yum info php
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
Last metadata expiration check: 0:00:56 ago on Sun Nov 10 08:47:50 2019.
Available Packages
Name         : php
Version      : 7.2.11
Release      : 4.module+el8.1.0+4555+f5cb8e18
Architecture : x86_64
Size         : 1.5 M
Source       : php-7.2.11-4.module+el8.1.0+4555+f5cb8e18.src.rpm
Repository   : rhel-8-for-x86_64-appstream-rpms
Summary      : PHP scripting language for creating dynamic web sites
URL          : http://www.php.net/
License      : PHP and Zend and BSD and MIT and ASL 1.0
Description  : PHP is an HTML-embedded scripting language. PHP attempts to make it
             : easy for developers to write dynamically generated web pages. PHP also
             : offers built-in database integration for several commercial and
             : non-commercial database management systems, so writing a
             : database-enabled webpage with PHP is fairly simple. The most common
             : use of PHP coding is probably as a replacement for CGI scripts.
             :
             : The php package contains the module (often referred to as mod_php)
             : which adds support for the PHP language to Apache HTTP Server.

Name         : php
Version      : 7.2.11
Release      : 4.module+el8.1.0+4555+f5cb8e18
Architecture : x86_64
Size         : 1.5 M
Source       : php-7.2.11-4.module+el8.1.0+4555+f5cb8e18.src.rpm
Repository   : ubi-8-appstream
Summary      : PHP scripting language for creating dynamic web sites
URL          : http://www.php.net/
License      : PHP and Zend and BSD and MIT and ASL 1.0
Description  : PHP is an HTML-embedded scripting language. PHP attempts to make it
             : easy for developers to write dynamically generated web pages. PHP also
             : offers built-in database integration for several commercial and
             : non-commercial database management systems, so writing a
             : database-enabled webpage with PHP is fairly simple. The most common
             : use of PHP coding is probably as a replacement for CGI scripts.
             :
             : The php package contains the module (often referred to as mod_php)
             : which adds support for the PHP language to Apache HTTP Server.
```

```shell-session
[root@de1f989242ba /]# yum search openjdk | grep openjdk.x86
Last metadata expiration check: 0:01:26 ago on Sun Nov 10 08:47:50 2019.
java-11-openjdk.x86_64 : OpenJDK Runtime Environment 11
java-11-openjdk.x86_64 : OpenJDK Runtime Environment 11
java-1.8.0-openjdk.x86_64 : OpenJDK Runtime Environment 8
java-1.8.0-openjdk.x86_64 : OpenJDK Runtime Environment 8
```

```shell-session
[root@de1f989242ba /]# yum info tomcat
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
Last metadata expiration check: 0:01:48 ago on Sun Nov 10 08:47:50 2019.
Error: No matching Packages to list
```