Received: from eggs.gnu.org ([140.186.70.92]:41741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7RSN-0005x3-9i for qemu-devel@nongnu.org; Sat, 24 Sep 2011 08:35:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7RSM-0004Hp-AF for qemu-devel@nongnu.org; Sat, 24 Sep 2011 08:35:47 -0400 Received: from indium.canonical.com ([91.189.90.7]:33873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7RSM-0004HW-65 for qemu-devel@nongnu.org; Sat, 24 Sep 2011 08:35:46 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1R7RSJ-0003qN-RS for ; Sat, 24 Sep 2011 12:35:43 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id D364C2E80D3 for ; Sat, 24 Sep 2011 12:35:42 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 24 Sep 2011 12:30:01 -0000 From: Sergey Svishchev <636095@bugs.launchpad.net> Sender: bounces@canonical.com References: <20100912001723.21319.69183.malonedeb@palladium.canonical.com> Message-Id: <20110924123001.10207.4996.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 636095] Re: tap downscript is not executed when exiting qemu through "quit" monitor command Reply-To: Bug 636095 <636095@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Have you reported this to QEMU developers' mailing list? -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/636095 Title: tap downscript is not executed when exiting qemu through "quit" monitor command Status in QEMU: New Bug description: 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 : =3D=3D #!/bin/bash touch /tmp/is_this_working =3D=3D Run: =3D=3D # chmod +x /tmp/qemu-ifdown-test.sh # qemu-system-x86_64 -daemonize -net nic -net tap,script=3D/etc/qemu-ifup= ,downscript=3D/tmp/qemu-ifdown-test.sh -monitor unix:/tmp/monitor.socket,no= wait,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 =3D=3D If I quit qemu by sending a SIGTERM instead of using the "quit" command, the downscript does get executed: =3D=3D # qemu-system-x86_64 -daemonize -net nic -net tap,script=3D/etc/qemu-ifup= ,downscript=3D/tmp/qemu-ifdown-test.sh -monitor unix:/tmp/monitor.socket,no= wait,server VNC server running on `127.0.0.1:5900' # killall qemu-system-x86_64 # ls /tmp/is* /tmp/is_this_working =3D=3D Issue occurs with both 0.12.3 and 0.12.5 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/636095/+subscriptions