[Bug 1544157] Re: lxc exec not working in xenial
** No longer affects: lxd (Ubuntu) -- 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/1544157 Title: lxc exec not working in xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1544157/+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
Re: [Bug 1544157] Re: lxc exec not working in xenial
Oh, yeah, systemd will start it when lxd starts. Please start lxd first (by doing a 'lxc list'), then stop cgmanager and try again. -- 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/1544157 Title: lxc exec not working in xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1544157/+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
[Bug 1544157] Re: lxc exec not working in xenial
so i did kg@kg-MacBookPro:~$ sudo systemctl stop cgmanager kg@kg-MacBookPro:~$ sudo systemctl status cgmanager.service ● cgmanager.service - Cgroup management daemon Loaded: loaded (/lib/systemd/system/cgmanager.service; enabled; vendor preset: enabled) Active: inactive (dead) since Tue 2016-02-16 09:40:43 CST; 3s ago Process: 871 ExecStart=/sbin/cgmanager -m name=systemd (code=killed, signal=TERM) Main PID: 871 (code=killed, signal=TERM) Feb 16 08:07:40 kg-MacBookPro systemd[1]: Started Cgroup management daemon. Feb 16 09:40:43 kg-MacBookPro systemd[1]: Stopping Cgroup management daemon... Feb 16 09:40:43 kg-MacBookPro systemd[1]: Stopped Cgroup management daemon. kg@kg-MacBookPro:~$ newgrp lxd kg@kg-MacBookPro:~$ lxc start xen kg@kg-MacBookPro:~$ lxc list +--+-+--+--+---+---+ | NAME | STATE | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS | +--+-+--+--+---+---+ | xen | RUNNING | | | NO| 0 | +--+-+--+--+---+---+ kg@kg-MacBookPro:~$ lxc exec xen -- /bin/bash root@xen:~# root@xen:~# exit exit kg@kg-MacBookPro:~$ exit exit Hasta la vista, baby kg@kg-MacBookPro:~$ sudo systemctl status cgmanager.service ● cgmanager.service - Cgroup management daemon Loaded: loaded (/lib/systemd/system/cgmanager.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2016-02-16 09:40:57 CST; 3min 22s ago Main PID: 8858 (cgmanager) Tasks: 0 (limit: 512) Memory: 248.0K CPU: 6ms CGroup: /system.slice/cgmanager.service ‣ 8858 /sbin/cgmanager -m name=systemd Feb 16 09:40:57 kg-MacBookPro systemd[1]: Started Cgroup management daemon. so seems it started on it's own -- 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/1544157 Title: lxc exec not working in xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1544157/+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
[Bug 1544157] Re: lxc exec not working in xenial
Apparently the fixes we need should already be in the xenial lxc packages. Could you please try (in one root terminal) systemctl stop cgmanager then see whether you're still able to start apps? (If not, then in that terminal again do 'systemctl start cgmanager') -- 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/1544157 Title: lxc exec not working in xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1544157/+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
[Bug 1544157] Re: lxc exec not working in xenial
** Changed in: lxd (Ubuntu) Status: Incomplete => Fix Committed ** Also affects: lxc (Ubuntu) Importance: Undecided Status: New ** Changed in: lxc (Ubuntu) Status: New => Fix Committed ** Changed in: lxd (Ubuntu) Importance: Undecided => High ** Changed in: lxc (Ubuntu) Importance: Undecided => High -- 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/1544157 Title: lxc exec not working in xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1544157/+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
[Bug 1544157] Re: lxc exec not working in xenial
** Package changed: lxc (Ubuntu) => lxd (Ubuntu) -- 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/1544157 Title: lxc exec not working in xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1544157/+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