initramfs hook script exits prematurely creating bad defaults

Bug #82653 reported by Łukasz Stelmach
6
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: mdadm

If there are no defined ARRAYs in mdadm.conf the /usr/share/initramfs-tools/hooks/mdadm script stops at line 182. There seems to be no way to put MD_DEVS=none (line 270) to /conf/md.conf to prevent completly any md setup from initramfs. Now I've got kernel modules loaded.

I have installed mdadm but I neither want initscripts to start any arrays nor to load any modules.

Revision history for this message
Łukasz Stelmach (steelman) wrote :

If the INITRDSTART is 'none' than no arrays should be started and no modules loaded.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I have installed lvm2 which for some reasons bring in mdadm although I have no RAID. During package configuration I chose to not start any RAIDs automatically nor in the initramfs. Still, I get warnings about "no arrays" and "emergency procedure".

Changed in mdadm:
status: Unconfirmed → Confirmed
Revision history for this message
ceg (ceg) wrote :

Is this still an issue with recent releases?

Changed in mdadm (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? If so, please feel free to mark this bug as new. Thanks!

Revision history for this message
Łukasz Stelmach (steelman) wrote :

I am afraid it was so long ago that I can't find today anything more than I've already filed here.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mdadm (Ubuntu) because there has been no activity for 60 days.]

Changed in mdadm (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.