blog.oyasu.info、oyasu.info は ConoHa で CentOS のサーバーで運用しています。
先日、CentOS 7.6 (1810) がリリースされたので、早速アップデートしてみました。
アップデート前のバージョン
# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) # uname -a Linux oyasu-info 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
そのままアップデートしても良いのですが、せっかくなのでイメージ保存機能でバックアップを取ってから実行しました。
アップデートされたパッケージ
# yum update (略) Dependencies Resolved ================================================================================= Package Arch Version Repository Size ================================================================================= Installing: grub2 x86_64 1:2.02-0.76.el7.centos base 30 k replacing grub2.x86_64 1:2.02-0.65.el7.centos.2 grub2-tools x86_64 1:2.02-0.76.el7.centos base 1.8 M replacing grub2-tools.x86_64 1:2.02-0.65.el7.centos.2 grub2-tools-extra x86_64 1:2.02-0.76.el7.centos base 995 k replacing grub2-tools.x86_64 1:2.02-0.65.el7.centos.2 grub2-tools-minimal x86_64 1:2.02-0.76.el7.centos base 172 k replacing grub2-tools.x86_64 1:2.02-0.65.el7.centos.2 kernel x86_64 3.10.0-957.1.3.el7 updates 48 M Updating: GeoIP x86_64 1.5.0-13.el7 base 1.5 M NetworkManager x86_64 1:1.12.0-8.el7_6 updates 1.7 M NetworkManager-libnm x86_64 1:1.12.0-8.el7_6 updates 1.4 M NetworkManager-ppp x86_64 1:1.12.0-8.el7_6 updates 164 k NetworkManager-team x86_64 1:1.12.0-8.el7_6 updates 159 k NetworkManager-tui x86_64 1:1.12.0-8.el7_6 updates 239 k abrt x86_64 2.1.11-52.el7.centos base 536 k abrt-addon-ccpp x86_64 2.1.11-52.el7.centos base 193 k abrt-addon-kerneloops x86_64 2.1.11-52.el7.centos base 106 k abrt-addon-pstoreoops x86_64 2.1.11-52.el7.centos base 96 k abrt-addon-python x86_64 2.1.11-52.el7.centos base 102 k abrt-addon-vmcore x86_64 2.1.11-52.el7.centos base 106 k abrt-addon-xorg x86_64 2.1.11-52.el7.centos base 97 k abrt-cli x86_64 2.1.11-52.el7.centos base 87 k abrt-console-notification x86_64 2.1.11-52.el7.centos base 89 k abrt-dbus x86_64 2.1.11-52.el7.centos base 121 k abrt-libs x86_64 2.1.11-52.el7.centos base 109 k abrt-python x86_64 2.1.11-52.el7.centos base 109 k abrt-retrace-client x86_64 2.1.11-52.el7.centos base 122 k abrt-tui x86_64 2.1.11-52.el7.centos base 100 k alsa-lib x86_64 1.1.6-2.el7 base 424 k ansible noarch 2.7.4-1.el7 epel 11 M at x86_64 3.1.13-24.el7 base 51 k audit x86_64 2.8.4-4.el7 base 250 k audit-libs i686 2.8.4-4.el7 base 101 k audit-libs x86_64 2.8.4-4.el7 base 100 k audit-libs-python x86_64 2.8.4-4.el7 base 76 k augeas-libs x86_64 1.4.0-6.el7 base 355 k bash x86_64 4.2.46-31.el7 base 1.0 M bind-libs x86_64 32:9.9.4-72.el7 base 1.0 M bind-libs-lite x86_64 32:9.9.4-72.el7 base 741 k bind-license noarch 32:9.9.4-72.el7 base 86 k bind-utils x86_64 32:9.9.4-72.el7 base 206 k binutils x86_64 2.27-34.base.el7 base 5.9 M cairo x86_64 1.15.12-3.el7 base 741 k centos-release x86_64 7-6.1810.2.el7.centos base 26 k checkpolicy x86_64 2.5-8.el7 base 295 k cloud-init x86_64 18.2-1.el7.centos.1 updates 778 k coreutils x86_64 8.22-23.el7 base 3.3 M cpp x86_64 4.8.5-36.el7 base 5.9 M crda x86_64 3.18_2018.05.31-4.el7 base 41 k cronie x86_64 1.4.11-20.el7_6 updates 91 k cronie-anacron x86_64 1.4.11-20.el7_6 updates 36 k cryptsetup x86_64 2.0.3-3.el7 base 154 k cryptsetup-libs x86_64 2.0.3-3.el7 base 338 k curl x86_64 7.29.0-51.el7 base 269 k dbus x86_64 1:1.10.24-12.el7 base 245 k dbus-libs x86_64 1:1.10.24-12.el7 base 169 k device-mapper x86_64 7:1.02.149-10.el7_6.2 updates 292 k device-mapper-event x86_64 7:1.02.149-10.el7_6.2 updates 188 k device-mapper-event-libs x86_64 7:1.02.149-10.el7_6.2 updates 187 k device-mapper-libs x86_64 7:1.02.149-10.el7_6.2 updates 320 k dialog x86_64 1.2-5.20130523.el7 base 208 k dmidecode x86_64 1:3.1-2.el7 base 78 k dnsmasq x86_64 2.76-7.el7 base 278 k dosfstools x86_64 3.0.20-10.el7 base 101 k dracut x86_64 033-554.el7 base 327 k dracut-config-rescue x86_64 033-554.el7 base 59 k dracut-network x86_64 033-554.el7 base 102 k dyninst x86_64 9.3.1-2.el7 base 3.5 M e2fsprogs x86_64 1.42.9-13.el7 base 699 k e2fsprogs-libs x86_64 1.42.9-13.el7 base 167 k elfutils x86_64 0.172-2.el7 base 299 k elfutils-default-yama-scope noarch 0.172-2.el7 base 32 k elfutils-libelf i686 0.172-2.el7 base 199 k elfutils-libelf x86_64 0.172-2.el7 base 194 k elfutils-libs i686 0.172-2.el7 base 312 k elfutils-libs x86_64 0.172-2.el7 base 285 k emacs-filesystem noarch 1:24.3-22.el7 base 58 k ethtool x86_64 2:4.8-9.el7 base 127 k file x86_64 5.11-35.el7 base 57 k file-libs x86_64 5.11-35.el7 base 340 k findutils x86_64 1:4.5.11-6.el7 base 559 k firewalld noarch 0.5.3-5.el7 base 431 k firewalld-filesystem noarch 0.5.3-5.el7 base 49 k fontconfig x86_64 2.13.0-4.3.el7 base 254 k fprintd x86_64 0.8.1-2.el7 base 89 k fprintd-pam x86_64 0.8.1-2.el7 base 16 k freetype x86_64 2.8-12.el7 base 380 k gcc x86_64 4.8.5-36.el7 base 16 M gdb x86_64 7.6.1-114.el7 base 2.4 M gdk-pixbuf2 x86_64 2.36.12-3.el7 base 570 k ghostscript x86_64 9.07-31.el7_6.3 updates 4.3 M git x86_64 1.8.3.1-20.el7 updates 4.4 M glib-networking x86_64 2.56.1-1.el7 base 145 k glib2 x86_64 2.56.1-2.el7 base 2.5 M glibc i686 2.17-260.el7 base 4.3 M glibc x86_64 2.17-260.el7 base 3.6 M glibc-common x86_64 2.17-260.el7 base 11 M glibc-devel x86_64 2.17-260.el7 base 1.1 M glibc-headers x86_64 2.17-260.el7 base 683 k gnutls x86_64 3.3.29-8.el7 base 680 k gobject-introspection x86_64 1.56.1-1.el7 base 241 k grub2-common noarch 1:2.02-0.76.el7.centos base 728 k grub2-pc x86_64 1:2.02-0.76.el7.centos base 31 k grub2-pc-modules noarch 1:2.02-0.76.el7.centos base 846 k grubby x86_64 8.28-25.el7 base 70 k gsettings-desktop-schemas x86_64 3.28.0-2.el7 base 605 k harfbuzz x86_64 1.7.5-2.el7 base 267 k httpd x86_64 2.4.6-88.el7.centos base 2.7 M httpd-tools x86_64 2.4.6-88.el7.centos base 90 k hwdata x86_64 0.252-9.1.el7 base 2.3 M initscripts x86_64 9.49.46-1.el7 base 439 k iotop noarch 0.6-4.el7 base 52 k iprutils x86_64 2.4.16.1-1.el7 base 243 k ipset x86_64 6.38-3.el7_6 updates 43 k ipset-libs x86_64 6.38-3.el7_6 updates 50 k iptables x86_64 1.4.21-28.el7 base 433 k iw x86_64 4.3-2.el7 base 70 k iwl100-firmware noarch 39.31.5.1-69.el7 base 157 k iwl1000-firmware noarch 1:39.31.5.1-69.el7 base 220 k iwl105-firmware noarch 18.168.6.1-69.el7 base 241 k iwl135-firmware noarch 18.168.6.1-69.el7 base 250 k iwl2000-firmware noarch 18.168.6.1-69.el7 base 243 k iwl2030-firmware noarch 18.168.6.1-69.el7 base 252 k iwl3160-firmware noarch 22.0.7.0-69.el7 base 1.7 M iwl3945-firmware noarch 15.32.2.9-69.el7 base 95 k iwl4965-firmware noarch 228.61.2.24-69.el7 base 108 k iwl5000-firmware noarch 8.83.5.1_1-69.el7 base 301 k iwl5150-firmware noarch 8.24.2.2-69.el7 base 153 k iwl6000-firmware noarch 9.221.4.1-69.el7 base 173 k iwl6000g2a-firmware noarch 17.168.5.3-69.el7 base 316 k iwl6000g2b-firmware noarch 17.168.5.2-69.el7 base 317 k iwl6050-firmware noarch 41.28.5.1-69.el7 base 249 k iwl7260-firmware noarch 22.0.7.0-69.el7 base 1.1 M iwl7265-firmware noarch 22.0.7.0-69.el7 base 6.4 M jasper-libs x86_64 1.900.1-33.el7 base 150 k kbd x86_64 1.15.5-15.el7 base 348 k kbd-legacy noarch 1.15.5-15.el7 base 466 k kbd-misc noarch 1.15.5-15.el7 base 1.4 M kernel-headers x86_64 3.10.0-957.1.3.el7 updates 8.0 M kernel-tools x86_64 3.10.0-957.1.3.el7 updates 7.1 M kernel-tools-libs x86_64 3.10.0-957.1.3.el7 updates 7.0 M kexec-tools x86_64 2.0.15-21.el7 base 343 k kmod x86_64 20-23.el7 base 121 k kmod-libs x86_64 20-23.el7 base 50 k kpartx x86_64 0.4.9-123.el7 base 77 k kpatch noarch 0.6.1-1.el7 base 10 k krb5-devel x86_64 1.15.1-34.el7 base 271 k krb5-libs x86_64 1.15.1-34.el7 base 763 k ledmon x86_64 0.90-1.el7 base 62 k libX11 x86_64 1.6.5-2.el7 base 606 k libX11-common noarch 1.6.5-2.el7 base 164 k libXfont x86_64 1.5.4-1.el7 base 153 k libblkid x86_64 2.23.2-59.el7 base 181 k libcgroup x86_64 0.41-20.el7 base 66 k libcom_err x86_64 1.42.9-13.el7 base 41 k libcom_err-devel x86_64 1.42.9-13.el7 base 31 k libcroco x86_64 0.6.12-4.el7 base 105 k libcurl x86_64 7.29.0-51.el7 base 221 k libdrm x86_64 2.4.91-3.el7 base 153 k libfastjson x86_64 0.99.4-3.el7 base 27 k libfprint x86_64 0.8.2-1.el7 base 200 k libgcc i686 4.8.5-36.el7 base 109 k libgcc x86_64 4.8.5-36.el7 base 102 k libgomp x86_64 4.8.5-36.el7 base 157 k libgudev1 x86_64 219-62.el7 base 95 k libicu x86_64 50.1.2-17.el7 base 6.9 M libjpeg-turbo x86_64 1.2.90-6.el7 base 134 k libkadm5 x86_64 1.15.1-34.el7 base 177 k libmount x86_64 2.23.2-59.el7 base 182 k libreport x86_64 2.1.11-42.el7.centos base 455 k libreport-centos x86_64 2.1.11-42.el7.centos base 50 k libreport-cli x86_64 2.1.11-42.el7.centos base 52 k libreport-filesystem x86_64 2.1.11-42.el7.centos base 39 k libreport-plugin-mailx x86_64 2.1.11-42.el7.centos base 66 k libreport-plugin-mantisbt x86_64 2.1.11-42.el7.centos base 71 k libreport-plugin-rhtsupport x86_64 2.1.11-42.el7.centos base 78 k libreport-plugin-ureport x86_64 2.1.11-42.el7.centos base 57 k libreport-python x86_64 2.1.11-42.el7.centos base 69 k libreport-web x86_64 2.1.11-42.el7.centos base 56 k librsvg2 x86_64 2.40.20-1.el7 base 132 k libselinux i686 2.5-14.1.el7 base 166 k libselinux x86_64 2.5-14.1.el7 base 162 k libselinux-devel x86_64 2.5-14.1.el7 base 187 k libselinux-python x86_64 2.5-14.1.el7 base 235 k libselinux-utils x86_64 2.5-14.1.el7 base 151 k libsemanage x86_64 2.5-14.el7 base 151 k libsemanage-python x86_64 2.5-14.el7 base 113 k libsepol i686 2.5-10.el7 base 294 k libsepol x86_64 2.5-10.el7 base 297 k libsepol-devel x86_64 2.5-10.el7 base 77 k libsoup x86_64 2.62.2-2.el7 base 411 k libss x86_64 1.42.9-13.el7 base 46 k libssh2 x86_64 1.4.3-12.el7 base 134 k libsss_idmap x86_64 1.16.2-13.el7 base 147 k libsss_nss_idmap x86_64 1.16.2-13.el7 base 154 k libstdc++ i686 4.8.5-36.el7 base 318 k libstdc++ x86_64 4.8.5-36.el7 base 304 k libstoragemgmt x86_64 1.6.2-4.el7 base 240 k libstoragemgmt-python noarch 1.6.2-4.el7 base 163 k libstoragemgmt-python-clibs x86_64 1.6.2-4.el7 base 19 k libteam x86_64 1.27-5.el7 base 48 k libtirpc x86_64 0.2.4-0.15.el7 base 89 k libuuid x86_64 2.23.2-59.el7 base 82 k libwayland-client x86_64 1.15.0-1.el7 base 33 k libwayland-server x86_64 1.15.0-1.el7 base 39 k libxcb x86_64 1.13-1.el7 base 214 k linux-firmware noarch 20180911-69.git85c5d90.el7 base 49 M lm_sensors-libs x86_64 3.4.0-6.20160601gitf9185e5.el7 base 42 k logrotate x86_64 3.8.6-17.el7 base 70 k lsof x86_64 4.87-6.el7 base 331 k lvm2 x86_64 7:2.02.180-10.el7_6.2 updates 1.3 M lvm2-libs x86_64 7:2.02.180-10.el7_6.2 updates 1.1 M man-db x86_64 2.6.3-11.el7 base 832 k man-pages-ja noarch 20130615-3.el7 base 5.4 M man-pages-overrides x86_64 7.6.2-1.el7 base 1.4 M mdadm x86_64 4.1-rc1_2.el7 base 433 k mesa-libEGL x86_64 18.0.5-3.el7 base 101 k mesa-libGL x86_64 18.0.5-3.el7 base 162 k mesa-libgbm x86_64 18.0.5-3.el7 base 38 k mesa-libglapi x86_64 18.0.5-3.el7 base 44 k microcode_ctl x86_64 2:2.1-47.el7 base 1.4 M mod_ssl x86_64 1:2.4.6-88.el7.centos base 112 k net-tools x86_64 2.0-0.24.20131004git.el7 base 306 k nginx x86_64 1:1.14.2-1.el7_4.ngx nginx 754 k nmap x86_64 2:6.40-16.el7 base 3.9 M nmap-ncat x86_64 2:6.40-16.el7 base 206 k nss-pem x86_64 1.0.3-5.el7 base 74 k openldap x86_64 2.4.44-20.el7 base 355 k openssl x86_64 1:1.0.2k-16.el7 base 493 k openssl-devel x86_64 1:1.0.2k-16.el7 base 1.5 M openssl-libs x86_64 1:1.0.2k-16.el7 base 1.2 M pango x86_64 1.42.4-1.el7 base 280 k perl x86_64 4:5.16.3-293.el7 base 8.0 M perl-Git noarch 1.8.3.1-20.el7 updates 55 k perl-Pod-Escapes noarch 1:1.04-293.el7 base 51 k perl-libs x86_64 4:5.16.3-293.el7 base 688 k perl-macros x86_64 4:5.16.3-293.el7 base 44 k policycoreutils x86_64 2.5-29.el7 base 916 k policycoreutils-python x86_64 2.5-29.el7 base 456 k polkit x86_64 0.112-18.el7 base 168 k postfix x86_64 2:2.10.1-7.el7 base 2.4 M procps-ng x86_64 3.3.10-23.el7 base 291 k pyOpenSSL x86_64 0.13.1-4.el7 base 135 k python x86_64 2.7.5-76.el7 base 94 k python-devel x86_64 2.7.5-76.el7 base 398 k python-dmidecode x86_64 3.12.2-3.el7 base 83 k python-firewall noarch 0.5.3-5.el7 base 331 k python-libs x86_64 2.7.5-76.el7 base 5.6 M python-linux-procfs noarch 0.4.9-4.el7 base 33 k python-perf x86_64 3.10.0-957.1.3.el7 updates 7.1 M python-tools x86_64 2.7.5-76.el7 base 856 k python-urlgrabber noarch 3.10-9.el7 base 108 k qemu-guest-agent x86_64 10:2.12.0-2.el7 base 115 k rdma-core i686 17.2-3.el7 base 49 k rdma-core x86_64 17.2-3.el7 base 49 k redhat-rpm-config noarch 9.1.0-87.el7.centos base 81 k rfkill x86_64 0.4-10.el7 base 12 k rng-tools x86_64 6.3.1-3.el7 base 49 k rpcbind x86_64 0.2.0-47.el7 base 60 k rpm x86_64 4.11.3-35.el7 base 1.2 M rpm-build-libs x86_64 4.11.3-35.el7 base 106 k rpm-libs x86_64 4.11.3-35.el7 base 277 k rpm-python x86_64 4.11.3-35.el7 base 83 k rsyslog x86_64 8.24.0-34.el7 base 614 k satyr x86_64 0.13-15.el7 base 558 k scl-utils x86_64 20130529-19.el7 base 24 k selinux-policy noarch 3.13.1-229.el7_6.6 updates 483 k selinux-policy-targeted noarch 3.13.1-229.el7_6.6 updates 6.9 M setools-libs x86_64 3.3.8-4.el7 base 620 k setup noarch 2.8.71-10.el7 base 166 k sg3_utils-libs x86_64 1.37-17.el7 base 65 k shadow-utils x86_64 2:4.1.5.1-25.el7 base 1.1 M sos noarch 3.6-11.el7.centos updates 465 k sssd-client x86_64 1.16.2-13.el7 base 202 k strace x86_64 4.12-9.el7 base 459 k sudo x86_64 1.8.23-3.el7 base 841 k sysstat x86_64 10.1.5-17.el7 base 315 k systemd x86_64 219-62.el7 base 5.1 M systemd-libs i686 219-62.el7 base 411 k systemd-libs x86_64 219-62.el7 base 405 k systemd-python x86_64 219-62.el7 base 132 k systemd-sysv x86_64 219-62.el7 base 83 k systemtap-runtime x86_64 3.3-3.el7 base 438 k tar x86_64 2:1.26-35.el7 base 846 k teamd x86_64 1.27-5.el7 base 112 k tkinter x86_64 2.7.5-76.el7 base 326 k tuned noarch 2.10.0-6.el7 base 254 k tzdata noarch 2018g-1.el7 updates 484 k util-linux x86_64 2.23.2-59.el7 base 2.0 M vim-common x86_64 2:7.4.160-5.el7 base 5.9 M vim-enhanced x86_64 2:7.4.160-5.el7 base 1.0 M vim-filesystem x86_64 2:7.4.160-5.el7 base 10 k vim-minimal x86_64 2:7.4.160-5.el7 base 437 k wget x86_64 1.14-18.el7 base 547 k wpa_supplicant x86_64 1:2.6-12.el7 base 1.2 M xfsprogs x86_64 4.5.0-18.el7 base 897 k xorg-x11-font-utils x86_64 1:7.5-21.el7 base 104 k yum noarch 3.4.3-161.el7.centos base 1.2 M yum-plugin-fastestmirror noarch 1.1.31-50.el7 base 34 k yum-utils noarch 1.1.31-50.el7 base 121 k zlib i686 1.2.7-18.el7 base 91 k zlib x86_64 1.2.7-18.el7 base 90 k zlib-devel x86_64 1.2.7-18.el7 base 50 k Removing: kernel x86_64 3.10.0-862.3.3.el7 @updates 62 M Installing for dependencies: dejavu-fonts-common noarch 2.33-6.el7 base 64 k dejavu-sans-fonts noarch 2.33-6.el7 base 1.4 M fribidi x86_64 1.0.2-1.el7 base 79 k libglvnd x86_64 1:1.0.1-0.8.git5baa1e5.el7 base 89 k libglvnd-egl x86_64 1:1.0.1-0.8.git5baa1e5.el7 base 44 k libglvnd-glx x86_64 1:1.0.1-0.8.git5baa1e5.el7 base 125 k libsmartcols x86_64 2.23.2-59.el7 base 140 k python2-futures noarch 3.1.1-5.el7 base 29 k Transaction Summary ================================================================================= Install 5 Packages (+8 Dependent packages) Upgrade 295 Packages Remove 1 Package Total download size: 353 M Is this ok [y/d/N]:
アップデート後のバージョン
# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) # uname -a Linux 133-130-125-140.conoha.io 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
カーネルバージョンが 3.10.0-862 から 3.10.0-957 になりました。
次のバージョンでは、1000 を超えるのでしょうか。
ホスト名が変わった?
よく見たらホスト名が書き換わっています。
/var/log/messages にも下記のような表記が…
Dec 9 16:38:42 133-130-125-140 systemd-hostnamed: Changed static host name to '133-130-125-140.conoha.io' Dec 9 16:38:42 133-130-125-140 systemd-hostnamed: Changed host name to '133-130-125-140.conoha.io'
ホスト名が勝手に書き換わることは初めてですが、/etc/hostname を書き換えて再起動したところ、勝手に書き換わることはありませんでした。
OS アップデートの影響かは不明ですが、とりあえず直ったのでよかったということにします。