Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2016-01-09 Thread Fajar A. Nugraha
On Sat, Jan 9, 2016 at 4:58 PM, Xavier Gendre wrote: > Le 09/01/2016 03:23, Fajar A. Nugraha a écrit : >> Anyway, I wrote this several months ago, should be the easiest way to >> get unpriv jessie on jessie: http://debian-lxc.github.io/ >> The repo has lxc-1.1.5 and

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2016-01-09 Thread Xavier Gendre
Le 09/01/2016 03:23, Fajar A. Nugraha a écrit : > Anyway, I wrote this several months ago, should be the easiest way to > get unpriv jessie on jessie: http://debian-lxc.github.io/ > The repo has lxc-1.1.5 and cgmanager, ported from ubuntu. I have followed your tutorials and it works perfectly

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2016-01-08 Thread Carlos Alberto Lopez Perez
On 13/10/15 12:11, Xavier Gendre wrote: > > You can run unprivileged Jessie container in a Jessie host. The point is > that the container fails to start mainly because of systemd in the > Jessie container. > > To tackle that problem, i create a custom image of Jessie without > systemd and it

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2016-01-08 Thread Xavier Gendre
Hello Carlos, > Once you replace systemd with sysvinit in the container, you get it > booting and starting the services, but you can't login on it (via the > login prompt) or ssh on it. I didn't know that, i always use lxc-attach to get a prompt in my containers and it works like a charm. > You

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2016-01-08 Thread Xavier Gendre
Hello Fajar, > Anyway, I wrote this several months ago, should be the easiest way to > get unpriv jessie on jessie: http://debian-lxc.github.io/ > The repo has lxc-1.1.5 and cgmanager, ported from ubuntu. I just discover your link and I wonder how I could miss it! Thanks a lot, it seems that

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2016-01-08 Thread Fajar A. Nugraha
On Sat, Jan 9, 2016 at 3:40 AM, Xavier Gendre wrote: > Hello Carlos, > >> Once you replace systemd with sysvinit in the container, you get it >> booting and starting the services, but you can't login on it (via the >> login prompt) or ssh on it. > > I didn't know that, i

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2015-10-14 Thread Xavier Gendre
Although setting it up was not as straightforward as your tutorial: - Package "python3-all-dev" currently has dependency issues (https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1503382, http://askubuntu.com/a/683604/331398) I was able to solve this by adding a time.sleep(120) in

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2015-10-14 Thread Xavier Gendre
and i use this image in my Jessie host (where i tweak my cgroups through a custom systemd service in order to give ownerships to the unprivileged users). Could you maybe also share that custom systemd service configuration? Then I can continue to sit on my lazy butt and don't have to reinvent

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2015-10-14 Thread Christian Benke
On 14 October 2015 at 17:46, Xavier Gendre wrote: > If you have to do such things, i think that you try to apply my tutorial in > a Debian host. It will work but, as you notice, you will have to tweak > cgroup by hand. On my side, i create the Jessie image in a VM with

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2015-10-14 Thread Christian Benke
>>sudo service cgmanager start >>sudo cgm create all $USER >>sudo cgm chown all $USER $(id -u) $(id -g) >>sudo cgm movepid all $USER $$ > echo \$\$ >> /sys/fs/cgroup/perf_event/lxc-bobby/tasks; \ > echo \$\$ >> /sys/fs/cgroup/blkio/lxc-bobby/tasks; \ > echo \$\$ >>

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2015-10-13 Thread Fajar A. Nugraha
On Tue, Oct 13, 2015 at 4:44 PM, Christian Benke wrote: > On 13 October 2015 at 11:15, Fajar A. Nugraha wrote: >> So bottom line, don't bother unless you're willing to run a >> "frakenstein", unsupported distro. Either retry with stretch and hope >> it works

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2015-10-13 Thread Christian Benke
On 13 October 2015 at 11:15, Fajar A. Nugraha wrote: > So bottom line, don't bother unless you're willing to run a > "frakenstein", unsupported distro. Either retry with stretch and hope > it works better, or switch to ubuntu. Thanks a lot for the detailed explanation Fajar!

Re: [lxc-users] Status: Debian Jessie support for unprivileged containers?

2015-10-13 Thread Xavier Gendre
Le 13/10/2015 11:49, Fajar A. Nugraha a écrit : On Tue, Oct 13, 2015 at 4:44 PM, Christian Benke wrote: On 13 October 2015 at 11:15, Fajar A. Nugraha wrote: So bottom line, don't bother unless you're willing to run a "frakenstein", unsupported distro.