[lxc-users] lxc stop hangs with ubuntu 16.04 guest container?

Dan Kegel dank at kegel.com
Tue May 21 00:22:30 UTC 2019


This little script hangs with lxd 3.0.3 (when run on ubuntu 16.04,
18.04, or 19.04):

#!/bin/sh
set -ex
lxc launch --ephemeral ubuntu:16.04 demo-foo
lxc exec demo-foo -- bash -c 'hostname'
lxc stop demo-foo     # hangs here

Doing a second 'lxc stop demo-foo' in another window unhangs it.

Is there something amiss with the ubuntu:16.04 base image?  I guess
maybe it needs to be updated...


More information about the lxc-users mailing list