Problems upgrading to kernel 3.10.0-957.27.2

Apparently, the OCFS2 kmod we provide for CentOS 7 kernels of the 957 release is not compatible with revisions 27.2 and later. To solve this problem we have published a second release of this kmod, that is compatible with all current revisions of this kernel release. However, we have detected an error in the PREUN scriptlet of the previous RPM package that makes it impossible to remove it, with the following error message:

Error in PREUN scriptlet in rpm package kmod-ocfs2-flexvdi-k957-1.5.0-1.el7.x86_64

In order to correctly remove it, run the following commands:

# rpm -ql kmod-ocfs2-flexvdi-k957-1.5.0-1.el7.x86_64 | grep ‘\.ko$’ > /tmp/modules.txt
# yum remove –setopt=tsflags=noscripts kmod-ocfs2-flexvdi-k957-1.5.0-1.el7.x86_64
# cat /tmp/modules.txt | /usr/sbin/weak-modules –remove-modules
# rm /tmp/modules.txt

 

Leave a Reply

Your email address will not be published. Required fields are marked *