summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/636095
diff options
context:
space:
mode:
Diffstat (limited to 'results/scraper/launchpad-without-comments/636095')
-rw-r--r--results/scraper/launchpad-without-comments/63609542
1 files changed, 42 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/636095 b/results/scraper/launchpad-without-comments/636095
new file mode 100644
index 00000000..d8cb3b16
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/636095
@@ -0,0 +1,42 @@
+tap downscript is not executed when exiting qemu through "quit" monitor command
+
+When you tell qemu to shutdown using the "quit" monitor command, the downscript of the tap interface is not executed.
+
+
+To reproduce:
+
+
+Create the test script /tmp/qemu-ifdown-test.sh :
+
+==
+#!/bin/bash
+
+touch /tmp/is_this_working
+==
+
+Run:
+
+==
+# chmod +x /tmp/qemu-ifdown-test.sh
+# qemu-system-x86_64 -daemonize -net nic -net tap,script=/etc/qemu-ifup,downscript=/tmp/qemu-ifdown-test.sh -monitor unix:/tmp/monitor.socket,nowait,server
+VNC server running on `127.0.0.1:5900'
+# nc -U /tmp/monitor.socket 
+QEMU 0.12.5 monitor - type 'help' for more information
+(qemu) quit
+quit
+# ls /tmp/is*
+ls: cannot access /tmp/is*: No such file or directory
+
+==
+
+If I quit qemu by sending a SIGTERM instead of using the "quit" command, the downscript does get executed:
+
+==
+# qemu-system-x86_64 -daemonize -net nic -net tap,script=/etc/qemu-ifup,downscript=/tmp/qemu-ifdown-test.sh -monitor unix:/tmp/monitor.socket,nowait,server
+VNC server running on `127.0.0.1:5900'
+# killall qemu-system-x86_64
+# ls /tmp/is*
+/tmp/is_this_working
+==
+
+Issue occurs with both 0.12.3 and 0.12.5
\ No newline at end of file