From: "Daniel P. Berrange" <berrange(a)redhat.com>
A few more LXC fixes to improve error reporting
Instead of
# virsh -c lxc:/// start shell
error: Failed to start domain shell
error: internal error: guest failed to start: PATH=/bin:/sbin TERM=linux
container=lxc-libvirt container_uuid=95449419-f969-d649-d996-2566ec42af7d
LIBVIRT_LXC_UUID=95449419-f969-d649-d996-2566ec42af7d LIBVIRT_LXC_NAME=shell /bin/sh
error receiving signal from container: Input/output error
we now get
# virsh -c lxc:/// start shell
error: Failed to start domain shell
error: internal error: guest failed to start: Failed to access
'/mnt/btr/does/not/exist': No such file or directory
Daniel P. Berrange (3):
Ensure lxcContainerMain reports errors on stderr
Ensure lxcContainerResolveSymlinks reports errors
Improve log filtering in virLXCProcessReadLogOutputData
src/lxc/lxc_container.c | 18 ++++++++++++++----
src/lxc/lxc_process.c | 16 +++++++++++++++-
2 files changed, 29 insertions(+), 5 deletions(-)
--
1.8.3.1