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
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1544157

Title:
  lxc exec not working in xenial

Status in lxc package in Ubuntu:
  Fix Committed
Status in lxd package in Ubuntu:
  Fix Committed

Bug description:
  My host is on the very latest Xenial as of yesterday Feb9,2016

  My work flow has been...
  $ newgrp lxd
  $ lxc images:ubuntu/xenial/amd64 xen
  $ lxc start xen
  $ lxc exec xen -- /bin/bash

  at the moment, the image creation works, i can list my images - and it says 
they are running
  however, upon exec i'm not logged onto the shell - no output, even if i pass 
--verbose=true

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1544157/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to