[Intrepid] boot failure: by-uuid symlinks not created

Bug #238793 reported by Mathieu Bérard
8
Affects Status Importance Assigned to Milestone
devmapper (Debian)
Fix Released
Unknown
devmapper (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: dmsetup

Hi,
since update to dmsetup 1.02.25-1ubuntu1, logical volumes are not symlinked anymore to /dev/by-uuid causing mount by-uuid failure at boot time.
the culprit is in the 65-dmsetup.rules udev script at line 20:

"ENV{DM_TARGET_TYPES}=="|*error*", GOTO="dmsetup_end"

the string seems to always match resulting in a bogus goto to the end of the script skipping the /dev/by-uuid symlink creation.
Commenting the offending line workaround the problem.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Could you run dmsetup --export on each of your dm devices and provide the output

Revision history for this message
Mathieu Bérard (mathieu-berard) wrote :

Here it is:

DM_NAME="Base-Home"
DM_STATE=ACTIVE
DM_STATE_RO=
DM_LAST_EVENT_NR=0
DM_MAJOR=254
DM_MINOR=3
DM_UUID="LVM-Eg2r6VSOvYLo39WXu8UTJfLiHuxny02zkOYrs2p8S00Z22lYO19y66rHx6L1vBFe"

DM_NAME="Base-Root"
DM_STATE=ACTIVE
DM_STATE_RO=
DM_LAST_EVENT_NR=0
DM_MAJOR=254
DM_MINOR=0
DM_UUID="LVM-Eg2r6VSOvYLo39WXu8UTJfLiHuxny02zLjaTzvyISJ8bv5pSzRy4Le5hsLE4fI0p"

DM_NAME="Base-Usr"
DM_STATE=ACTIVE
DM_STATE_RO=
DM_LAST_EVENT_NR=0
DM_MAJOR=254
DM_MINOR=1
DM_UUID="LVM-Eg2r6VSOvYLo39WXu8UTJfLiHuxny02zQdmVhNhCQQDnECYm2nz5pDLVgTw0HCUN"

DM_NAME="Base-Var"
DM_STATE=ACTIVE
DM_STATE_RO=
DM_LAST_EVENT_NR=0
DM_MAJOR=254
DM_MINOR=2
DM_UUID="LVM-Eg2r6VSOvYLo39WXu8UTJfLiHuxny02zilrOlvKXUwTjYnfph3kSB7freQT6zd34"

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

DM_TARGET_TYPES appears to be missing - Martin?

Revision history for this message
Martin Pitt (pitti) wrote :

Merge error, taking.

Changed in devmapper:
assignee: nobody → pitti
importance: Undecided → High
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

 devmapper (2:1.02.25-1ubuntu2) intrepid; urgency=low
 .
   * debian/patches/dmsetup-export.patch: re-add DM_TARGET_TYPE exports,
     required for detecting state of dm devices during udev rule execution
     and sane creation of by-uuid symlinks (forwarded to Debian #486780).

Changed in devmapper:
status: In Progress → Fix Released
Changed in devmapper:
status: Unknown → New
Changed in devmapper:
status: New → 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.