Re: [Lxc-users] [NFS] nfs server

2011-08-09 Thread Jeremy MAURO
Hi everyone, Any updates about this request, because I am unable to setup a nfs server on the container without a nfs-server on the main server. Once the nfs-kernel-server is setup on the main server, I am still unable to mount the nfs exports: On the main server:

Re: [Lxc-users] [PATCH 1/3] fix lxc-ls with mtab != /proc/mounts

2011-08-09 Thread Daniel Lezcano
On 08/03/2011 04:56 PM, Serge E. Hallyn wrote: The cgroup mounts created by cgroup-bin do not show up in /etc/mtab. lxc-ls, as lxc-ps before it, assumes that /etc/mtab is symlinked to /proc/mounts. Author: Serge Hallyn serge.hal...@canonical.com Forwarded: no Bug-Ubuntu:

Re: [Lxc-users] [PATCH 2/3] make lxc-netstat work when /etc/mtab is not /proc/mounts

2011-08-09 Thread Daniel Lezcano
On 08/03/2011 04:57 PM, Serge E. Hallyn wrote: like lxc-ps and lxc-ls, lxc-netstat breaks if there is not an 'lxc' cgroup mount and /etc/mtab is not a link to /proc/mounts. Author: Serge Hallyn serge.hal...@canonical.com Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/819319

Re: [Lxc-users] Silence lxc-unshare warning when removing cgroup

2011-08-09 Thread Daniel Lezcano
On 08/03/2011 04:57 PM, Serge E. Hallyn wrote: If ns cgroup is mounted, then when lxc-unshare runs, the kernel automatically creates a new cgroup for the task. So lxc-unshare tries to delete it. But if ns cgroup is not mounted, that cgroup does not get created, and now lxc-unshare spits an

Re: [Lxc-users] add ubuntu-keyring to the packagelist for oneiric containers.

2011-08-09 Thread Daniel Lezcano
On 07/28/2011 08:17 PM, Serge E. Hallyn wrote: Otherwise apt fails during and after debootstrap. Signed-off-by: Serge Hallyn serge.hal...@canonical.com Applied. -- uberSVN's rich system and user administration

Re: [Lxc-users] lxc-ps: support '-n name' and '-- ps-options'

2011-08-09 Thread Daniel Lezcano
On 08/05/2011 03:49 PM, Serge E. Hallyn wrote: This is more consistent with other lxc commands Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/820720 Applied, thanks. -- uberSVN's rich system and user

Re: [Lxc-users] Use container's /run/utmp if it exists

2011-08-09 Thread Daniel Lezcano
On 07/28/2011 08:20 PM, Serge E. Hallyn wrote: If /var/run is a symlink to /run in the container, then opening /proc/pid/root/var/run/utmp will end up opening the host's utmp. Therefore the hack detecting shutdown through utmp fails. Signed-off-by: Serge Hallyn serge.hal...@canonical.com

[Lxc-users] lxc-setuid - does setuid for scripts work?

2011-08-09 Thread Jasim A Basheer
Hello, I needed a way to get lxc-create and lxc-execute to run as root when invoked through a process with normal privileges. Found that the lxc-setuid utility exists which assigns the uid bit to all the lxc scripts. But this does not work for me since Linux distros doesn't respect the setuid

Re: [Lxc-users] [NFS] nfs server

2011-08-09 Thread Rob Landley
On 08/09/2011 08:27 AM, Kirill A. Shutemov wrote: On Tue, Aug 09, 2011 at 03:10:44PM +0200, Daniel Lezcano wrote: On 08/09/2011 10:03 AM, Jeremy MAURO wrote: Hi everyone, Any updates about this request, because I am unable to setup a nfs server on the container without a nfs-server on the

Re: [Lxc-users] [NFS] nfs server

2011-08-09 Thread Rob Landley
On 08/09/2011 08:27 AM, Kirill A. Shutemov wrote: On Tue, Aug 09, 2011 at 03:10:44PM +0200, Daniel Lezcano wrote: On 08/09/2011 10:03 AM, Jeremy MAURO wrote: Hi everyone, Any updates about this request, because I am unable to setup a nfs server on the container without a nfs-server on the