[Bug 331785] New: mk_initrd doesn't write initrd file
https://bugzilla.novell.com/show_bug.cgi?id=331785 Summary: mk_initrd doesn't write initrd file Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: deckel@novell.com QAContact: qa@suse.de CC: bwalle@novell.com Found By: IS&T I have configured you.suse.de as update source for testing updates. Two problems after I applied the kernel update from that source. 1. menu.lst contained only "Diskette" as entry. I solved that by copying old menu.lst.old back to menu.lst. 2. mk_initrd doesn't write initrd file. bwalle fixed that with that attached patch. -- 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=331785#c1
--- Comment #1 from Christian Deckelmann
https://bugzilla.novell.com/show_bug.cgi?id=331785
Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=331785#c2
Bernhard Walle
I have configured you.suse.de as update source for testing updates. Two problems after I applied the kernel update from that source. 1. menu.lst contained only "Diskette" as entry. I solved that by copying old menu.lst.old back to menu.lst.
Looks like this results from the mkinitrd failure (entry was removed in postun.sh but not added in post.sh). Anyway, since post.sh returns with an error code of 1, the user should be warned: 83 if ! /sbin/mkinitrd -k /boot/@IMAGE@-@KERNELRELEASE@ \ 84 -i /boot/initrd-@KERNELRELEASE@; then 85 echo "/sbin/mkinitrd failed" >&2 86 exit 1 87 fi The only bug I see here is that mkinitrd should not fail because of a splashy error => see the attached patch. -- 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=331785
Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=331785#c3
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=331785#c4
--- Comment #4 from Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=331785#c5
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=331785#c6
--- Comment #6 from Christian Deckelmann
https://bugzilla.novell.com/show_bug.cgi?id=331785
Christian Deckelmann
https://bugzilla.novell.com/show_bug.cgi?id=331785#c7
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=331785#c8
Alexander Graf
https://bugzilla.novell.com/show_bug.cgi?id=331785#c9
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=331785#c10
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=331785#c11
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=331785#c12
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=331785#c13
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=331785#c14
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=331785#c15
--- Comment #15 from Anja Stock
participants (1)
-
bugzilla_noreply@novell.com