race with devmapper

Bug #74317 reported by Jerome Haltom
6
Affects Status Importance Assigned to Milestone
evms (Ubuntu)
Fix Released
Critical
Scott James Remnant (Canonical)

Bug Description

During boot evms_activate (when run automatically) claimed:

ENGINE: can't open devmapper node

This resulted in no /dev/evms nodes being created.

Once I got to an initramfs console:

(initramfs) evms_activate
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

Even though this Aborted message appeared, the proper evms device nodes were created (including devmapper nodes).

I suspect the first is a race with dm_mod. dm_mod is forced loaded in local-top/evms, but there is no assurance that it's control node has been created yet.

Related branches

Revision history for this message
Jerome Haltom (wasabi) wrote :

Prevents boot when using EVMS (sometimes?)

Changed in evms:
importance: Undecided → High
Revision history for this message
Jerome Haltom (wasabi) wrote :

Bug #74319 to track spurious error message.

Revision history for this message
Jerome Haltom (wasabi) wrote :
Revision history for this message
Jerome Haltom (wasabi) wrote :

I am of the opinion that this bug is critical, as one can no longer boot off of an evms drive in feisty as it stands now. Existing systems deployed with EVMS as root will simply not boot and drop to an initramfs console.

I believe the fix at this point is trivial: include evms's udev rules in the initramfs.

Changed in evms:
importance: High → Critical
Revision history for this message
Tollef Fog Heen (tfheen) wrote :

Ian, can you please take a look at this?

Changed in evms:
assignee: nobody → ijackson
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

I'll handle this one -- it just needs the evms rules file copied into the initramfs

Changed in evms:
assignee: ijackson → keybuk
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Uploaded

Changed in evms:
status: Unconfirmed → Fix Released
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.