thanks guys.../bin/bash is there, here's the debug

kg@kg-MacBookPro:~$ sudo ls -lh /var/lib/lxd/containers/xen/rootfs/bin/bash
-rwxr-xr-x 1 100000 100000 1014K Aug 31 18:27 
/var/lib/lxd/containers/xen/rootfs/bin/bash
kg@kg-MacBookPro:~$ 
kg@kg-MacBookPro:~$ 
kg@kg-MacBookPro:~$ 
kg@kg-MacBookPro:~$ lxc exec xen --debug -- /bin/bash
DBUG[02-10|16:16:00] Posting 
{"command":["/bin/bash"],"environment":{"HOME":"/root","TERM":"xterm-256color","USER":"root"},"interactive":true,"wait-for-websocket":true}
 to http://unix.socket/1.0/containers/xen/exec 
DBUG[02-10|16:16:00] Raw response: {"type":"async","status":"Operation 
created","status_code":100,"metadata":{"id":"5bf6d53f-2a80-42e3-b1b9-dd0af8a7ff48","class":"websocket","created_at":"2016-02-10T16:16:00.215763903-06:00","updated_at":"2016-02-10T16:16:00.215763903-06:00","status":"Running","status_code":103,"resources":{"containers":["/1.0/containers/xen"]},"metadata":{"fds":{"0":"8d5ad0388f8e0c01fa03aba878595de8a80010bf4edfdddb5bada4072701c327","control":"68992bf7b75f29f26e03c658bfaddd2222777f19b8ac4ab3f390c401a3794255"}},"may_cancel":false,"err":""},"operation":"/1.0/operations/5bf6d53f-2a80-42e3-b1b9-dd0af8a7ff48"}
 
DBUG[02-10|16:16:00] Window size is now: 128x41 
DBUG[02-10|16:16:00] got message barrier 
DBUG[02-10|16:16:00] 1.0/operations/5bf6d53f-2a80-42e3-b1b9-dd0af8a7ff48/wait 
DBUG[02-10|16:16:00] Raw response: 
{"type":"sync","status":"Success","status_code":200,"metadata":{"id":"5bf6d53f-2a80-42e3-b1b9-dd0af8a7ff48","class":"websocket","created_at":"2016-02-10T16:16:00.215763903-06:00","updated_at":"2016-02-10T16:16:00.234663086-06:00","status":"Success","status_code":200,"resources":{"containers":["/1.0/containers/xen"]},"metadata":{"return":-1},"may_cancel":false,"err":""},"operation":""}
 
kg@kg-MacBookPro:~$ 
kg@kg-MacBookPro:~$ 
kg@kg-MacBookPro:~$ 
kg@kg-MacBookPro:~$ 
kg@kg-MacBookPro:~$ lxc exec xen --debug -- /bin/sh
DBUG[02-10|16:16:08] Posting 
{"command":["/bin/sh"],"environment":{"HOME":"/root","TERM":"xterm-256color","USER":"root"},"interactive":true,"wait-for-websocket":true}
 to http://unix.socket/1.0/containers/xen/exec 
DBUG[02-10|16:16:08] Raw response: {"type":"async","status":"Operation 
created","status_code":100,"metadata":{"id":"6dd3cafb-d3fa-4b63-b280-bcca2bf02370","class":"websocket","created_at":"2016-02-10T16:16:08.704284737-06:00","updated_at":"2016-02-10T16:16:08.704284737-06:00","status":"Running","status_code":103,"resources":{"containers":["/1.0/containers/xen"]},"metadata":{"fds":{"0":"3f39ed8e61eacdc6868ba4a227218dcb3c6c57d09ccd1e8eafd76dbd5ab6fba4","control":"33564bde9ad301a6b5f737d4bb7c6e57d2f0d048a7e52c9a7ce0f737b6a13a8a"}},"may_cancel":false,"err":""},"operation":"/1.0/operations/6dd3cafb-d3fa-4b63-b280-bcca2bf02370"}
 
DBUG[02-10|16:16:08] Window size is now: 128x41 
DBUG[02-10|16:16:08] got message barrier 
DBUG[02-10|16:16:08] 1.0/operations/6dd3cafb-d3fa-4b63-b280-bcca2bf02370/wait 
DBUG[02-10|16:16:08] Raw response: 
{"type":"sync","status":"Success","status_code":200,"metadata":{"id":"6dd3cafb-d3fa-4b63-b280-bcca2bf02370","class":"websocket","created_at":"2016-02-10T16:16:08.704284737-06:00","updated_at":"2016-02-10T16:16:08.723466987-06:00","status":"Success","status_code":200,"resources":{"containers":["/1.0/containers/xen"]},"metadata":{"return":-1},"may_cancel":false,"err":""},"operation":""}
 
kg@kg-MacBookPro:~$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to