Re: [lxc-users] glusterfs on LXD?

2016-12-21 Thread Tomasz Chmielewski
On 2016-12-22 11:56, Tomasz Chmielewski wrote: Ubuntu 16.04 hosts / containers and gluster 3.8: # gluster volume create storage replica 2 transport tcp serv1:/gluster/data serv2:/gluster/data force volume create: storage: failed: Glusterfs is not supported on brick: serv1:/gluster/data. Setting

[lxc-users] glusterfs on LXD?

2016-12-21 Thread Tomasz Chmielewski
Ubuntu 16.04 hosts / containers and gluster 3.8: # gluster volume create storage replica 2 transport tcp serv1:/gluster/data serv2:/gluster/data force volume create: storage: failed: Glusterfs is not supported on brick: serv1:/gluster/data. Setting extended attributes failed, reason: Operation

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread John
On 21/12/16 16:13, Pavol Cupka wrote: > edit the line > lxc.tty = 1 #allow this many ttys > and remove the comment > so it will look like this > lxc.tty = 1 > > enjoy :) > Ok, yes that resolves the problem but I also had to remove the comment from the "lxc.pts" line

Re: [lxc-users] How to apply commands in howtos - macvlan and disk passthrough

2016-12-21 Thread John Gubert
one setup of a shared directory would be media files passed through to a container with samba and one container with mediatomb and one container with a http server and I would then limit the access to read-only for the last two. Am 21.12.2016 um 17:09 schrieb Pavol Cupka: these subuid mappings

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
edit the line lxc.tty = 1 #allow this many ttys and remove the comment so it will look like this lxc.tty = 1 enjoy :) On Wed, Dec 21, 2016 at 4:12 PM, John wrote: > On 21/12/16 14:45, Pavol Cupka wrote: > > so the containers restarted after upgrade to 2.0.6 > > > >

Re: [lxc-users] How to apply commands in howtos - macvlan and disk passthrough

2016-12-21 Thread Pavol Cupka
these subuid mappings are there for the case that someone compromises your container and gains root, should he break out of the container he would have access to all the files that are root owned on the host machine, when you use these mappings then the uses get uid + 10 or whatever is set in t

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread John
On 21/12/16 14:45, Pavol Cupka wrote: > so the containers restarted after upgrade to 2.0.6 > > do you mind pasting your config? > Sure, here is a config file. It is one of many. None work under 2.0.6 but all work under 2.0.4. I haven't modified these configs in a couple of years because, until n

Re: [lxc-users] How to apply commands in howtos - macvlan and disk passthrough

2016-12-21 Thread John Gubert
Hi Pavol, thanks for the link, I did some testing with the out of the box setup (removed root:1000:1) of ubuntu, created two containers and passed the same host directory through to both of them, then I created the same users in the same order on both containers: root(1000) neuer(1001) zweiter

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
so the containers restarted after upgrade to 2.0.6 do you mind pasting your config? On Wed, Dec 21, 2016 at 3:05 PM, Pavol Cupka wrote: > upgrading my host to 2.0.6 will let you know > > On Wed, Dec 21, 2016 at 1:14 PM, Pavol Cupka > wrote: > >> regression then, file a bug >> >> On Wed, Dec 21

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
upgrading my host to 2.0.6 will let you know On Wed, Dec 21, 2016 at 1:14 PM, Pavol Cupka wrote: > regression then, file a bug > > On Wed, Dec 21, 2016 at 12:36 PM, John wrote: > >> On 21/12/16 10:37, Pavol Cupka wrote: >> > any strange invisible characters on that line >> > try to make a minim

Re: [lxc-users] How to apply commands in howtos - macvlan and disk passthrough

2016-12-21 Thread Pavol Cupka
some of your questions are answered here https://wiki.gentoo.org/wiki/LXD#Configure_subuid.2Fsubgid answering to the list is fine On Wed, Dec 21, 2016 at 1:34 PM, John Gubert wrote: > Hi Tycho, > > thank you for your fast response. > > My id on the host is indeed 1000. I read your blog article

