[Bug 1261338] Re: lxc-stop and even lxc-stop -k can hang

2016-01-09 Thread Vincent Ladeuil
It never happened again (and may have been a misuse involving immortal
sudo subprocesses but I'm blurry on the details), marking invalid but
fixed released may be correct as well.

** Changed in: lxc (Ubuntu)
   Status: Expired => Invalid

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2016-01-08 Thread Launchpad Bug Tracker
[Expired for lxc (Ubuntu) because there has been no activity for 60
days.]

** Changed in: lxc (Ubuntu)
   Status: Incomplete => Expired

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2015-11-09 Thread Stéphane Graber
Not seeing anything obviously wrong here...

To rule out a few more things, when you get the hanging "lxc-stop -n container 
-k", can you do and paste the output of:
 - ps faux
 - dmesg

Thanks!

** Changed in: lxc (Ubuntu)
   Status: Confirmed => Incomplete

** Changed in: lxc (Ubuntu)
   Importance: High => Undecided

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2015-08-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: lxc (Ubuntu)
   Status: New = Confirmed

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-08-20 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Status: Incomplete = New

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-08-16 Thread ivan
all post in file post

** Attachment added: post
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+attachment/4179055/+files/post

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-08-16 Thread ivan
debug file

** Attachment added: debug.out
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+attachment/4179056/+files/debug.out

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-08-16 Thread ivan
debug file

** Attachment added: ivan.zip
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+attachment/4179070/+files/ivan.zip

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-08-16 Thread ivan
The second option, if you do not use the -d
all post in file post


** Attachment added: post
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+attachment/4179069/+files/post

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-08-14 Thread ivan
Hello! This problem also manifested itself in me. I performed the
following commands

sudo apt-get install lxc 
sudo lxc-create -t ubuntu -n p1
sudo lxc-kill -n p1  lxc-kill: command not found
sudo lxc-stop -n p1 == execution hangs
sudo strace -f lxc-stop -k -n p1


execve(/usr/bin/lxc-stop, [lxc-stop, -k, -n, p1], [/* 26 vars */]) = 0
brk(0)  = 0xb9438000
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb777f000
access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or directory)
open(/etc/ld.so.cache, O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=106845, ...}) = 0
mmap2(NULL, 106845, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7764000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/usr/lib/i386-linux-gnu/liblxc.so.1, O_RDONLY|O_CLOEXEC) = 3
read(3, 
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\205\0\0004\0\0\0..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=429132, ...}) = 0
mmap2(NULL, 427812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb76fb000
mmap2(0xb7762000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x67000) = 0xb7762000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/i386-linux-gnu/libc.so.6, O_RDONLY|O_CLOEXEC) = 3
read(3, 
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\233\1\0004\0\0\0..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1758972, ...}) = 0
mmap2(NULL, 1768060, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb754b000
mprotect(0xb76f4000, 4096, PROT_NONE)   = 0
mmap2(0xb76f5000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a9000) = 0xb76f5000
mmap2(0xb76f8000, 10876, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76f8000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/i386-linux-gnu/libcap.so.2, O_RDONLY|O_CLOEXEC) = 3
read(3, 
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\16\0\0004\0\0\0..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=18048, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb754a000
mmap2(NULL, 20824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7544000
mmap2(0xb7548000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0xb7548000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/usr/lib/i386-linux-gnu/libapparmor.so.1, O_RDONLY|O_CLOEXEC) = 3
read(3, 
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\20\0\0004\0\0\0..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=42820, ...}) = 0
mmap2(NULL, 45564, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7538000
mmap2(0xb7542000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0xb7542000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/i386-linux-gnu/libselinux.so.1, O_RDONLY|O_CLOEXEC) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pF\0\0004\0\0\0..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=133072, ...}) = 0
mmap2(NULL, 142348, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7515000
mmap2(0xb7535000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0xb7535000
mmap2(0xb7537000, 3084, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7537000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/usr/lib/i386-linux-gnu/libseccomp.so.2, O_RDONLY|O_CLOEXEC) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2208\0\0004\0\0\0..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=62912, ...}) = 0
mmap2(NULL, 65636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7504000
mmap2(0xb7511000, 16384, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0xb7511000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/i386-linux-gnu/libcgmanager.so.0, O_RDONLY|O_CLOEXEC) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p \0\0004\0\0\0..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=116028, ...}) = 0
mmap2(NULL, 118800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb74e6000
mmap2(0xb7502000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0xb7502000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No 

[Bug 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-08-14 Thread ivan
ivan@ivan-Satellite-A40:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 14.04.1 LTS
Release:14.04
Codename:   trusty

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-08-14 Thread ivan
This problem was repeated to me.
executed commands

sudo apt-get install lxc
sudo lxc-create -t ubuntu -n p1
sudo lxc-start -n p1 
sudo lxc-stop -n p1 ==execution hangs

sudo strace -f lxc-stop -k -n p1==

execve(/usr/bin/lxc-stop, [lxc-stop, -k, -n, p1], [/* 26 vars */]) = 0
brk(0)  = 0xb79de000
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7768000
access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or directory)
open(/etc/ld.so.cache, O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=106845, ...}) = 0
mmap2(NULL, 106845, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb774d000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/usr/lib/i386-linux-gnu/liblxc.so.1, O_RDONLY|O_CLOEXEC) = 3
read(3, 
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\205\0\0004\0\0\0..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=429132, ...}) = 0
mmap2(NULL, 427812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb76e4000
mmap2(0xb774b000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x67000) = 0xb774b000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/i386-linux-gnu/libc.so.6, O_RDONLY|O_CLOEXEC) = 3
read(3, 
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\233\1\0004\0\0\0..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1758972, ...}) = 0
mmap2(NULL, 1768060, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7534000
mprotect(0xb76dd000, 4096, PROT_NONE)   = 0
mmap2(0xb76de000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a9000) = 0xb76de000
mmap2(0xb76e1000, 10876, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76e1000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/i386-linux-gnu/libcap.so.2, O_RDONLY|O_CLOEXEC) = 3
read(3, 
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\16\0\0004\0\0\0..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=18048, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7533000
mmap2(NULL, 20824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb752d000
mmap2(0xb7531000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0xb7531000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/usr/lib/i386-linux-gnu/libapparmor.so.1, O_RDONLY|O_CLOEXEC) = 3
read(3, 
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\20\0\0004\0\0\0..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=42820, ...}) = 0
mmap2(NULL, 45564, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7521000
mmap2(0xb752b000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0xb752b000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/i386-linux-gnu/libselinux.so.1, O_RDONLY|O_CLOEXEC) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pF\0\0004\0\0\0..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=133072, ...}) = 0
mmap2(NULL, 142348, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb74fe000
mmap2(0xb751e000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0xb751e000
mmap2(0xb752, 3084, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb752
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/usr/lib/i386-linux-gnu/libseccomp.so.2, O_RDONLY|O_CLOEXEC) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2208\0\0004\0\0\0..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=62912, ...}) = 0
mmap2(NULL, 65636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb74ed000
mmap2(0xb74fa000, 16384, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0xb74fa000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/i386-linux-gnu/libcgmanager.so.0, O_RDONLY|O_CLOEXEC) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p \0\0004\0\0\0..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=116028, ...}) = 0
mmap2(NULL, 118800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb74cf000
mmap2(0xb74eb000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0xb74eb000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/i386-linux-gnu/libnih.so.1, 

[Bug 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-08-14 Thread Serge Hallyn
Thanks for the information.  Indeed, lxc-stop -k still works by talking
to the lxc monitor.  What appears to have happened here is that the
monitor itself is frozen.

Could you please show full output of:

ps -ef

Then do 'ps -ef | grep lxc-start' to find the lxc-start process for the
hung container.  In one terminal do

sudo strace -f -odebug.out -p $pid

where $pid is the process id of the lxc-start.  Then in another terminal
again do

lxc-stop -n $container -k

and attach the file debug.out to this report.

** Changed in: lxc (Ubuntu)
   Status: Invalid = Incomplete

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-01-16 Thread Vincent Ladeuil
Sorry for not providing timely feedback there (nor a reproducing env).

Truth is this hasn't recur so marking invalid seems fair.

Thanks for the help nevertheless, if it happens again, I'll make sure to
have such a reproducing env before re-opening this bug.

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2014-01-15 Thread Stéphane Graber
I vaguely remember discussing this on IRC.

IIRC the case was something in the container getting stuck in D state
because of a kernel bug. In such case, the container couldn't be killed
as anything attempting to do so would get stuck too.

Anyway, this is pretty unfortunate but it's a kernel bug and there's
nothing LXC can do to kill an unkillable process so I think our current
behaviour is fine and the kernel is what should get fixed.

** Changed in: lxc (Ubuntu)
   Status: Incomplete = Invalid

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2013-12-16 Thread Serge Hallyn
What exactly is the kernel crash being triggered on the host?

What does 'sudo strace -f lxc-stop -k -n container' show?

What does the file outout show after running 'sudo lxc-stop -l info -o
outout -n container' ?

-- 
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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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 1261338] Re: lxc-stop and even lxc-stop -k can hang

2013-12-16 Thread Serge Hallyn
(I should've explicitly asked:  exactly what steps are you taking to
reproduce this)

** Changed in: lxc (Ubuntu)
   Status: New = Incomplete

** 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/1261338

Title:
  lxc-stop and even lxc-stop -k can hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1261338/+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