[Bug 783444] New: mkinitrd fails to produce correct mdadm.conf for initrd.
https://bugzilla.novell.com/show_bug.cgi?id=783444 https://bugzilla.novell.com/show_bug.cgi?id=783444#c0 Summary: mkinitrd fails to produce correct mdadm.conf for initrd. Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gadm@avalon-island.ru QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1200.0 Iron/21.0.1200.0 Safari/537.1 Due to bug in /lib/mkinitrd/scripts/setup-md.sh 'mkinitrd' fails to form correct configuration file for initrd, thus leading operating system to be non-bootable. Reproducible: Always Steps to Reproduce: 1. Set up Intel ICH partitionable RAID 2. Set up openSUSE on it 3. Reboot and check that reboot failed. Actual Results: The system should boot normally. Expected Results: System is in non-bootable state: LVM fails to find its physical volumes. By default, 'echo' does NOT recognise escape sequences, as such, line formed by previous script lines ("ARRAY ... \\nUUID= ...) will be put in mdadm.conf LITERALLY, that's obviously wrong. mdadm chokes and bails out. Fix is rather trivial: just add '-e' as first argument to 'echo' in line 95 of script. -- 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=783444 https://bugzilla.novell.com/show_bug.cgi?id=783444#c1 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com AssignedTo|bnc-team-screening@forge.pr |nfbrown@suse.com |ovo.novell.com | --- Comment #1 from Marcus Meissner <meissner@suse.com> 2012-10-04 08:17:20 UTC --- -> neil ... we might have fixed this in the pneding update? -- 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=783444 https://bugzilla.novell.com/show_bug.cgi?id=783444#c2 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Neil Brown <nfbrown@suse.com> 2012-10-04 12:07:58 UTC --- No, I think it might be that most recent update which broke this. I removed the '-e' because I thought it was only serving a different purpose which I had discarded (by introducing an array instead). I'll make an update tomorrow. Thanks for the report. -- 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=783444 https://bugzilla.novell.com/show_bug.cgi?id=783444#c3 --- Comment #3 from Swamp Workflow Management <swamp@suse.de> 2012-10-08 10:08:55 UTC --- openSUSE-RU-2012:1301-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 783444 CVE References: Sources used: openSUSE 12.2 (src): mdadm-3.2.5-3.17.1 -- 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=783444 https://bugzilla.novell.com/show_bug.cgi?id=783444#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-10-09 06:00:07 CEST --- This is an autogenerated message for OBS integration: This bug (783444) was mentioned in https://build.opensuse.org/request/show/137540 Factory / mdadm -- 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=783444 https://bugzilla.novell.com/show_bug.cgi?id=783444#c5 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Neil Brown <nfbrown@suse.com> 2012-10-17 23:39:51 UTC --- As the fix for this has been released, I'm closing the bug. 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.
participants (1)
-
bugzilla_noreply@novell.com