[libvirt] [PATCH] Require at least one console for LXC domain

Chen, Hanxiao chenhanxiao at cn.fujitsu.com
Fri Oct 31 09:29:35 UTC 2014



> -----Original Message-----
> From: libvir-list-bounces at redhat.com [mailto:libvir-list-bounces at redhat.com]
> On Behalf Of Ján Tomko
> Sent: Friday, October 31, 2014 5:22 PM
> To: libvir-list at 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 at cn.fujitsu.com>

Thanks,
- Chen




More information about the libvir-list mailing list