[pkg-lxc-devel] Bug#961584: lxc-stop fails with exit code 1

Pierre-Elliott Bécue peb at debian.org
Sat Sep 5 22:23:30 BST 2020


Le mercredi 03 juin 2020 à 10:57:13+0200, Inaki Malerba a écrit :
> El 2/6/20 a las 20:07, Pierre-Elliott Bécue escribió:
> > Could you remove the --quiet bit to see if lxc-stop gives us a bit more
> > intel?
> > 
> > If possible, have your testbed call lxc-stop --kill --logpriority trace
> > --logfile /dev/stdout --name ${NAME}, so we can have the most expressive
> > output. But if it's an error, removing the quiet bit could be enough.
> > 
> > Thanks.
> > 
> 
> The POC I attached on a previous email it's not using debci, so you can
> modify the lxc-stop call.
> 
> After enabling trace log level, the output is the following:
> 
> > Starting LXC network bridge: :Starting LXC autoboot containers: :
> > lxc-stop autopkgtest-stable-amd64 20200603085059.718 TRACE    commands - commands.c:lxc_cmd_rsp_recv:123 - Command "get_init_pid" received response
> > lxc-stop autopkgtest-stable-amd64 20200603085059.718 DEBUG    commands - commands.c:lxc_cmd_rsp_recv:156 - Response data length for command "get_init_pid" is 0
> > lxc-stop autopkgtest-stable-amd64 20200603085059.718 TRACE    commands - commands.c:lxc_cmd:293 - Opened new command socket connection fd 4 for command "get_init_pid"
> > lxc-stop autopkgtest-stable-amd64 20200603085059.719 TRACE    commands - commands.c:lxc_cmd_rsp_recv:123 - Command "get_state" received response
> > lxc-stop autopkgtest-stable-amd64 20200603085059.719 DEBUG    commands - commands.c:lxc_cmd_rsp_recv:156 - Response data length for command "get_state" is 0
> > lxc-stop autopkgtest-stable-amd64 20200603085059.719 TRACE    commands - commands.c:lxc_cmd:293 - Opened new command socket connection fd 4 for command "get_state"
> > lxc-stop autopkgtest-stable-amd64 20200603085059.719 DEBUG    commands - commands.c:lxc_cmd_get_state:656 - Container "autopkgtest-stable-amd64" is in "RUNNING" state
> > lxc-stop autopkgtest-stable-amd64 20200603085059.719 TRACE    commands - commands.c:lxc_cmd_rsp_recv:123 - Command "stop" received response
> > lxc-stop autopkgtest-stable-amd64 20200603085059.719 DEBUG    commands - commands.c:lxc_cmd_rsp_recv:156 - Response data length for command "stop" is 0
> > lxc-stop autopkgtest-stable-amd64 20200603085059.719 TRACE    commands - commands.c:lxc_cmd:293 - Opened new command socket connection fd 4 for command "stop"
> > lxc-stop autopkgtest-stable-amd64 20200603085059.720 ERROR    commands - commands.c:lxc_cmd_stop:707 - No such file or directory - Failed to stop container "autopkgtest-stable-amd64"
> > lxc-stop: autopkgtest-stable-amd64: commands.c: lxc_cmd_stop: 707 No such file or directory - Failed to stop container "autopkgtest-stable-amd64"

LXC's devs told me that 4.0.4 should solve it. I'm uploading this
release now. Please don't hesitate to tell me if it helps.

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20200905/67af171b/attachment.sig>


More information about the Pkg-lxc-devel mailing list