-----Original Message-----
From: libvir-list-bounces(a)redhat.com [mailto:libvir-list-bounces@redhat.com]
On Behalf Of Ján Tomko
Sent: Friday, October 31, 2014 5:22 PM
To: libvir-list(a)redhat.com
Subject: [libvirt] [PATCH] Require at least one console for LXC domain
A domain without a console quietly dies soon after start,
because we try to set /dev/null as a controlling TTY
2014-10-30 15:10:59.705+0000: 1: error : lxcContainerSetupFDs:283 :
ioctl(TIOCSTTY) failed: Inappropriate ioctl for device
Report an error early instead of trying to start it.
https://bugzilla.redhat.com/show_bug.cgi?id=1155410
Reviewed-by: Chen Hanxiao <chenhanxiao(a)cn.fujitsu.com>
Thanks,
- Chen