CentOS 8でyum/dnfに失敗! Failed to download metadata for repo ‘AppStream’ – Qiita
FAQ – CentOS Project shifts focus to CentOS Stream
CentOS8からCentOS Stream8への移行手順 | さくらのクラウド ドキュメント (sakura.ad.jp)
while [ $result -ne 0 ] ; do dnf -y install centos-release-stream ; result=$? ; done
while true ; do dnf -y swap centos-{linux,stream}-repos && break ; done
dnf distro-sync
dnf distro-sync –allowerasing
[FAILED] Failed to start Load Kernel Modules.
See ‘systemctl status systemd-modules-load.service’ for details.
[root@urtla ~]# runlevel
unknown
[root@urtla ~]#
[root@urtla ~]# systemctl status multi-user.target
● multi-user.target – Multi-User System
Loaded: loaded (/usr/lib/systemd/system/multi-user.target; static; vendor preset: disabled)
Active: inactive (dead)
Docs: man:systemd.special(7)
[root@urtla ~]#
[root@urtla ~]# systemctl status basic.target
● basic.target – Basic System
Loaded: loaded (/usr/lib/systemd/system/basic.target; static; vendor preset: disabled)
Active: active since Thu 2022-02-24 13:30:16 JST; 15min ago
Docs: man:systemd.special(7)
2月 24 13:30:16 urtla systemd[1]: Reached target Basic System.
[root@urtla ~]#
[root@urtla ~]# systemctl status systemd-modules-load.service
● systemd-modules-load.service – Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2022-02-24 13:30:13 JST; 17min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Main PID: 875 (code=exited, status=1/FAILURE)
2月 24 13:30:13 urtla systemd-modules-load[875]: Module ‘msr’ is builtin
2月 24 13:30:13 urtla systemd-modules-load[875]: Failed to insert ‘ipmi_si’: No such device
2月 24 13:30:13 urtla systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
2月 24 13:30:13 urtla systemd[1]: systemd-modules-load.service: Failed with result ‘exit-code’.
2月 24 13:30:13 urtla systemd[1]: Failed to start Load Kernel Modules.
[root@urtla ~]#
[root@urtla ~]# grep systemd-modules-load /var/log/messages
Feb 24 12:49:00 urtla systemd-modules-load[326]: Inserted module ‘fuse’
Feb 24 12:49:00 urtla systemd-modules-load[326]: Module ‘msr’ is builtin
Feb 24 12:49:05 urtla systemd[1]: systemd-modules-load.service: Succeeded.
Feb 24 12:49:09 urtla systemd-modules-load[856]: Module ‘msr’ is builtin
Feb 24 13:13:31 urtla systemd-modules-load[355]: Inserted module ‘fuse’
Feb 24 13:13:31 urtla systemd-modules-load[355]: Module ‘msr’ is builtin
Feb 24 13:13:31 urtla systemd-modules-load[355]: Failed to insert ‘ipmi_si’: No such device
Feb 24 13:13:42 urtla systemd-modules-load[862]: Module ‘msr’ is builtin
Feb 24 13:13:42 urtla systemd-modules-load[862]: Failed to insert ‘ipmi_si’: No such device
Feb 24 13:13:42 urtla systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Feb 24 13:13:42 urtla systemd[1]: systemd-modules-load.service: Failed with result ‘exit-code’.
Feb 24 13:30:02 urtla systemd-modules-load[345]: Inserted module ‘fuse’
Feb 24 13:30:02 urtla systemd-modules-load[345]: Module ‘msr’ is builtin
Feb 24 13:30:02 urtla systemd-modules-load[345]: Failed to insert ‘ipmi_si’: No such device
Feb 24 13:30:13 urtla systemd-modules-load[875]: Module ‘msr’ is builtin
Feb 24 13:30:13 urtla systemd-modules-load[875]: Failed to insert ‘ipmi_si’: No such device
Feb 24 13:30:13 urtla systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Feb 24 13:30:13 urtla systemd[1]: systemd-modules-load.service: Failed with result ‘exit-code’.
[root@urtla ~]#
dnf remove gnome-initial-setup
reboot
[root@urtla ~]# ps aux | grep initial
gnome-i+ 1732 0.0 0.2 216088 7916 tty1 Ssl+ 17:15 0:00 /usr/libexec/gdm-wayland-session –register-session dbus-run-session — gnome-session –autostart /usr/share/gdm/greeter/autostart –session gnome-initial-setup
gnome-i+ 1883 0.0 0.0 42096 2124 tty1 S+ 17:15 0:00 dbus-run-session — gnome-session –autostart /usr/share/gdm/greeter/autostart –session gnome-initial-setup
gnome-i+ 1891 0.0 0.5 656976 19300 tty1 Sl+ 17:15 0:00 /usr/libexec/gnome-session-binary –autostart /usr/share/gdm/greeter/autostart –session gnome-initial-setup
gnome-i+ 2133 8.2 8.8 3803236 337492 tty1 Sl+ 17:16 0:13 gnome-shell –mode=initial-setup
gnome-i+ 14414 0.9 3.9 1848088 151264 tty1 Sl+ 17:16 0:01 /usr/libexec/gnome-initial-setup
root 37909 0.0 0.0 10312 1080 pts/0 S+ 17:18 0:00 grep –color=auto initial
[root@urtla ~]#
runlevel
unknown
[root@urtla ~]#