Upgrade of kernel - mkinitrd fails with: Failed to install /lib/libsoftokn3.so

Solution Verified - Updated -

Issue

  • The upgrade of the kernel fails during the post script in mkinitrd:

      Installing : kernel-2.6.32-754.41.2.el6.x86_64                            1/1
    E: Failed to install /lib/libsoftokn3.so
    mkinitrd failed
    warning: %posttrans(kernel-2.6.32-754.41.2.el6.x86_64) scriptlet failed, exit status 1
    Non-fatal POSTTRANS scriptlet failure in rpm package kernel-2.6.32-754.41.2.el6.x86_64
    
  • A manual run of dracut also fails:

    dracut -f -v /boot/initramfs-2.6.32-754.41.2.el6.x86_64.img 2.6.32-754.41.2.el6.x86_64
    I: Executing /sbin/dracut -f -v /boot/initramfs-2.6.32-754.41.2.el6.x86_64.img 2.6.32-754.41.2.el6.x86_64
    I: Installing /bin/dash
    I: Installing /usr/share/dracut/modules.d/01fips/fips-boot.sh
    I: Installing /usr/share/dracut/modules.d/01fips/fips-noboot.sh
    I: Installing /usr/share/dracut/modules.d/01fips/fips.sh
    I: Installing /usr/bin/sha512hmac
    I: Installing /sbin/rmmo
    I: Installing /sbin/insmod
    I: Installing /bin/mount
    I: Installing /bin/uname
    I: Installing /bin/umount
    E: Failed to install /lib/libsoftokn3.so
    

Environment

  • Red Hat Enterprise Linux
  • mkinitrd
  • kernel

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content