[Bug 557993] New: clicfs crashes under certain circumstances
http://bugzilla.novell.com/show_bug.cgi?id=557993 http://bugzilla.novell.com/show_bug.cgi?id=557993#c0 Summary: clicfs crashes under certain circumstances Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Live Medium AssignedTo: coolo@novell.com ReportedBy: ms@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- I have changed kiwi to use the mkinitrd tool run-init to boot into the system. While doing this I found some problems if the system is based on clicfs: 1) if you don't boot with ROOTFS_FSCK="0" the clicfs process crashes when the filesystem check runs 2) if you boot with exec /lib/mkinitrd/bin/run-init -c /dev/console /mnt /bin/bash -c \ "/preinit ; . /include ; cleanImage ; exec /sbin/init $option" the clicfs process crashes after a while. If you use cd /mnt && exec chroot . /bin/bash -c \ "/preinit ; . /include ; cleanImage ; exec /sbin/init $option" it works fine if also ROOTFS_FSCK="0" is set Could you take a look at these issues. I worked around them in the current code: /usr/share/kiwi/modules/KIWILinuxRC.sh Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557993 http://bugzilla.novell.com/show_bug.cgi?id=557993#c1 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ms@novell.com --- Comment #1 from Stephan Kulow <coolo@novell.com> 2009-12-08 13:31:24 UTC --- do you have some small ISO that triggers the problem? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557993 http://bugzilla.novell.com/show_bug.cgi?id=557993#c Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557993 http://bugzilla.novell.com/show_bug.cgi?id=557993#c2 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|ms@novell.com | --- Comment #2 from Marcus Schaefer <ms@novell.com> 2009-12-08 13:57:36 UTC --- you can use the suse-11.2-JeOS from the kiwi-templates package to reproduce this it fails in any case as soon as you use run-init. The current code has a workaround with a FIXME comment. Just take a look into KIWILinuxRC.sh and search for FIXME. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557993 http://bugzilla.novell.com/show_bug.cgi?id=557993#c Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557993 http://bugzilla.novell.com/show_bug.cgi?id=557993#c3 --- Comment #3 from Stephan Kulow <coolo@novell.com> 2010-04-13 11:06:51 UTC --- I can't find any signs of clicfs crashing. To me it looks like run-init simply kills all processes hard still running. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557993 http://bugzilla.novell.com/show_bug.cgi?id=557993#c4 --- Comment #4 from Marcus Schaefer <ms@novell.com> 2010-04-13 11:21:57 UTC --- I don't see where run-init.c kills any process ? it basically does some stats on files, mount-moves root and calls chroot. I really tried several times. When using run-init the clicfs process is always gone bug the run-init.c code doesn't point to an explicit kill or something maybe I overlooked something -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557993 http://bugzilla.novell.com/show_bug.cgi?id=557993#c5 --- Comment #5 from Marcus Schaefer <ms@novell.com> 2010-04-13 11:22:21 UTC --- kiwi/tools/runinit/run-init.c -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557993 http://bugzilla.novell.com/show_bug.cgi?id=557993#c6 --- Comment #6 from Marcus Schaefer <ms@novell.com> 2010-07-19 10:04:31 UTC --- this is still an open and valid issue, clicfs still crashes on 11.3 if you boot the system with run-init if you don't mind don't ignore it, at least some comment is appreciated Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=557993 http://bugzilla.novell.com/show_bug.cgi?id=557993#c7 --- Comment #7 from Stephan Kulow <coolo@novell.com> 2010-07-21 10:29:19 CEST --- I spent a full morning to create #3 - unless you're able to reproduce the problem in a way that makes debugging possible at all, I don't see a way. -- Configure bugmail: http://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=557993 https://bugzilla.novell.com/show_bug.cgi?id=557993#c8 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |NORESPONSE --- Comment #8 from Stephan Kulow <coolo@novell.com> 2011-01-14 10:19:22 CET --- I can't fix what I can't reproduce ;( -- 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=557993 https://bugzilla.novell.com/show_bug.cgi?id=557993#c9 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|NORESPONSE | --- Comment #9 from Marcus Schaefer <ms@novell.com> 2011-01-14 09:49:50 UTC --- Do the following to reproduce it (the bug still exists) I tested this today on a 11.3 system with latest clicfs installed 1) install kiwi kiwi-desc-isoboot kiwi-templates clicfs (latest version) 2) edit the file: /usr/share/kiwi/modules/KIWILinuxRC.sh search for # FIXME: clicfs doesn't like run-init change the code back so that run-init is used for clicfs too 3) create example iso: kiwi --build suse-11.3-JeOS --set-repo iso:///path/to/11.3.iso \ -d /some/destination --type iso 4) boot the iso in kvm or your preferred testing system. Somewhere after the system init runs clicfs crashes (looks like it is killed or received a signal I have no clue). That stage is hard to debug because you can't access the system. But I think you as the clicfs guru will find a way to let clicfs write a log or print it or something :) the run-init.c code from mkinitrd is really pretty simple I wasn't able to find out why it works without using run-init -- 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=557993 https://bugzilla.novell.com/show_bug.cgi?id=557993#c10 --- Comment #10 from Stephan Kulow <coolo@novell.com> 2011-01-14 12:16:02 CET --- sorry, but I already know that it is killed. But I have no idea who kills it. And I can't reproduce that without the specific kiwi initrd. -- 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=557993 https://bugzilla.novell.com/show_bug.cgi?id=557993#c11 --- Comment #11 from Marcus Schaefer <ms@novell.com> 2011-01-14 11:20:59 UTC --- the code for this initrd is in: /usr/share/kiwi/image/isoboot/suse-linuxrc you can change it there and rebuild the image you should remove the checksum though after a change in that file rm /usr/share/kiwi/image/isoboot/suse-*/.checksum.md5 -- 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=557993 https://bugzilla.novell.com/show_bug.cgi?id=557993#c12 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #12 from Stephan Kulow <coolo@suse.com> 2011-09-06 16:03:44 CEST --- I tried what you said and for some reason it works perfectly well in factory (even though the code is now to be found in include) -- 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