Quoting Vitaly Belostotsky ([email protected]): > Hi, all! > > I'm trying to reproduce steps in > https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/. > Everything goes well except for sudo producing error: > > sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the > 'nosuid' option set or an NFS file system without root privileges? > > I'm using updated ubuntu 14.04 distro. > > OTOH, when I use lxc-attach, I get the root shell in container and I can > execute necessary commands (such as apt-get). But it's not as convenient, > I'd prefer to use sudo. > > What is my mistake? > I failed to google relevant info, so I ask here. Thanks in advance.
Hi, I suspect you're seeing this bug: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1263738 I no longer see it in most cases with trusty and later guests at least - precise guests probably would still exhibit it. What host and guest OS+release are you using? _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
