From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#26797: qemu looks for smbd at /usr/sbin Date: Sat, 06 May 2017 12:26:18 +0200 Message-ID: <87zieq2sdx.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6wvb-0006oC-VT for bug-guix@gnu.org; Sat, 06 May 2017 06:27:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6wvX-0007QT-1M for bug-guix@gnu.org; Sat, 06 May 2017 06:27:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58991) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6wvW-0007QP-UP for bug-guix@gnu.org; Sat, 06 May 2017 06:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d6wvW-0001M4-Md for bug-guix@gnu.org; Sat, 06 May 2017 06:27:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6wv2-0006Yk-4i for bug-guix@gnu.org; Sat, 06 May 2017 06:26:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6wux-0007H6-7s for bug-guix@gnu.org; Sat, 06 May 2017 06:26:32 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21059) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d6wux-0007GH-1M for bug-guix@gnu.org; Sat, 06 May 2017 06:26:27 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 26797@debbugs.gnu.org Qemu comes with support for sharing files with a guest via Samba. This is done by appending something like this to the qemu-system-* invocation: … -net user,smb=$HOME/Downloads -net nic Qemu needs to be told *at configure time* where the smbd executable will be at runtime. By default this is /usr/sbin/smbd. Users can work around this problem by installing the “samba” package and creating a link from /usr/sbin/smbd to the actual executable. It would be better to fix this, but this would require adding samba as a dependency to Qemu, so that the location can be set at configure time. Alternatively, we could patch Qemu to look for smbd depending on an environment variable. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net