From 7762816995a43678da79430a13a06b64a99fd55a Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sun, 21 May 2017 13:36:19 -0400 Subject: 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. --- kvm-manager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3