Skip to contentSkip to conversation

-smb option requires full path for Samba sharing to work

Qemu-devel Alain Kalker 2 participants 4 messages May 2, 2015 – Jun 22, 2021

lore
Share & tools
lore
#0 lore raw

Public bug reported:

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 <other options> -smb share

vm$ smbclient //10.0.2.4/qemu -N
smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.1] tree connect failed: NT_STATUS_BAD_NETWORK_NAME
vm$ poweroff

Workaround:

host$ qemu <other options> -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=[WORKGROUP] OS=[Windows 6.1] Server=[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

** Affects: qemu
Importance: Undecided
Status: New

Signature · 49 lines
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 <other options> -smb share

  vm$ smbclient //10.0.2.4/qemu -N
  smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
  Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.1]
  tree connect failed: NT_STATUS_BAD_NETWORK_NAME
  vm$ poweroff

  Workaround:

  host$ qemu <other options> -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=[WORKGROUP] OS=[Windows 6.1] Server=[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
#1 lore raw

On my system, qemu is an alias for qemu-system-x86_64.

Signature · 49 lines
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 <other options> -smb share

  vm$ smbclient //10.0.2.4/qemu -N
  smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
  Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.1]
  tree connect failed: NT_STATUS_BAD_NETWORK_NAME
  vm$ poweroff

  Workaround:

  host$ qemu <other options> -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=[WORKGROUP] OS=[Windows 6.1] Server=[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
#2 lore raw
In reply to Alain Kalker

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.

If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or please mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.

** Changed in: qemu
Status: New => Incomplete

Signature · 49 lines
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:
  Incomplete

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 <other options> -smb share

  vm$ smbclient //10.0.2.4/qemu -N
  smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
  Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.1]
  tree connect failed: NT_STATUS_BAD_NETWORK_NAME
  vm$ poweroff

  Workaround:

  host$ qemu <other options> -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=[WORKGROUP] OS=[Windows 6.1] Server=[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
#3 lore raw
In reply to Alain Kalker

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
Status: Incomplete => Expired

Signature · 49 lines
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:
  Expired

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 <other options> -smb share

  vm$ smbclient //10.0.2.4/qemu -N
  smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
  Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.1]
  tree connect failed: NT_STATUS_BAD_NETWORK_NAME
  vm$ poweroff

  Workaround:

  host$ qemu <other options> -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=[WORKGROUP] OS=[Windows 6.1] Server=[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