<div dir="ltr">Hi.<div><br></div><div>I'm running libvirt across a fleet of CentOS 7 desktops to provide VMs for other operating systems, and they've been running fine for the last year, through rebuilds, etc.</div><div><br></div><div>In the last week, PCs that have been rebuilt no longer start our VMs, failing with the error:</div><div><br></div><div><div><div>error: internal error: process exited while connecting to monitor: 2016-09-15T10:15:12.839724Z qemu-kvm: -chardev pty,id=charserial0: Failed to create chardev</div></div><div><br></div><div>Various sites list remounting /dev/pts to solve this, with the command:</div><div><br></div><div>mount -n -t devpts -o remount,mode=0620,gid=5 devpts /dev/pts<br></div><div><br></div><div>After this command, the mount entry for devpts changed:</div><div><br></div><div>devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)<br></div><div>devpts on /dev/pts type devpts (rw,relatime,seclabel,gid=5,mode=620,ptmxmode=000)<br></div><div><br></div><div>However, the chardev error is still present.</div><div><br></div><div>The VM log in /var/log/libvirt/qemu shows:</div><div><br></div><div><div>2016-09-15 10:15:59.422+0000: starting up libvirt version: 1.2.17, package: 13.el7_2.5 (CentOS BuildSystem <<a href="http://bugs.centos.org">http://bugs.centos.org</a>>, 2016-06-23-14:23:27, <a href="http://worker1.bsys.centos.org">worker1.bsys.centos.org</a>), qemu version: 1.5.3 (qemu-kvm-1.5.3-105.el7_2.7)</div><div>LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name centos6 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 16384 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid 901c9deb-1935-4cfe-b9b4-ea2221d10487 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-centos6/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot menu=on,strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/srv/vm/centos6-vda.qcow2,if=none,id=drive-virtio-disk0,format=raw,cache=none,aio=native -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2 -netdev tap,fd=23,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:02:59:93,bus=pci.0,addr=0x3,bootindex=1 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc <a href="http://127.0.0.1:0">127.0.0.1:0</a> -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on</div><div>2016-09-15T10:15:59.508359Z qemu-kvm: -chardev pty,id=charserial0: Failed to create chardev</div><div>2016-09-15 10:15:59.682+0000: shutting down</div></div><div><br></div><div>Anyone got any ideas? The only configuration change we have introduced in the last few weeks is creating local user accounts and turning off NIS on those boxes. SELinux is set to Permissive.</div><div><br></div><div>Thanks,</div><div><br></div><div>Iain Hallam.</div>-- <br><div class="gmail_signature"><a href="mailto:iain@nineworlds.net" target="_blank">iain@nineworlds.net</a><br><a href="http://www.iainhallam.com/" target="_blank">http://www.iainhallam.com/</a></div>
</div></div>