#1002016 libvirt-clients: virsh hangs without controlling TTY

Package:
libvirt-clients
Source:
libvirt
Description:
Programs for the libvirt library
Submitter:
Detlef Vollmann
Date:
2021-12-20 14:21:06 UTC
Severity:
important
#1002016#5
Date:
2021-12-20 14:18:41 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
Using virsh to start a VM from fvwm.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I start a VM from fvwm normally with such an entry:
Exec virsh start vm && virt-viewer vm

This stopped working after the last libvirt upgrade.
Using a script and strace I found that it opens /dev/tty shortly before
the end of the output, so I assume there's a problem here.
Running the command from the command line in an xterm works fine.

   * What was the outcome of this action?
The virsh process still shows up in 'ps', but doesn't show
any activity, doesn't end and doesn't start the VM.

   * What outcome did you expect instead?
That the program returns and starts the VM.