I was seeing the Permission denied - failed to get real path for [...]
error on Ubuntu 14.04 with LXC 1.0.5-0ubuntu0.1 and linux-
image-3.13.0-32-generic, and after some fruitless debugging, figured out
I just needed to add +x permission on the container directory itself:
setfacl -m u:10:x ~/
This bug was fixed in the package lxc - 1.0.1-0ubuntu1
---
lxc (1.0.1-0ubuntu1) trusty; urgency=medium
* New upstream bugfix release. (LP: #1246094, LP: #1277466)
Changelog at: https://linuxcontainers.org/news
* Add xz-utils to lxc-templates' dependencies.
-- Stephane Graber
** Changed in: lxc (Ubuntu)
Importance: Undecided = Medium
** Changed in: lxc (Ubuntu)
Status: Incomplete = Triaged
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1277466
** Changed in: lxc (Ubuntu)
Status: Triaged = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1277466
Title:
unprivileged containers fail to start with
The problem does seem to be an LXC bug. However, I can work around it by
changing the perms on my home directory from 0750 to 0755.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1277466