From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YocQ2-0000bU-GZ for qemu-devel@nongnu.org; Sat, 02 May 2015 14:45:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YocPy-0007X0-Cs for qemu-devel@nongnu.org; Sat, 02 May 2015 14:45:42 -0400 Received: from indium.canonical.com ([91.189.90.7]:41400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YocPy-0007Wq-1s for qemu-devel@nongnu.org; Sat, 02 May 2015 14:45:38 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1YocPx-000381-FH for ; Sat, 02 May 2015 18:45:37 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 5CDD42E8060 for ; Sat, 2 May 2015 18:45:37 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 02 May 2015 18:36:50 -0000 From: Alain Kalker Sender: bounces@canonical.com References: <20150502182723.29231.13701.malonedeb@soybean.canonical.com> Message-Id: <20150502183650.15550.62072.malone@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1451067] Re: -smb option requires full path for Samba sharing to work Reply-To: Bug 1451067 <1451067@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On my system, `qemu` is an alias for `qemu-system-x86_64`. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1451067 Title: -smb option requires full path for Samba sharing to work Status in QEMU: New Bug description: This issue has been reported on qemu-devel a looong time ago: https://lists.gnu.org/archive/html/qemu-devel/2005-12/msg00141.html QEMU version 2.2.1-4 on Arch Linux x86_64 Steps to reproduce: host$ mkdir share host$ chmod o+rwx share host$ qemu -smb share vm$ smbclient //10.0.2.4/qemu -N smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it Domain=3D[WORKGROUP] OS=3D[Windows 6.1] Server=3D[Samba 4.2.1] tree connect failed: NT_STATUS_BAD_NETWORK_NAME vm$ poweroff Workaround: host$ qemu -smb /full/path/to/share vm$ $ smbclient //10.0.2.4/qemu -N smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it Domain=3D[WORKGROUP] OS=3D[Windows 6.1] Server=3D[Samba 4.2.1] smb: \> ls . D 0 Sat May 2 19:57:31 2015 .. D 0 Sat May 2 19:57:31 2015 961302540 blocks of size 1024. 637557248 blocks available smb: \> quit Please, please fix this gotcha, whether in the documentation or in code. it can cause some serious bouts of hair-pulling. -Alain To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1451067/+subscriptions