Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Papp Tamas
On 02/20/2013 12:06 AM, Papp Tamas wrote: On 02/19/2013 11:53 PM, Serge Hallyn wrote: At this point, there will be a /var/lib/lxc/ltest/config which will list lxc.rootfs = /var/lib/lxc/ltest/rootfs. So these steps are not quite what you want. Perhaps you just want to sudo lxc-create

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Serge Hallyn
Quoting Papp Tamas (tom...@martos.bme.hu): On 02/20/2013 12:06 AM, Papp Tamas wrote: On 02/19/2013 11:53 PM, Serge Hallyn wrote: At this point, there will be a /var/lib/lxc/ltest/config which will list lxc.rootfs = /var/lib/lxc/ltest/rootfs. So these steps are not quite what you want.

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Papp Tamas
On 02/22/2013 03:22 PM, Serge Hallyn wrote: About what? What I described above should work. Yes, that's correct. It doesn't (at least for me) that's why it is a bug, I guess;) Note also that the staging branch now supports '-P|--lxcpath' for all commands, so you could simply sudo

Re: [Lxc-users] Refreshing for 2013: LXC hiding container processes from Host/HN's 'ps'

2013-02-22 Thread Serge Hallyn
Quoting Guido Jäkel (g.jae...@dnb.de): Dear Ian, to support your request in a convenience way, i recently drop in a small patch for the lxc-ps helper command. Using the LXC-aware frontend for ps, you're able to filter the ps output down to a (set of) named container or all of them.

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Serge Hallyn
Quoting Papp Tamas (tom...@martos.bme.hu): On 02/22/2013 03:22 PM, Serge Hallyn wrote: About what? What I described above should work. Yes, that's correct. It doesn't (at least for me) that's why it is a bug, I guess;) Note also that the staging branch now supports '-P|--lxcpath' for

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Serge Hallyn
Oh, my recipe wasn't quite right - when you sudo sed -i 's@/var/lib/lxc@/data/lxc@' /var/lib/lxc/r2/config that also changes the path to r2's fstab. So either you have to tweak the sed command, or sudo mv /var/lib/lxc/r2/fstab /data/lxc/r2/ With that, it works for me. -serge

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Stéphane Graber
On 02/22/2013 09:57 AM, Papp Tamas wrote: On 02/22/2013 03:54 PM, Serge Hallyn wrote: Why not? Why would I do that? It would just make myself confused. I don't see any reason to do that. tamas The biggest reason for the lxcpath feature is the introduction of user namespaces. Once

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Papp Tamas
On 02/22/2013 04:04 PM, Stéphane Graber wrote: Once every user will be able to just run lxc containers, you don't want them to have to check what container names the others are using to avoid clashing with them. I see, you're absolutely right. It'd have been confusing to restrict system

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Papp Tamas
On 02/22/2013 04:04 PM, Serge Hallyn wrote: Oh, my recipe wasn't quite right - when you sudo sed -i 's@/var/lib/lxc@/data/lxc@' /var/lib/lxc/r2/config that also changes the path to r2's fstab. So either you have to tweak the sed command, or sudo mv /var/lib/lxc/r2/fstab

[Lxc-users] listadmin

2013-02-22 Thread Papp Tamas
hi All, Who is the admin for this list? Failed to deliver to 'msklizman...@ebuddy.com' SMTP module(domain mail-in.ebuddy.com:25) reports: host mail-in.ebuddy.com:25 says: 550 5.1.1 User unknown If he/she doesn't have enough for that, I'd like to do it so much. I cannot help the project

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Stéphane Graber
On 02/22/2013 10:20 AM, Papp Tamas wrote: On 02/22/2013 04:04 PM, Stéphane Graber wrote: Once every user will be able to just run lxc containers, you don't want them to have to check what container names the others are using to avoid clashing with them. I see, you're absolutely right.

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Papp Tamas
On 02/22/2013 04:49 PM, Stéphane Graber wrote: We're planning on setting up a default lxcpath for user run containers, -P will just be used to override this. Excellent. Thanks, tamas -- Everyone hates slow

[Lxc-users] lxcpath

2013-02-22 Thread Papp Tamas
hi Serge and Others, lxc version: 0.9.0.alpha3 lxcpath=/data/lxc tank/lxc/ltest on /tank/lxc/ltest type zfs (rw,noatime) # sh -x /usr/bin/lxc-create -n ltest -t ubuntu + . /usr/share/lxc/lxc.functions + globalconf=/etc/lxc/lxc.conf + bindir=/usr/bin + templatedir=/usr/share/lxc/templates +