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