Re: [lxc-users] lxc-fedora template

2014-06-04 Thread Michael H. Warfield
On Thu, 2014-06-05 at 01:49 +0200, István Király wrote: > The template displays the password at creation, and its not root:root. > Username is root, but password is something like > Root-Containername-randompass ... That's still not going to work due to the kernel configuration bug I posted befor

Re: [lxc-users] lxc-fedora template

2014-06-04 Thread István Király
The template displays the password at creation, and its not root:root. Username is root, but password is something like Root-Containername-randompass ... On Wed, Jun 4, 2014 at 11:44 PM, Dmitry Kolesov wrote: > Hi, > > Yes, The first I tried to use root:root and then I changed the root's > pass

Re: [lxc-users] lxc-fedora template

2014-06-04 Thread Dmitry Kolesov
Hi, Yes, The first I tried to use root:root and then I changed the root's password. But always I have message "Login incorrect" on login. Regards, Dmitry 2014-06-05 2:43 GMT+11:00 : > Hi, .. > > Do you try to login as root? With the password generated by the template? > > > On Wed, Jun 4, 2014

Re: [lxc-users] firewall per sandbox

2014-06-04 Thread Stéphane Graber
On Wed, Jun 04, 2014 at 02:14:30PM -0700, Vijay Viswanathan wrote: > Hi, > What is the best way to implement a firewall in a container ? > Currently, Iam thinking of associating an interface ( lets say veth21) to a > container and apply iptable rules on that interface. > veth21 will be bridged to h

[lxc-users] firewall per sandbox

2014-06-04 Thread Vijay Viswanathan
Hi, What is the best way to implement a firewall in a container ? Currently, Iam thinking of associating an interface ( lets say veth21) to a container and apply iptable rules on that interface. veth21 will be bridged to host interface. This way I can filter traffic going in/out host network. Ple

Re: [lxc-users] Unprivileged container and multiple/external users

2014-06-04 Thread Serge Hallyn
Quoting Andre Nathan (an...@digirati.com.br): > Hello > > I'm currently running in production a pre-1.0 LXC version. These run a > minimum number of processes as root and a bunch of processes running as > a normal user (eg. apache, cron, syslog-ng). Most container directories > are bind-mounted fr

Re: [lxc-users] Cold Migration

2014-06-04 Thread Tamas Papp
On 06/04/2014 05:43 PM, Claudio Biale wrote: Could you confirm if the tasks are: - Stop the container - Copy the files to the destination host - Start the container in the destination host - Delete the original files Is there any additional task to perform? Don't forget to copy additional con

[lxc-users] Unprivileged container and multiple/external users

2014-06-04 Thread Andre Nathan
Hello I'm currently running in production a pre-1.0 LXC version. These run a minimum number of processes as root and a bunch of processes running as a normal user (eg. apache, cron, syslog-ng). Most container directories are bind-mounted from the host in read-only mode, including the unprivileged

Re: [lxc-users] lxc-fedora template

2014-06-04 Thread Michael H. Warfield
Further information: On Wed, 2014-06-04 at 12:57 -0400, Michael H. Warfield wrote: > Hello, > On Thu, 2014-06-05 at 02:10 +1100, Dmitry Kolesov wrote: > > Hello, > > > > > > I created container from lxc-fedora template. My operation system is > > Fedora 20. > > The kernel is 3.14.0 x86_64. > >

Re: [lxc-users] lxc-fedora template

2014-06-04 Thread Michael H. Warfield
Hello, On Thu, 2014-06-05 at 02:10 +1100, Dmitry Kolesov wrote: > Hello, > > > I created container from lxc-fedora template. My operation system is > Fedora 20. > The kernel is 3.14.0 x86_64. > When I start conteiner there is one fail message: > [FAILED] Failed to set up automount Arbitrary E

Re: [lxc-users] Cold Migration

2014-06-04 Thread Marc MAURICE
Is there any additional task to perform? It should be ok from my point of view ! You may also copy the conffiles.. (the whole container directory.. not just the rootfs..) ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.

Re: [lxc-users] Cold Migration

2014-06-04 Thread Claudio Biale
Could you confirm if the tasks are:  - Stop the container  - Copy the files to the destination host  - Start the container in the destination host  - Delete the original files  Is there any additional task to perform?  Thank you!___ lxc-users mailing li

Re: [lxc-users] About creating a BTRFS file instead of a BTRFS partition

