[Bug 1544157] Re: lxc exec not working in xenial

2020-03-25 Thread Stéphane Graber via ubuntu-bugs
** Changed in: lxc (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
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/lxc/+bug/1544157/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1544157] Re: lxc exec not working in xenial

2016-02-21 Thread Stéphane Graber
** No longer affects: lxd (Ubuntu)

-- 
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/lxc/+bug/1544157/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1544157] Re: lxc exec not working in xenial

2016-02-16 Thread Serge Hallyn
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
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/lxc/+bug/1544157/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-16 Thread kevin gunn
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
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/lxc/+bug/1544157/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1544157] Re: lxc exec not working in xenial

2016-02-15 Thread Serge Hallyn
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
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/lxc/+bug/1544157/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-15 Thread Serge Hallyn
** 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
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/lxc/+bug/1544157/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1544157] Re: lxc exec not working in xenial

2016-02-15 Thread Serge Hallyn
Thanks.  fwiw we need at least up to commit 3939a22a481 from
git to fix this.  I'll mark it fix committed as the fix is in
git and ppa, and will hit xenial with the next merge.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-15 Thread kevin gunn
so i updated and rebooted, but my cgmanager is already running.
so i did lxc exec just fine.
would be nice to link the fix to this...but otherwise, i'd consider this bug 
closed

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-12 Thread kevin gunn
it is quite possible - so ironically i had to enable & start cgmanager
for testing unity8-desktop, there's a bug where apps fail to launch on
the unity8-desktop-session-mir bug 1535058

so i had restarted it already, and just tried to lxc exec and it worked fine.
i will reboot sometime later, and see if the failure occurs again. 
but highly suspect this is related.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-12 Thread Stéphane Graber
We got a similar report on IRC where "systemctl restart cgmanager"
somehow helped, does that make any difference for you?

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread kevin gunn
huh app armor denial in  dmesg?

also, the sudo chroot /var/lib/lxd/containers/xen/rootfs /bin/bash
seemed to work

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread kevin gunn
dmesg

