@god, which Ubuntu release is this? I just noticed that our patch to support user LXC regressed in 221 in wily (Ubuntu 15.10), I'll look at this. If you use 15.04 (vivid) that's a separate problem.
But indeed it seems that lsh somehow reconfigures the cgroups, and/or does not invoke PAM. ** Summary changed: - unprivileged lxc containers broken + unprivileged lxc containers don't work in remote sessions -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1467611 Title: unprivileged lxc containers don't work in remote sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1467611/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs