[Bug 306275] [NEW] generate_uuids.dpatch breaks deactivation
Phillip Susi
psusi at cfl.rr.com
Mon Dec 8 16:37:09 UTC 2008
Public bug reported:
Binary package hint: dmraid
04_genereate_uuids.dpatch changes run_task like so:
- if (ret)
- ret = dm_task_run(dmt);
+ if (ret &&
+ DM_DEVICE_CREATE == type)
+ ret = dmraid_uuid(lc, rs, uuid, DM_UUID_LEN) &&
+ dm_task_set_uuid(dmt, uuid) &&
+ dm_task_run(dmt);
This change causes dm_task_run() to only be called for
type==DM_DEVICE_CREATE, so when it is called with DM_DEVICE_REMOVE from
dm_remove() it creates the task, but never executes it.
This is for the rc14 version in Intrepid, not rc15 in Jaunty.
** Affects: dmraid (Ubuntu)
Importance: Undecided
Status: New
--
generate_uuids.dpatch breaks deactivation
https://bugs.launchpad.net/bugs/306275
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list