<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 21, 2016 at 8:11 AM, Carlos Alberto Lopez Perez <span dir="ltr"><<a href="mailto:clopez@igalia.com" target="_blank">clopez@igalia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 20/01/16 23:57, Fajar A. Nugraha wrote:<br>
> Yep. I don't know when it was fixed, but my test system works fine. </span></blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"># pstree -pa<br>
<br>
systemd,1<br>
  │<br>
  ├─ [ unrelated process .... ]<br>
  |<br>
  ├─lxc-autostart,670 -g onboot,<br>
  │   └─systemd,718<br>
  │       ├─agetty,1001 --noclear tty4 linux<br>
  │       ├─agetty,1002 --noclear tty1 linux<br>
  │       ├─agetty,1003 --noclear tty3 linux<br>
  │       ├─agetty,1004 --noclear tty2 linux<br>
  │       ├─agetty,1005 --noclear --keep-baud console 115200 38400 9600 vt102<br>
  │       └─systemd-journal,934<br>
</blockquote><div><br></div><div><br></div><div><div>systemd,1</div><div>  |-agetty,395 --noclear tty1 linux</div><div>...</div><div>  |-lxc-autostart,462 -g onboot,<br></div><div>  |   `-systemd,469</div><div>  |       |-agetty,1203 --noclear tty3 linux</div><div>  |       |-agetty,1217 --noclear tty1 linux</div><div>  |       |-agetty,1231 --noclear tty4 linux</div><div>  |       |-agetty,1245 --noclear tty2 linux</div><div>  |       |-agetty,1259 --noclear --keep-baud pts/3 115200 38400 9600 vt102</div><div>  |       |-agetty,1273 --noclear --keep-baud pts/2 115200 38400 9600 vt102</div><div>  |       |-agetty,1287 --noclear --keep-baud pts/1 115200 38400 9600 vt102</div><div>  |       |-agetty,1301 --noclear --keep-baud pts/0 115200 38400 9600 vt102</div><div>  |       |-agetty,1315 --noclear --keep-baud console 115200 38400 9600 vt102</div><div>  |       |-dhclient,1062 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0</div><div>  |       |-sshd,1096 -D</div><div>  |       `-systemd-journal,675</div><div>  |-lxcfs,365 /var/lib/lxcfs/</div><div>...</div><div> <br></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
# cat /proc/718/cgroup<br>
9:perf_event:/lxc/lxctest2<br>
8:blkio:/<br>
7:net_cls,net_prio:/lxc/lxctest2<br>
6:freezer:/lxc/lxctest2<br>
<span class="">5:devices:/<br>
4:memory:/<br>
3:cpu,cpuacct:/<br>
</span>2:cpuset:/lxc/lxctest2<br>
1:name=systemd:/system.slice/lxc.service<br>
<br></blockquote><div><br></div><div><br></div><div><div># cat /proc/469/cgroup</div><div>8:cpuset:/lxc/c1</div><div>7:blkio:/lxc/c1</div><div>6:net_cls,net_prio:/lxc/c1</div><div>5:devices:/lxc/c1</div><div>4:perf_event:/lxc/c1</div><div>3:cpu,cpuacct:/lxc/c1</div><div>2:freezer:/lxc/c1</div><div>1:name=systemd:/lxc/c1</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
# lxc-attach -n lxctest2 -- cat /proc/1/cgroup<br>
9:perf_event:/lxc/lxctest2<br>
8:blkio:/<br>
7:net_cls,net_prio:/lxc/lxctest2<br>
6:freezer:/lxc/lxctest2<br>
<span class="">5:devices:/<br>
4:memory:/<br>
3:cpu,cpuacct:/<br>
</span>2:cpuset:/lxc/lxctest2<br>
1:name=systemd:/system.slice/lxc.service<br></blockquote><div><br></div><div><br></div><div><div># lxc-attach -n c1 -- cat /proc/1/cgroup</div><div>8:cpuset:/lxc/c1</div><div>7:blkio:/lxc/c1</div><div>6:net_cls,net_prio:/lxc/c1</div><div>5:devices:/lxc/c1</div><div>4:perf_event:/lxc/c1</div><div>3:cpu,cpuacct:/lxc/c1</div><div>2:freezer:/lxc/c1</div><div>1:name=systemd:/lxc/c1</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
I tried replacing systemd with sysvinit in the container. Same result<br>
<br></blockquote><div><br></div><div><br></div><div>I never said you needed to.</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Can you reproduce this?<br>
<br></blockquote><div><br></div><div><br></div><div>It should've been much faster if you try it yourself on a dev system (e.g. vbox).</div><div><br></div><div>If you're fine with using third-party packages, see <a href="http://debian-lxc.github.io/">http://debian-lxc.github.io/</a></div><div><br></div><div>-- </div><div>Fajar </div></div></div></div>