kg@kg-MacBookPro:~$ lxc exec xen -- /bin/bash
kg@kg-MacBookPro:~$ dmesg
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Initializing cgroup subsys cpuacct
[0.00] Linux version 4.4.0-2-generic (buildd@lgw01-12) (gcc version 
5.3.1 20160121 (Ubuntu 5.3.1-7ubuntu1) ) #16-Ubuntu SMP Thu Jan 28 15:44:21 UTC 
2016 (Ubuntu 4.4.0-2.16-generic 4.4.0)
[0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-2-generic 
root=UUID=a717fc35-6e65-4458-a3d7-2036796d0b45 ro quiet splash vt.handoff=7
[0.00] KERNEL supported cpus:
[0.00]   Intel GenuineIntel
[0.00]   AMD AuthenticAMD
[0.00]   Centaur CentaurHauls
[0.00] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[0.00] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point 
registers'
[0.00] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
[0.00] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers'
[0.00] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, 
using 'standard' format.
[0.00] x86/fpu: Using 'eager' FPU context switches.
[0.00] e820: BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x0008dfff] usable
[0.00] BIOS-e820: [mem 0x0008e000-0x0008] reserved
[0.00] BIOS-e820: [mem 0x0009-0x0009] usable
[0.00] BIOS-e820: [mem 0x000a-0x000b] reserved
[0.00] BIOS-e820: [mem 0x0010-0x1fff] usable
[0.00] BIOS-e820: [mem 0x2000-0x201f] reserved
[0.00] BIOS-e820: [mem 0x2020-0x40003fff] usable
[0.00] BIOS-e820: [mem 0x40004000-0x40004fff] reserved
[0.00] BIOS-e820: [mem 0x40005000-0x8ad13fff] usable
[0.00] BIOS-e820: [mem 0x8ad14000-0x8ad52fff] ACPI NVS
[0.00] BIOS-e820: [mem 0x8ad53000-0x8ad68fff] usable
[0.00] BIOS-e820: [mem 0x8ad69000-0x8ad8efff] ACPI data
[0.00] BIOS-e820: [mem 0x8ad8f000-0x8ae3afff] usable
[0.00] BIOS-e820: [mem 0x8ae3b000-0x8ae8efff] reserved
[0.00] BIOS-e820: [mem 0x8ae8f000-0x8aecdfff] usable
[0.00] BIOS-e820: [mem 0x8aece000-0x8aefefff] reserved
[0.00] BIOS-e820: [mem 0x8aeff000-0x8af91fff] usable
[0.00] BIOS-e820: [mem 0x8af92000-0x8affefff] reserved
[0.00] BIOS-e820: [mem 0x8afff000-0x8aff] usable
[0.00] BIOS-e820: [mem 0x8b00-0x8f9f] reserved
[0.00] BIOS-e820: [mem 0xe00f8000-0xe00f8fff] reserved
[0.00] BIOS-e820: [mem 0xfed1c000-0xfed1] reserved
[0.00] BIOS-e820: [mem 0xffe7-0xffe9] reserved
[0.00] BIOS-e820: [mem 0x0001-0x00016f5f] usable
[0.00] NX (Execute Disable) protection: active
[0.00] efi: EFI v1.10 by Apple
[0.00] efi:  ACPI=0x8ad8e000  ACPI 2.0=0x8ad8e014  SMBIOS=0x8ad1b000 
[0.00] SMBIOS 2.4 present.
[0.00] DMI: Apple Inc. MacBookPro9,2/Mac-6F01561E16C75D06, BIOS 
MBP91.88Z.00D3.B0B.1506081214 06/08/2015
[0.00] e820: update [mem 0x-0x0fff] usable ==> reserved
[0.00] e820: remove [mem 0x000a-0x000f] usable
[0.00] e820: last_pfn = 0x16f600 max_arch_pfn = 0x4
[0.00] MTRR default type: write-back
[0.00] MTRR fixed ranges enabled:
[0.00]   0-9 write-back
[0.00]   A-B uncachable
[0.00]   C-D write-protect
[0.00]   E-F uncachable
[0.00] MTRR variable ranges enabled:
[0.00]   0 base 0C000 mask FC000 uncachable
[0.00]   1 base 0A000 mask FE000 uncachable
[0.00]   2 base 09000 mask FF000 uncachable
[0.00]   3 base 08C00 mask FFC00 uncachable
[0.00]   4 base 08B00 mask FFF00 uncachable
[0.00]   5 disabled
[0.00]   6 disabled
[0.00]   7 disabled
[0.00]   8 disabled
[0.00]   9 disabled
[0.00] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT  
[0.00] e820: last_pfn = 0x8b000 max_arch_pfn = 0x4
[0.00] Scanning 1 areas for low memory corruption
[0.00] Base memory trampoline at [88099000] 99000 size 24576
[0.00] BRK [0x031fc000, 0x031fcfff] PGTABLE
[0.00] BRK [0x031fd000, 0x031fdfff] PGTABLE
[0.00] BRK [0x031fe000, 0x031fefff] PGTABLE
[0.00] BRK [0x031ff000, 0x031f] PGTABLE
[0.00] BRK [0x0320, 0x03200fff] PGTABLE
[0.00] BRK [0x03201000, 0x03201fff] PGTABLE
[0.00] RAMDISK: [mem 0x33dc40

[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread Stéphane Graber
The following may be interesting too:
sudo chroot /var/lib/lxd/containers/xen/rootfs /bin/bash

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread Stéphane Graber
Okay, so the binary is there but it's failing to execute for some
reason... The return = -1 hints that the kernel failed to exec the
binary.

Can you paste "dmesg"  and also try
lxc exec xen /bin/static-sh

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread Stéphane Graber
Nevermind the static-sh thing, it's not installed by default in that
image.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread kevin gunn
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 10 10 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":"68992bf7b75f29f26e03c658bfaddd777f19b8ac4ab3f390c401a3794255"}},"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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread Stéphane Graber
sudo ls -lh /var/lib/lxd/containers/xen/rootfs/bin/bash
lxc exec xen --debug -- /bin/bash
lxc exec xen --debug -- /bin/sh

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread kevin gunn
thanks! here's the first few queries

kg@kg-MacBookPro:~$ lxc start xen
kg@kg-MacBookPro:~$ lxc list
+--+-+--+--+---+---+
| NAME |  STATE  | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS |
+--+-+--+--+---+---+
| xen  | RUNNING | 192.168.30.81 (eth0) |  | NO| 0 |
+--+-+--+--+---+---+
kg@kg-MacBookPro:~$ lxc exec xen -- /bin/bash
kg@kg-MacBookPro:~$ ps -ef
UIDPID  PPID  C STIME TTY  TIME CMD
root 1 0  0 14:49 ?00:00:06 /sbin/init splash
root 2 0  0 14:49 ?00:00:00 [kthreadd]
root 3 2  0 14:49 ?00:00:00 [ksoftirqd/0]
root 5 2  0 14:49 ?00:00:00 [kworker/0:0H]
root 7 2  0 14:49 ?00:00:02 [rcu_sched]
root 8 2  0 14:49 ?00:00:00 [rcu_bh]
root 9 2  0 14:49 ?00:00:00 [migration/0]
root10 2  0 14:49 ?00:00:00 [watchdog/0]
root11 2  0 14:49 ?00:00:00 [watchdog/1]
root12 2  0 14:49 ?00:00:00 [migration/1]
root13 2  0 14:49 ?00:00:00 [ksoftirqd/1]
root15 2  0 14:49 ?00:00:00 [kworker/1:0H]
root16 2  0 14:49 ?00:00:00 [watchdog/2]
root17 2  0 14:49 ?00:00:00 [migration/2]
root18 2  0 14:49 ?00:00:00 [ksoftirqd/2]
root20 2  0 14:49 ?00:00:00 [kworker/2:0H]
root21 2  0 14:49 ?00:00:00 [watchdog/3]
root22 2  0 14:49 ?00:00:00 [migration/3]
root23 2  0 14:49 ?00:00:00 [ksoftirqd/3]
root25 2  0 14:49 ?00:00:00 [kworker/3:0H]
root26 2  0 14:49 ?00:00:00 [kdevtmpfs]
root27 2  0 14:49 ?00:00:00 [netns]
root28 2  0 14:49 ?00:00:00 [perf]
root29 2  0 14:49 ?00:00:00 [khungtaskd]
root30 2  0 14:49 ?00:00:00 [writeback]
root31 2  0 14:49 ?00:00:00 [ksmd]
root32 2  0 14:49 ?00:00:00 [khugepaged]
root33 2  0 14:49 ?00:00:00 [crypto]
root34 2  0 14:49 ?00:00:00 [kintegrityd]
root35 2  0 14:49 ?00:00:00 [bioset]
root36 2  0 14:49 ?00:00:00 [kblockd]
root37 2  0 14:49 ?00:00:00 [ata_sff]
root38 2  0 14:49 ?00:00:00 [md]
root39 2  0 14:49 ?00:00:00 [devfreq_wq]
root44 2  0 14:49 ?00:00:00 [kswapd0]
root45 2  0 14:49 ?00:00:00 [vmstat]
root46 2  0 14:49 ?00:00:00 [fsnotify_mark]
root47 2  0 14:49 ?00:00:00 [ecryptfs-kthrea]
root62 2  0 14:49 ?00:00:00 [kthrotld]
root63 2  0 14:49 ?00:00:00 [acpi_thermal_pm]
root64 2  0 14:49 ?00:00:00 [bioset]
root65 2  0 14:49 ?00:00:00 [bioset]
root66 2  0 14:49 ?00:00:00 [bioset]
root67 2  0 14:49 ?00:00:00 [bioset]
root68 2  0 14:49 ?00:00:00 [bioset]
root69 2  0 14:49 ?00:00:00 [bioset]
root70 2  0 14:49 ?00:00:00 [bioset]
root71 2  0 14:49 ?00:00:00 [bioset]
root72 2  0 14:49 ?00:00:00 [bioset]
root73 2  0 14:49 ?00:00:00 [bioset]
root74 2  0 14:49 ?00:00:00 [bioset]
root75 2  0 14:49 ?00:00:00 [bioset]
root76 2  0 14:49 ?00:00:00 [bioset]
root77 2  0 14:49 ?00:00:00 [bioset]
root78 2  0 14:49 ?00:00:00 [bioset]
root79 2  0 14:49 ?00:00:00 [bioset]
root80 2  0 14:49 ?00:00:00 [bioset]
root81 2  0 14:49 ?00:00:00 [bioset]
root82 2  0 14:49 ?00:00:00 [bioset]
root83 2  0 14:49 ?00:00:00 [bioset]
root84 2  0 14:49 ?00:00:00 [bioset]
root85 2  0 14:49 ?00:00:00 [bioset]
root87 2  0 14:49 ?00:00:00 [bioset]
root88 2  0 14:49 ?00:00:00 [bioset]
root97 2  0 14:49 ?00:00:00 [ipv6_addrconf]
root   110 2  0 14:49 ?00:00:00 [deferwq]
root   111 2  0 14:49 ?00:00:00 [charger_manager]
root   147 2  0 14:49 ?00:00:00 [irq/17-mmc0]
root   152 2  0 14:49 ?00:00:00 [firewire]
root   153 2  0 14:49 ?00:00:00 [firewire_ohci]
root   154 2  0 14:49 ?00:00:00 [scsi_eh_0]
root   155 2  0 14:49 ?00:00:00 [scsi_tmf_0]
root   156 2  0 14:49 ?00:00:00 [scsi_eh_1]
root   157 2  0 14:49 ?00:00:00 [scsi_tmf_1]
root   

[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread kevin gunn
and the strace

** Attachment added: "xx"
   
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1544157/+attachment/4568840/+files/xx

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread Serge Hallyn
What do the following show exactly:

ps -ef

lxc info xen

for the 'Init:' line in the previous output,

ls -l /proc//root/proc

strace -f -oxx lxc exec xen -- bash

(and attach the 'xx' file which that created)

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread kevin gunn
any hints on how can i debug further - i was heavily relying on this,
and after updating yesterday it doesn't work.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread Stéphane Graber
On a clean Xenial install here:

ubuntu@canonical-lxd:~$ lxc remote add images images.linuxcontainers.org
ubuntu@canonical-lxd:~$ lxc init images:ubuntu/xenial/amd64 xen
Creating xen
Retrieving image: 100%
ubuntu@canonical-lxd:~$ lxc start xen
ubuntu@canonical-lxd:~$ lxc exec xen -- /bin/bash
root@xen:~# 

** Changed in: lxd (Ubuntu)
   Status: New => Incomplete

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread Tycho Andersen
I've heard reports of this on ppc64el as well; I thought it was just
there, but perhaps not.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1544157] Re: lxc exec not working in xenial

2016-02-10 Thread Stéphane Graber
** Package changed: lxc (Ubuntu) => lxd (Ubuntu)

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs