Ah, I see. It's because $homedir is an absolute path.
This will be a problem for regular containers as well.
The problem is that lxc takes an absolute path to mean that the path
should be prefixed by the rootfs location. It's ok for directory backed
containers as it accepts the source mount of
To be clear, the workaround I recomment for now is to update lxc-start-
ephemeral locally to remove the leading '/' from the second field, so
that the fstab looks like:
/home/gary home/gary none bind 0 0
--
You received this bug notification because you are a member of Ubuntu
Server Team, which
This bug was fixed in the package lxc - 0.7.5-3ubuntu47
---
lxc (0.7.5-3ubuntu47) precise; urgency=low
* 0065-fix-bindhome-relpath: use relative path as target for bind mount
in lxc-ubuntu template (LP: #968371)
-- Serge Hallyn serge.hal...@ubuntu.com Thu, 29 Mar 2012