% sudo preupg
Preupg tool doesn't do the actual upgrade.
Please ensure you have backed up your system and/or data in the event of a failed upgrade
that would require a full re-install of the system from installation media.
Do you want to continue? y/n
y
Gathering logs used by preupgrade assistant:
All installed packages : 01/11 ...running finished (time 00:02s)
All changed files : 02/11 ...running finished (time 02:08s)
Changed config files : 03/11 ...running finished (time 00:00s)
All users : 04/11 ...running finished (time 00:00s)
All groups : 05/11 ...running finished (time 00:00s)
Service statuses : 06/11 ...running finished (time 00:00s)
All installed files : 07/11 ...running finished (time 00:03s)
All local files : 08/11 ...running finished (time 00:12s)
All executable files : 09/11 ...running finished (time 00:12s)
RedHat signed packages : 10/11 ...running finished (time 00:00s)
CentOS signed packages : 11/11 ...running finished (time 00:00s)
Assessment of the system, running checks / SCE scripts:
001/096 ...running (Configuration Files to Review) done (Configuration Files to Review)
長いので省略
096/096 ...running (NIS server config file back-up) done (NIS server config file back-up)
Assessment finished (time 03:06s)
I/O warning : failed to load external entity "/usr/share/openscap/xsl/security-guide.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 40 element import
xsl:import : unable to load /usr/share/openscap/xsl/security-guide.xsl
I/O warning : failed to load external entity "/usr/share/openscap/xsl/oval-report.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 41 element import
xsl:import : unable to load /usr/share/openscap/xsl/oval-report.xsl
I/O warning : failed to load external entity "/usr/share/openscap/xsl/sce-report.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 42 element import
xsl:import : unable to load /usr/share/openscap/xsl/sce-report.xsl
OpenSCAP Error:: Could not parse XSLT file '/usr/share/preupgrade/xsl/preup.xsl' [oscapxml.c:416]
Unable to open file /root/preupgrade/result.html
Usage: preupg [options]
preupg: error: [Errno 2] No such file or directory: '/root/preupgrade/result.html'%
In Place Upgrade CentOS 6.5 to 7.0 using preupgだからかな。これはCentOS6.8だし。
過去は忘れよう。
; Unix user/group of processes
; Note: The user is mandatory. If the group is not set, the default user's group
; will be used.
; RPM: apache Choosed to be able to access some dir as httpd
user= nginx
; RPM: Keep a group allowed to write in log dir.
group= nginx