0 Replies Latest reply on Nov 26, 2018 7:07 AM by 3436733

    kernel-uek scriptlet sets DEFAULTKERNEL to kernel-uek


      by default we use rhel compatible kernel on our boxes but we also include kernel-uek as fallback. the problem is everytime system is updated and kernel-uek happens to be part of the upgrade transaction this piece of code is executed

      [root@vagrant ~]# rpm -q --scripts kernel-uek-4.14.35-1838.el7uek.x86_64 | grep -A5 postinstall

      postinstall scriptlet (using /bin/sh):


      if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&

         [ -f /etc/sysconfig/kernel ]; then

        /bin/sed -r -i -e 's/^DEFAULTKERNEL=.*$/DEFAULTKERNEL=kernel-uek/' /etc/sysconfig/kernel || exit $?



      and kernel-uek is made default. I don't think that kernel-uek scriptlet should made such assumptions and force itself to be default but leave this decision to the users as rhel compatible kernel does. I would propose to remove this block of code. Thoughts?