* Abel Abraham Camarillo Ojeda <acam...@verlet.org> [2018-02-15 06:06:50 -0600]:
Synopsis: vmctl(8) pause never returns
Category: amd64
Environment:
System : OpenBSD 6.2
Details : OpenBSD 6.2-current (GENERIC.MP) #5: Mon Feb 12
21:05:57 MST 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine : amd64
Description:
vmctl when called with numeric id of non existant vm stops
indefinitely, but non when called with unknown name
How-To-Repeat:
# vmd -dv
doas vmd -dv
startup
failed to open /etc/vm.conf: No such file or directory
[in another term]
$ doas vmctl pause unknown; echo $?
vmctl: pause vm command failed: No such file or directory
0
$ doas vmctl pause 1; echo $?
[command is stuck here forever]
Fix:
unknown
Hi Abel,
Thanks for the report.
I can reproduce this and see why it fails. Will send a diff to fix it today.
--
Pratik