<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 31, 2015 at 1:24 PM, Georg Schönberger <span dir="ltr"><<a href="mailto:gschoenberger@thomas-krenn.com" target="_blank">gschoenberger@thomas-krenn.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">Hi!<br>
<br>
I am trying to set up LXCFS under Ubuntu 14.04 trusty, I am using the<br>
daily ppa:<br>
# cat /etc/apt/sources.list.d/ubuntu-lxc-daily-trusty.list<br>
deb <a href="http://ppa.launchpad.net/ubuntu-lxc/daily/ubuntu" target="_blank">http://ppa.launchpad.net/ubuntu-lxc/daily/ubuntu</a> trusty main<br>
<br>
What I have configured so far:<br>
# apt-get install lxcfs<br>
# grep lxcfs /var/lib/lxc/ubuntu1/config<br>
lxc.include = /usr/share/lxc/config/common.conf.d/00-lxcfs.conf<br>
<br>
Unfortunately lxcfs is not mounted and I can not run it from the command<br>
line:<br>
# service lxcfs status<br>
lxcfs stop/waiting<br>
# mount | grep lxcfs<br>
# lxcfs -d -s -f -o allow_other /var/lib/lxcfs<br>
call to move_pid_abs (all:/) failed: invalid request<br>
WARNING: failed to escape to root cgroup<br>
<br>
# uname -a<br>
Linux trusty 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC<br>
2015 x86_64 x86_64 x86_64 GNU/Linux<br>
# dpkg -l | grep lxcfs<br>
ii  lxcfs                                0.6-0ubuntu2~ubuntu14.04.1~ppa1<br>
amd64        FUSE based filesystem for LXC<br>
<br>
Any help on how to set it up correctly?<br>
</blockquote><div><br></div><div>Works for me</div><div><br></div><div><div># cat /etc/lsb-release </div><div>DISTRIB_ID=Ubuntu</div><div>DISTRIB_RELEASE=14.04</div><div>DISTRIB_CODENAME=trusty</div><div>DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"</div></div><div><br></div><div><div># dpkg -l | grep lxc</div><div>ii  liblxc1                             1.1.0+master~20150317-1937-0ubuntu1~trusty amd64        Linux Containers userspace tools (library)</div><div>ii  lxc                                 1.1.0+master~20150317-1937-0ubuntu1~trusty amd64        Linux Containers userspace tools</div><div>ii  lxc-templates                       1.1.0+master~20150317-1937-0ubuntu1~trusty amd64        Linux Containers userspace tools (templates)</div><div>ii  lxcfs                               0.6-0ubuntu2~ubuntu14.04.1~ppa1            amd64        FUSE based filesystem for LXC</div><div>ii  python3-lxc                         1.1.0+master~20150317-1937-0ubuntu1~trusty amd64        Linux Containers userspace tools (Python 3.x bindings)</div><div><br></div><div># dpkg -l | grep systemd</div><div>ii  libpam-systemd:amd64                204-5ubuntu20.10                           amd64        system and service manager - PAM module</div><div>ii  libsystemd-daemon0:amd64            204-5ubuntu20.10                           amd64        systemd utility library</div><div>ii  libsystemd-login0:amd64             204-5ubuntu20.10                           amd64        systemd login utility library</div><div>ii  systemd-services                    204-5ubuntu20.10                           amd64        systemd runtime services</div><div>ii  systemd-shim                        6-2bzr1                                    amd64        shim for systemd</div></div><div><br></div><div><div># ps -ef | grep lxc</div><div>root      6155     1  0 22:45 ?        00:00:00 /usr/bin/lxcfs -s -f -o allow_other /var/lib/lxcfs</div><div>root      6358  1499  0 22:49 pts/0    00:00:00 grep --color=auto lxc</div></div><div><br></div><div>Try updating your OS, and make sure the dependencies are installed correctly. IIRC libpam-systemd is used to setup correct cgroups for users on login, but it is possible to have lxc installed without libpam-systemd. Also try rebooting your server if you haven't already done so.</div><div><br></div><div>-- </div><div>Fajar</div></div></div></div>