diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2017-05-21 13:36:19 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2017-05-21 13:36:19 -0400 |
commit | 7762816995a43678da79430a13a06b64a99fd55a (patch) | |
tree | 58201a8288c15b9f4f52bc47e18c85415c04d8f4 | |
parent | f1da1755adc315af866fb5d5e5fd0a04325b12a4 (diff) | |
download | kvm-manager-7762816995a43678da79430a13a06b64a99fd55a.tar.gz kvm-manager-7762816995a43678da79430a13a06b64a99fd55a.tar.bz2 |
screen 4.5.0 and later expects an argument for -L
before stretch, screen took no argument for -L, and we relied on the
screenrc to indicate the name of the logfile.
in stretch, screen's -L takes an argument -- and it complains if the
argument following -L starts with a -. This is a breaking API change
:/
so this patch can't go into versions before stretch.
-rwxr-xr-x | kvm-manager | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-manager b/kvm-manager index 7af2a72..d44de70 100755 --- a/kvm-manager +++ b/kvm-manager @@ -185,7 +185,7 @@ EOF -net "tap,ifname=$TAP,script=no,downscript=no,vlan=0,name=hostnet0" & chpst -u "$OWNER:$OWNERGROUP" \ - /usr/bin/screen -D -m -L -c /etc/screenrc.kvm-manager -S "$VMNAME" -t "$VMNAME" socat STDIO,raw,echo=0 "UNIX:${CONSOLENAME},retry=30" & + /usr/bin/screen -D -m -L ./servicelog -c /etc/screenrc.kvm-manager -S "$VMNAME" -t "$VMNAME" socat STDIO,raw,echo=0 "UNIX:${CONSOLENAME},retry=30" & set +e # handle regular signals |