OK, so this check is failing.  dynamic_cast<>() is returning null
because this is being called from the constructor, and the vptr during
this stage of construction does not contain the information about the
derived class.  So we end up setting the mount device inappropriately.

This was working previously.  I can only assume that this is a change
due to a GCC upgrade, though it appears to affect both 4.6 and 4.7.

The code is definitely not following the letter of the C++ standard, so
it will require refactoring to remove this logic entirely.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1070008

Title:
  schroot session recovery mounts $device, not $mount-device, for LVM
  snapshots

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/schroot/+bug/1070008/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to