[lxc-users] using cgroups

Serge E. Hallyn serge at hallyn.com
Sat Jul 2 02:41:45 UTC 2016

Quoting rob e (redgerhoo at yahoo.com.au):
> On 02/07/16 12:14, Serge E. Hallyn wrote:
> >>hi Serge,
> >>with JUST those clauses (and no cgroup set clauses) ... it sort of
> >>works. Initial messages are cleared from the console(?) leaving just
> >>the shutdown messages. But it does get to a login prompt
> >D'oh.  Thanks for your patience.  I see the bug.  I'll post a
> >PR for a fix.  I'm surprised so few people run into this.  But
> >as a workaround just add ",devices" to the end of the pam_cgfs
> >line in /etc/pam.d/common-session.
> >
> sorry about this ... didn't work. Tried 2 forms of Pam clause & 2
> forms of config
> ------------------------------------------------------
> PAM line
> session optional        pam_cgfs.so -c
> freezer,memory,name=systemd,cpuset,devices

Jus to make sure, did you log back in after this?  what does /proc/self/cgroup
look like?

More information about the lxc-users mailing list