Re: [lxc-users] How to apply commands in howtos - macvlan and disk passthrough

2016-12-21 Thread John Gubert
Hi Tycho, thank you for your fast response. My id on the host is indeed 1000. I read your blog article and then had a look at /etc/subuid: before: "me@host:~$ cat /etc/subuid lxd:10:65536 root:10:65536 me:165536:65536" after: "me@host:~$ cat /etc/subuid lxd:10:65536 root:10:655

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
regression then, file a bug On Wed, Dec 21, 2016 at 12:36 PM, John wrote: > On 21/12/16 10:37, Pavol Cupka wrote: > > any strange invisible characters on that line > > try to make a minimal config by typing everything by hand > nothing strange - configs were hand-typed originally. They've been i

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread John
On 21/12/16 10:37, Pavol Cupka wrote: > any strange invisible characters on that line > try to make a minimal config by typing everything by hand nothing strange - configs were hand-typed originally. They've been in place for a couple of years at least without any problems. They still work if I use

Re: [lxc-users] no ping between host and lxc container

2016-12-21 Thread mierdatutis mi
Other time stop working :-( Somebody could help me please? I'm desesperate 2016-12-20 15:20 GMT+01:00 Mateusz Korniak : > On Tuesday 20 of December 2016 18:06:38 Fajar A. Nugraha wrote: > > > How do you setup IP# for container? > > > > (...) by default there's no way to > > set (and restrict) IP

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
any strange invisible characters on that line try to make a minimal config by typing everything by hand On Wed, Dec 21, 2016 at 11:32 AM, John wrote: > On 21/12/16 10:24, Pavol Cupka wrote: > > what happens when you comment out that line? > It makes no difference. That was the first thing I trie

Re: [lxc-users] can't login by ssh with root to my containers

2016-12-21 Thread mierdatutis mi
Thanks! It works!. 2016-12-21 11:17 GMT+01:00 Pavol Cupka : > hint /etc/ssh/sshd_config > PermitRootLogin > > On Wed, Dec 21, 2016 at 11:10 AM, Fajar A. Nugraha wrote: > >> On Wed, Dec 21, 2016 at 5:03 PM, mierdatutis mi wrote: >> >>> Hi, >>> I'm trying to login by ssh from my host to my lxc se

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread John
On 21/12/16 10:24, Pavol Cupka wrote: > what happens when you comment out that line? It makes no difference. That was the first thing I tried :) ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
what happens when you comment out that line? On Tue, Dec 20, 2016 at 9:34 PM, John wrote: > After a recent update to my Arch system, no containers will start. > Instead I get this: > > lxc-start: parse.c: lxc_file_for_each_line: 57 Failed to parse > config: lxc.tty = 1 > lxc-start: tools

Re: [lxc-users] can't login by ssh with root to my containers

2016-12-21 Thread Pavol Cupka
hint /etc/ssh/sshd_config PermitRootLogin On Wed, Dec 21, 2016 at 11:10 AM, Fajar A. Nugraha wrote: > On Wed, Dec 21, 2016 at 5:03 PM, mierdatutis mi wrote: > >> Hi, >> I'm trying to login by ssh from my host to my lxc servers with root. >> When I'm trying with ubuntu user I don't have any prob

Re: [lxc-users] can't login by ssh with root to my containers

2016-12-21 Thread Fajar A. Nugraha
On Wed, Dec 21, 2016 at 5:03 PM, mierdatutis mi wrote: > Hi, > I'm trying to login by ssh from my host to my lxc servers with root. > When I'm trying with ubuntu user I don't have any problems but when I do > with root says me password incorrect. > In my lxc I do "sudo passwd" to change my passwo

[lxc-users] can't login by ssh with root to my containers

2016-12-21 Thread mierdatutis mi
Hi, I'm trying to login by ssh from my host to my lxc servers with root. When I'm trying with ubuntu user I don't have any problems but when I do with root says me password incorrect. In my lxc I do "sudo passwd" to change my password. Any help please? thanks and sorry for my English!