5.1.6 Upgrade fails if open files limit is too low and rpm-plugin-systemd-inhibit is installed

An upgrade from Oracle Linux 7 Update 6 can fail if the log-in session open files limit is set too low and the system that is being upgraded includes multiple packages from many channels or repositories. This issue can be triggered if the rpm-plugin-systemd-inhibit package is installed and the session is configured for a maximum open file limit that is lower than 4096. The issue typically results in yum failing to update and error messages similar to the following:

Verifying  : glib2-static-2.56.1-1.el7.i686
glib2-static-2.56.1-1.el7.i686 was supposed to be installed but is not!

To resolve this issue, set the open file limit to 4096 before running yum update:

# ulimit -n 4096
# yum update -y

(Bug ID 28720235)