Bug 738588

Summary: systemd boot failed with mdadm arrays
Product: [openSUSE] openSUSE 12.1 Reporter: Norbert Hornyak <hnsz2002>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P2 - High CC: crrodriguez, fcrozat, konwol123, petr.m
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Norbert Hornyak 2011-12-26 14:30:21 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

If mountpoints on md array, system booting hang up, because cannot mount the partition.

Reproducible: Always

Steps to Reproduce:
1. Place your system (/,/boot,/home) on md array (on my pc is a 3disk raid5)
2. Do it the neccassary things (mdadm.conf,fstab fix, grub kernel command line fix...)
3. And try to boot with systemd
(with legacy sysvinit boot my system correctly)
Actual Results:  
Booting hangup, emergency system, give root passoword for login... Then i press ctrl+d once or twice, and the boot process continue.

Expected Results:  
Booting without any problem

here is my boot log: http://paste.opensuse.org/80511697
Comment 1 Cristian Rodríguez 2012-01-02 17:55:26 UTC
Try 



zypper in -f http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12.1/x86_64/systemd-37-321.1.x86_64.rpm


and reboot.

report success or failure.
Comment 2 Norbert Hornyak 2012-01-02 18:48:45 UTC
(In reply to comment #1)
> Try 
> 
> 
> 
> zypper in -f
> http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12.1/x86_64/systemd-37-321.1.x86_64.rpm
> 
> 
> and reboot.
> 
> report success or failure.

Success, the system booted!
Comment 3 Cristian Rodríguez 2012-01-02 18:52:22 UTC
Known bug, that package above is scheduled to be released as an update in the near days.
Comment 4 Neil Brown 2012-01-03 02:31:06 UTC
*** Bug 724909 has been marked as a duplicate of this bug. ***
Comment 5 Neil Brown 2012-01-04 05:41:29 UTC
*** Bug 733283 has been marked as a duplicate of this bug. ***
Comment 6 Norbert Hornyak 2012-02-22 19:30:42 UTC
http://paste.opensuse.org/82851302

Still available...
Not always but sometimes happen right now... In this boot log with md15. Same things, "give root password for login", I pressed ctrl+d, and booting continued.
Comment 7 Frederic Crozat 2012-02-23 12:42:50 UTC
please try the latest version of systemd package from http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12.1/

and do not use pastebin to attach dmesg output but attach them directly to bugzilla.
Comment 8 Neil Brown 2012-03-22 03:16:58 UTC
Hi Frederic,
 hope it is OK that I reassign this to you - you seem to be doing the useful stuff.
Thanks.
Comment 9 Forgotten User DOi6FKFx5Z 2012-05-04 08:20:12 UTC
Hello,

I think this https://bugzilla.novell.com/show_bug.cgi?id=752107 is almost the same thing as the one presented here but at shutdown due to killing / unmounting

Frederic, could you please let me know if this is true so I install your updated version of systemd or I need to wait for a patch to the BID 752107 ?

Thanks.
Comment 10 Frederic Crozat 2012-05-04 08:32:15 UTC
(In reply to comment #9)
> Hello,
> 
> I think this https://bugzilla.novell.com/show_bug.cgi?id=752107 is almost the
> same thing as the one presented here but at shutdown due to killing /
> unmounting
> 
> Frederic, could you please let me know if this is true so I install your
> updated version of systemd or I need to wait for a patch to the BID 752107 ?

well, in any case, you should install the version for update repository (which is equivalent to the one in my repository). But I don't think it will fix your issue, which is a different one.
Comment 11 Frederic Crozat 2012-06-05 10:05:41 UTC
I'm closing the bug as fixed, since the update was released and fixes the original bug report.