...
The Avamar OS Security Rollup installation workflow stops and returns an error.A manual attempt to run the command that failed on the affected node results in the following errors: root@avamar:~/#: avosrollup --kernel -p Quarterly-SLES-Updates-12SP5 Show /boot partition information: Available space: Filesystem Size Used Avail Use% Mounted on /dev/sda1 979M 49M 879M 6% /boot Files in /boot: total 41M -rw-r--r-- 1 root root 3.3M May 8 2021 System.map-4.12.14-122.71-default -rw-r--r-- 1 root root 512 Sep 8 2021 backup_mbr -rw-r--r-- 1 root root 1.7K Oct 26 2018 boot.readme -rw-r--r-- 1 root root 184K May 8 2021 config-4.12.14-122.71-default drwxr-xr-x 5 root root 4.0K Dec 6 21:29 grub2 lrwxrwxrwx 1 root root 35 Dec 6 21:29 initrd -> /boot/initrd-4.12.14-122.71-default -rw------- 1 root root 13M Oct 13 2021 initrd-4.12.14-122.71-default -rw------- 1 root root 17M Dec 6 19:33 initrd-4.12.14-122.71-default-kdump drwx------ 2 root root 16K Sep 8 2021 lost+found -rw-r--r-- 1 root root 484 May 8 2021 sysctl.conf-4.12.14-122.71-default lrwxrwxrwx 1 root root 36 Dec 6 21:29 vmlinuz -> /boot/vmlinuz-4.12.14-122.71-default -rw-r--r-- 1 root root 6.9M May 8 2021 vmlinuz-4.12.14-122.71-default Files in /boot/grub2: total 36K -rw-r--r-- 1 root root 105 Sep 8 2021 device.map drwxr-xr-x 2 root root 4.0K Sep 8 2021 fonts -rw------- 1 root root 5.7K Dec 6 21:29 grub.cfg -rw-r--r-- 1 root root 1.0K Dec 6 21:29 grubenv drwxr-xr-x 2 root root 12K Dec 6 21:29 i386-pc drwxr-xr-x 2 root root 4.0K Dec 6 21:29 locale Installation of kernel-default-4.12.14-122.139.1.x86_64 failed: Error: Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.tayCpC: line 1: /usr/lib/module-init-tools/kernel-scriptlets/rpm-pre: No such file or directory error: %pre(kernel-default-4.12.14-122.139.1.x86_64) scriptlet failed, exit status 127 error: kernel-default-4.12.14-122.139.1.x86_64: install failed Problem occurred during or after installation or removal of packages: Installation aborted by user Please see the above error message for a hint. Loading repository data... Reading installed packages... Resolving package dependencies... The following item is locked and will not be changed by any action: Available: snapper The following NEW package is going to be installed: kernel-default-4.12.14-122.139.1 The following package has no support information from it's vendor: kernel-default-4.12.14-122.139.1 1 new package to install. Overall download size: 0 B. Already cached: 54.7 MiB. After the operation, additional 251.8 MiB will be used. Continue? [y/n/...? shows all options] (y): y In cache kernel-default-4.12.14-122.139.1.x86_64.rpm (1/1), 54.7 MiB (251.8 MiB unpacked) Checking for file conflicts: [....done] (1/1) Installing: kernel-default-4.12.14-122.139.1.x86_64 [..error] Abort, retry, ignore? [a/r/i] (a): a Warning: %posttrans scripts skipped while aborting: kernel-default-4.12.14-122.139.1.x86_64.rpm zypper up kernel-default exit code: 8 zypper -n up -r Directory module-init-tools/kernel-scriptlets/rpm-pre does not exist Upon checking the /usr/lib/module-init-tools, we can see that the kernel-scriptlets directory does not exist: root@avamar:/usr/lib/module-init-tools/#: ls -lha total 56K drwxr-xr-x 2 root root 4.0K Oct 13 2021 . drwxr-xr-x 51 root root 4.0K Oct 13 2021 .. -rwxr-xr-x 1 root root 7.2K Mar 14 2019 driver-check.sh -rwxr-xr-x 1 root root 1.3K Sep 8 2015 regenerate-initrd-posttrans -rwxr-xr-x 1 root root 8.8K Jun 5 2013 weak-modules -rwxr-xr-x 1 root root 21K Jun 15 2019 weak-modules2 root@avamar:/usr/lib/module-init-tools/#:
The RPMs are being installed out of order by the installation script.
Workaround:Install the suse-module-tools RPM prior to installing the new kernel RPM.1. Log in to the affected node as the root user.2. Install the suse-module-tools RPM from the OS Rollup repository. zypper in -f suse-module-tools3. Repeat the action on all affected nodes.4. Resume the workflow.Permanent Solution:This is under investigation by Avamar Engineering.
Click on a version to see all relevant bugs
Dell Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.