dracutdevs / dracut

dracut the event driven initramfs infrastructure
https://github.com/dracutdevs/dracut/wiki
GNU General Public License v2.0
598 stars 397 forks source link

fix(dracut.sh): exit if resolving executable dependencies fails #2477

Closed aafeijoo-suse closed 1 year ago

aafeijoo-suse commented 1 year ago

We came across an issue where, when resolving executable dependencies, a call to a buggy glib function in dracut-install was causing a termination with SIGSEGV, but dracut didn't stop the build process, which resulted in an unbootable initrd, due to missing required libraries.

dracut: *** Resolving executable dependencies ***
xargs: /usr/lib/dracut/dracut-install: terminated by signal 11
dracut: *** Resolving executable dependencies done ***

Therefore, stop the initrd creation in this case.

Checklist