[lxc-users] How to enable SElinux for LXC ?

2018-02-08 Thread bryn1u85 .
Hey, Im trying to run lxc with selinux on Centos 7. I installed and created lxc container with simple command lxc-create -n test -t centos. After that i just added to the: /var/lib/lxc/test/config line like below: lxc.selinux.context = system_u:system_r:lxc_t:s0:c22 or entry from https://stgraber.

Re: [lxc-users] How to enable SElinux for LXC ?

2018-02-08 Thread john
Per the conf man page, have you confirmed that the host has selinux enabled and that lxc was compiled with selinux support? John ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] Unprivileged containers on NFS

2018-02-08 Thread Daniel Urist
Does anybody know whether this is possible or not? Given the popularity of NFS, I'd think this would be a pretty common use case, and looking at the list archives, I'm not the first person to ask this. On Mon, Jan 29, 2018 at 11:55 AM, Daniel Urist wrote: > Is it possible to create unprivileg

[lxc-users] LVM backend: Need to wipe blocks?

2018-02-08 Thread Linus Lüssing
Hi! A couple of days ago I managed to setup LXC with LXD, hurray! And it works great so far, many thanks. I have created and assigned an LVM thinpool volume to LXD. Now I'm having a few questions regarding data access security: 1) Within the unprivileged container I see a mount point of a block