[Bug 854321] New: kiwi: netboot initrd creation broken
https://bugzilla.novell.com/show_bug.cgi?id=854321 https://bugzilla.novell.com/show_bug.cgi?id=854321#c0 Summary: kiwi: netboot initrd creation broken Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: System Imaging AssignedTo: ms@suse.com ReportedBy: cyberorg@opensuse.org QAContact: adrian@suse.com Found By: --- Blocker: --- Created an attachment (id=570722) --> (http://bugzilla.novell.com/attachment.cgi?id=570722) Boot stops with this error User-Agent: Mozilla/5.0 (X11; Linux i686; rv:25.0) Gecko/20100101 Firefox/25.0 kiwi --add-profile diskless --add-profile std --prepare /usr/share/kiwi/image/netboot//suse-13.1 --root /srv/kiwi-netboot-i386 && kiwi -y --create /srv/kiwi-netboot-i386 -d /srv/netboot/ Image size is too big: du -sh /srv/netboot/* 90M /srv/netboot/initrd-netboot-suse-13.1.i686-2.1.1.gz 0 /srv/netboot/initrd-netboot-suse-13.1.i686-2.1.1.kernel 4.6M /srv/netboot/initrd-netboot-suse-13.1.i686-2.1.1.kernel.3.11.6-4-default 4.0K /srv/netboot/initrd-netboot-suse-13.1.i686-2.1.1.kernel.3.11.6-4-default.md5 4.0K /srv/netboot/initrd-netboot-suse-13.1.i686-2.1.1.md5 28K /srv/netboot/initrd-netboot-suse-13.1.i686-2.1.1.packages 348K /srv/netboot/initrd-netboot-suse-13.1.i686-2.1.1.verified 0 /srv/netboot/plymouth.splash.active kiwidebug=1 option does not give debug terminal to get the logs. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854321 https://bugzilla.novell.com/show_bug.cgi?id=854321#c1 --- Comment #1 from Jigish Gohil <cyberorg@opensuse.org> 2013-12-07 10:15:25 UTC --- Created an attachment (id=570723) --> (http://bugzilla.novell.com/attachment.cgi?id=570723) build log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854321 https://bugzilla.novell.com/show_bug.cgi?id=854321#c2 Jigish Gohil <cyberorg@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #2 from Jigish Gohil <cyberorg@opensuse.org> 2013-12-07 10:19:39 UTC --- Blocks release of openSUSE Edu li-f-e media. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854321 https://bugzilla.novell.com/show_bug.cgi?id=854321#c3 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |cyberorg@opensuse.org --- Comment #3 from Marcus Schaefer <ms@suse.com> 2013-12-07 12:22:04 UTC --- it says "No supported DHCP client tool found (dhcpcd/dhclient)" and I think this is because of the which problem fixed here: commit 50051fbe2bca8727d23601809ddc413188121017 Author: Marcus Schäfer <ms@suse.de> Date: Wed Nov 27 15:49:12 2013 +0100 - eliminate the use of which in boot code * which is an extra tool, it was packages, splitted, dropped and is handled differently in the pool of distributions. Instead type -p provided as shell builtin is used which version of kiwi was used to build this ? I guess you ran into this problem talking about the size, yes 90M is big, but this should be discussed separately and is for the moment not considered a bug. I guess it's so big because the policy kit package pulls in the entire X stack. All this is not kiwi's fault it's the weird packaging of some core stuff Let's first focus on the initial problem. If you can confirm the version you used did not have the fix above you can workaround the issue by adding the following line to your image config.xml <package name="which" bootinclude="true"/> Hope that helps -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854321 https://bugzilla.novell.com/show_bug.cgi?id=854321#c4 Jigish Gohil <cyberorg@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|cyberorg@opensuse.org | --- Comment #4 from Jigish Gohil <cyberorg@opensuse.org> 2013-12-07 16:31:19 UTC --- iwi --version Dec-07 21:56:48 <1> : kiwi version v5.06.8 GIT Commit: 276d1f8ed7124a43e14a2add8c3096702de21ed3 See the build log, ------------ removed '/usr/bin/sg_wr_mode' removed '/usr/bin/eu-ar' removed '/usr/bin/rm' /.kconfig: line 795: rm: command not found /.kconfig: line 795: rm: command not found /.kconfig: line 795: rm: command not found ------------ I am guessing the size and this issue about missing dhclient are related, something to do with suseStripInitrd ignoring list in KIWIConfig.txt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854321 https://bugzilla.novell.com/show_bug.cgi?id=854321#c5 --- Comment #5 from Marcus Schaefer <ms@suse.com> 2013-12-08 10:38:15 UTC --- strage, thanks for the information, I'll check this on Monday -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854321 https://bugzilla.novell.com/show_bug.cgi?id=854321#c6 --- Comment #6 from Marcus Schaefer <ms@suse.com> 2013-12-08 13:23:55 UTC --- oh well yes I found two bugs with regards to this. Both fixed in master now commit 4d7b10c8d1214467dc63b43ccd45e22eb3be947a Author: Marcus Schäfer <ms@suse.de> Date: Sun Dec 8 14:17:43 2013 +0100 - fixed simple initrd creation mode (bnc #854321) * in this mode the inheritance of data from a system to the boot image is not needed because there is no system image just the boot image description. This fixes the handling of profiles passed on the commandline commit 8e1c8b754414dc67aa93ace92b72bd66845ce7d8 Author: Marcus Schäfer <ms@suse.de> Date: Sun Dec 8 12:16:35 2013 +0100 - fixed simple initrd creation mode (bnc #854321) * in this mode no image type was passed because the default build type from the configuration 'cpio' should be used. Depending on the type the selection to build a boot image or not is done but at the time of the selection the selected build type variable was not set I'll submit packages on Monday Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854321 https://bugzilla.novell.com/show_bug.cgi?id=854321#c8 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #8 from Marcus Schaefer <ms@suse.com> 2013-12-09 08:10:38 UTC --- I can reproduce the bug and fixed it. See the following commits in master commit 4d7b10c8d1214467dc63b43ccd45e22eb3be947a Author: Marcus Schäfer <ms@suse.de> Date: Sun Dec 8 14:17:43 2013 +0100 - fixed simple initrd creation mode (bnc #854321) * in this mode the inheritance of data from a system to the boot image is not needed because there is no system image just the boot image description. This fixes the handling of profiles passed on the commandline commit 8e1c8b754414dc67aa93ace92b72bd66845ce7d8 Author: Marcus Schäfer <ms@suse.de> Date: Sun Dec 8 12:16:35 2013 +0100 - fixed simple initrd creation mode (bnc #854321) * in this mode no image type was passed because the default build type from the configuration 'cpio' should be used. Depending on the type the selection to build a boot image or not is done but at the time of the selection the selected build type variable was not set I will submit new packages today to Virt:App Thanks for reporting this -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854321 https://bugzilla.novell.com/show_bug.cgi?id=854321#c9 Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |luizluca@tre-sc.gov.br --- Comment #9 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2014-01-09 18:22:48 UTC --- I have the same issue with OpenSUSE 13.1. Wasn't the fix backported to update repo? Indeed, the package from Virtualization:/Appliances works without problems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com