Fix shared root from dm

These are the changes to work around lxc-start breaking when / is shared from the dm branch.
If we can merge these to master we have a smaller diff for the dm branch.