From 2ee0b0a2aea567e64aabc7bab7b5236d01e37ce4 Mon Sep 17 00:00:00 2001 From: Robert Marshall Date: Thu, 16 Jun 2016 12:48:47 -0400 Subject: [PATCH] Keep fsfreeze in install environment (#1315468) The latest POWER platform allows a host machine to configure guests running in a different endian mode. Guests configured in this way may have their bootloader configuration file corrupted after installation if the file was not fully written to disk. The host machine would read the journal and try to finish writing the file in the wrong endian mode. Issuing an fsfreeze and unfreeze gives more assurance that the configuration file is properly written before a reboot; this patch adds fsfreeze to the installer runtime environment. Related: rhbz#1315468 (cherry picked from commit 9543a46dac8b4b15c0fba89fdb8c8609524008a9) --- share/runtime-cleanup.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index d01ae66e..4b43eefe 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -322,7 +322,7 @@ removefrom util-linux --allbut \ /usr/bin/{dmesg,getopt,kill,login,lsblk,more,mount,umount,mountpoint} \ /etc/mtab /etc/pam.d/login /etc/pam.d/remote \ /usr/sbin/{agetty,blkid,blockdev,clock,fdisk,fsck,fstrim,hwclock,losetup} \ - /usr/sbin/{mkswap,nologin,sfdisk,swapoff,swapon,wipefs,partx} \ + /usr/sbin/{mkswap,nologin,sfdisk,swapoff,swapon,wipefs,partx,fsfreeze} \ /usr/bin/{logger,hexdump,flock} removefrom volume_key-libs /usr/share/locale/* removefrom wget /etc/* /usr/share/locale/*