0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AlmaLinuxのセキュリティ修正を適用する

Posted at

0.はじめに

RHELの場合はセキュリティ修正のアップデートが可能ですが、AlmaLinuxの場合も同様にセキュリティ修正のアップデートが可能です。AlmaLinuxのセキュリティ修正は、RHEL側で更新されたのちに、AlmaLinuxでそれをもとにリビルド&リリースされるようです。なお、このタイミングは多少の遅延がありますが、RHEL側で発表された後、数日後には提供されるようです。

1.手順

セキュリティアップデートがあるか確認する。

dnf updateinfo list security

実行例

[yoyo@AL95B1 ~]$ dnf updateinfo list security
Last metadata expiration check: 0:16:25 ago on Wed Nov 27 00:30:53 2024.
ALSA-2024:9541 Unknown/Sec. expat-2.5.0-3.el9_5.1.x86_64
ALSA-2024:9605 Unknown/Sec. kernel-5.14.0-503.14.1.el9_5.x86_64
ALSA-2024:9605 Unknown/Sec. kernel-core-5.14.0-503.14.1.el9_5.x86_64
ALSA-2024:9605 Unknown/Sec. kernel-modules-5.14.0-503.14.1.el9_5.x86_64
ALSA-2024:9605 Unknown/Sec. kernel-modules-core-5.14.0-503.14.1.el9_5.x86_64
ALSA-2024:9605 Unknown/Sec. kernel-tools-5.14.0-503.14.1.el9_5.x86_64
ALSA-2024:9605 Unknown/Sec. kernel-tools-libs-5.14.0-503.14.1.el9_5.x86_64

セキュリティ修正をインストール

sudo dnf update --security

実行例

[yoyo@AL95B1 ~]$ sudo dnf update --security
[sudo] password for yoyo:
Last metadata expiration check: 0:33:04 ago on Wed Nov 27 00:20:34 2024.
Dependencies resolved.
====================================================================================================================
 Package                          Architecture        Version                             Repository           Size
====================================================================================================================
Installing:
 kernel                           x86_64              5.14.0-503.14.1.el9_5               baseos              2.0 M
Upgrading:
 expat                            x86_64              2.5.0-3.el9_5.1                     baseos              115 k
 kernel-tools                     x86_64              5.14.0-503.14.1.el9_5               baseos              2.3 M
 kernel-tools-libs                x86_64              5.14.0-503.14.1.el9_5               baseos              2.0 M
Installing dependencies:
 kernel-core                      x86_64              5.14.0-503.14.1.el9_5               baseos               18 M
 kernel-modules                   x86_64              5.14.0-503.14.1.el9_5               baseos               36 M
 kernel-modules-core              x86_64              5.14.0-503.14.1.el9_5               baseos               30 M

Transaction Summary
====================================================================================================================
Install  4 Packages
Upgrade  3 Packages

Total download size: 90 M
Is this ok [y/N]:y

~~~中略 ~~~
Upgraded:
  expat-2.5.0-3.el9_5.1.x86_64                                kernel-tools-5.14.0-503.14.1.el9_5.x86_64
  kernel-tools-libs-5.14.0-503.14.1.el9_5.x86_64
Installed:
  kernel-5.14.0-503.14.1.el9_5.x86_64                    kernel-core-5.14.0-503.14.1.el9_5.x86_64
  kernel-modules-5.14.0-503.14.1.el9_5.x86_64            kernel-modules-core-5.14.0-503.14.1.el9_5.x86_64

Complete!

以上です

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?