[Bug 1213655] New: KIWI image: second and following boots fall back to admin console
https://bugzilla.suse.com/show_bug.cgi?id=1213655 Bug ID: 1213655 Summary: KIWI image: second and following boots fall back to admin console Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: x86-64 OS: openSUSE Leap 15.4 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: piotr.sarnacki@jci.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Hello , we have experiencing some boot problems with some type of our units . problems exists with appliance built using KIWI (latest official 15.4) on leap 15.4 .. Appliance install correctly, but fallback to emergency shell during every FULL ( from GRUB, not first boot from kexec) boot after install. error message lie this one: ---> [ 8.340113] localhost dracut-pre-mount[666]: enabling systemd-fsck-root.service [ 8.351725] localhost dracut-pre-mount[1021]: Removed /etc/systemd/system/systemd-fsck-root.service. [ 8.355097] localhost systemd[1]: Reloading. [ 8.570164] localhost systemd[1]: Finished dracut pre-mount hook. [ 8.597180] localhost systemd[1]: systemd-fsck-root.service: Bound to unit dev-disk-by\x2duuid-e2ea4757\x2d544f\x2d451f\x2da694\x2dccf91fca1f62.device, but unit isn't active. [ 8.597348] localhost systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/e2ea4757-544f-451f-a694-ccf91fca1f62. [ 8.600087] localhost systemd[1]: Dependency failed for /sysroot. [ 8.603109] localhost systemd[1]: Dependency failed for Initrd Root File System. [ 8.605867] localhost systemd[1]: Dependency failed for Reload Configuration from the Real Root. --> it fall back to admin console, executing systemctl status dracut-pre-mount show that service exit with SUCCESS/0 , when type exit , it return to the same state. now , when start service manually : systemct start dracut-pre-mount , it success and when we exit console boot process continue perfectly. ite happens every time. now , looking deeper into dracut KIWI pre-mout hooks , found a some quick fix (works for me 10/10 ) : rpm : dracut-kiwi-oem-repart.rpm kiwi rpms soure code: kiwi-9.24.43/dracut/modules.d/90kiwi-repart/kiwi-repart-disk.sh modifications: section: --> if ! resize_wanted "${root_device}" "${disk}"; then return fi --> change to: --> if ! resize_wanted "${root_device}" "${disk}"; then # JCI - jsarnap: to prevent dracut-pre-mount service and later systemd-fsck-root fail, # we need to make sure udev is settled and block devices files are populated. udevadm settle return fi --> where "udevadm settle" its a bit "harsh" , changing it to " # wait for the root device to appear wait_for_storage_device "${root_device}" " also works perfectly fine , also 10/10 . Now , I'm no expert in KIWI code .. I believe there are possibly better ways to fix it , but i hope it can spare you some time for looking whats going on, especially as it could very difficult to reproduce. if you need additional information about hardware, perform some test I am happy to help you. Best Regard piotr.sarnacki@jci.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213655 Piotr Sarnacki <piotr.sarnacki@jci.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocker|--- |No CC| |piotr.sarnacki@jci.com Found By|--- |Development -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213655 Paul Fee <pafee@tycoint.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pafee@tycoint.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com