Public bug reported: Launching a dracut-based Questing Quokka (Ubuntu 25.10) instance on Oracle Cloud boots fine, but the following error messages are observed during the boot process:
[ 2.248948] dracut-cmdline[185]: /lib/net-lib.sh: line 432: shift: shift count out of range [ 2.251889] dracut-cmdline[185]: /lib/net-lib.sh: line 462: shift: shift count out of range The entire serial console can be observed here: https://pastebin.ubuntu.com/p/Zk55KqmfBg/ In order to reproduce this issue, I'm using the following steps to switch from initramfs-tools to dracut: 1. Install dracut: sudo apt update && sudo apt upgrade -y sudo apt install dracut-core dracut-network -y 2. Change grub options (needed on Oracle for iscsi boot, but not relevant for this specific use case): sudo sed -i 's|^GRUB_CMDLINE_LINUX_DEFAULT=.*|GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0 nvme_core.shutdown_timeout=10 crash_kexec_post_notifiers rd.luks=0 rd.md=0 rd.dm=0 rd.net.timeout.carrier=5 rd.iscsi.param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 libiscsi.debug_libiscsi_eh=1 rd.net.timeout.dhcp=10 ip=dhcp netroot=iscsi rd.iscsi.firmware=1"|' /etc/default/grub.d/50-cloudimg-settings.cfg 3. Update grub: sudo update-grub 4. Generate initrd with dracut: sudo dracut -f --regenerate-all 5. Cleanup cloud-init config: sudo cloud-init clean -l --machine-id -s -c all 6. Create an image on Oracle Cloud and launch an instance using this image. Observe the serial console during boot. ** Affects: dracut (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2121865 Title: /lib/net-lib.sh shift count out of range errors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2121865/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