2014-06-04 Thread Serge Hallyn
If I'm understanding you right, then yes. Quoting Marcel Sánchez Toledano (marcelsanch...@gmail.com): > I assume that: > > sudo lxc-create -t ubuntu -B loop --fstype btrfs -n loop1 > > Should be the same as creating a loopback filesystem (as specified here >

Re: [lxc-users] lxc-fedora template

2014-06-04 Thread István Király
Hi, .. Do you try to login as root? With the password generated by the template? On Wed, Jun 4, 2014 at 5:10 PM, Dmitry Kolesov wrote: > Hello, > > I created container from lxc-fedora template. My operation system is > Fedora 20. > The kernel is 3.14.0 x86_64. > When I start conteiner there is

[lxc-users] lxc-fedora template

2014-06-04 Thread Dmitry Kolesov
Hello, I created container from lxc-fedora template. My operation system is Fedora 20. The kernel is 3.14.0 x86_64. When I start conteiner there is one fail message: [FAILED] Failed to set up automount Arbitrary Executable File...utomount Point. All another messages are "OK". But when I try to lo

Re: [lxc-users] About creating a BTRFS file instead of a BTRFS partition

2014-06-04 Thread Marcel Sánchez Toledano
I assume that: sudo lxc-create -t ubuntu -B loop --fstype btrfs -n loop1 Should be the same as creating a loopback filesystem (as specified here , but with btrfs instead of ext3) and then: lxc-create -n templat

[lxc-users] LXC on Android, can't start container

2014-06-04 Thread Oleksii Kriuchykhin
Hello, I'm trying to run lxc on my Android device, I've installed latest Cyanogenmod 11 and recompiled kernel enabling all necessary features. I used precompiled lxc-android tarball, tried 1.0.0 and recent one from Jenkins server. Then I try to start simple busybox container with lxc-start I got su

Re: [lxc-users] About creating a BTRFS file instead of a BTRFS partition

2014-06-04 Thread Serge Hallyn
Quoting Marcel Sánchez Toledano (marcelsanch...@gmail.com): > Partially yes. Thanks for that. > > Maybe is a bit offtopic, but.. Do you know any manual or website where I > can found information about creating a image file with BRTFS? I have tried > with no luck... If you want a loopback file, yo

Re: [lxc-users] Cold Migration

2014-06-04 Thread Tamas Papp
On 06/04/2014 02:55 PM, Claudio Biale wrote: A container can be migrated from one machine to another if it is stopped? Yes. tamas ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] Cold Migration

2014-06-04 Thread Claudio Biale
A container can be migrated from one machine to another if it is stopped? ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] About creating a BTRFS file instead of a BTRFS partition

2014-06-04 Thread Fajar A. Nugraha
On Wed, Jun 4, 2014 at 6:04 PM, Marcel Sánchez Toledano < marcelsanch...@gmail.com> wrote: > Partially yes. Thanks for that. > > Maybe is a bit offtopic, but.. Do you know any manual or website where I > can found information about creating a image file with BRTFS? > have you ever created an imag

Re: [lxc-users] About creating a BTRFS file instead of a BTRFS partition

2014-06-04 Thread Marcel Sánchez Toledano
Partially yes. Thanks for that. Maybe is a bit offtopic, but.. Do you know any manual or website where I can found information about creating a image file with BRTFS? I have tried with no luck... Thank you again, *Marcel Sánchez Toledano* 2014-06-04 12:58 GMT+02:00 Fajar A. Nugraha : > On W

Re: [lxc-users] About creating a BTRFS file instead of a BTRFS partition

2014-06-04 Thread Fajar A. Nugraha
On Wed, Jun 4, 2014 at 5:49 PM, Marcel Sánchez Toledano < marcelsanch...@gmail.com> wrote: > Hi all again, > > Recently I've been asked if it's possible to store LXC containers in a BTRFS > filesystem. I know it is possible to do this creating a partition in BTRFS > and setting the path in that par

[lxc-users] About creating a BTRFS file instead of a BTRFS partition

2014-06-04 Thread Marcel Sánchez Toledano
Hi all again, Recently I've been asked if it's possible to store LXC containers in a BTRFS filesystem. I know it is possible to do this creating a partition in BTRFS and setting the path in that partition. But what I need to know if it's possible to *create the BTRFS filesystem inside a file *(no