[Bug 1389305] Re: sudo doesn't work on unprivileged lxc container

Serge Hallyn 1389305 at bugs.launchpad.net
Wed Nov 19 14:35:07 UTC 2014


Ah, the ecryptfs $HOME might be the problem.  I haven't tested that
and wouldn't be surprised if ecryptfs prevented the console from
looking ok.  Could you try something like:

rm -rf $HOME/.config/lxc $HOME/.local/share/lxc
sudo mkdir /opt/lxc
sudo chown -R $USER /opt/lxc
mkdir /opt/lxc/config /opt/lxc/store
ln -s /opt/lxc/store $HOME/.local/share/lxc
ln -s /opt/lxc/config $HOME/.config/lxc

Then re-try the container create/setup.  This will create the
container rootfs on a non-ecryptfs filesystem.

-- 
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/1389305

Title:
  sudo doesn't work on unprivileged lxc container

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



More information about the Ubuntu-server-bugs mailing list