GNU bug report logs - #26797
qemu looks for smbd at /usr/sbin

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Sat, 6 May 2017 10:27:02 UTC

Severity: normal

Tags: easy

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ricardo Wurmus <rekado <at> elephly.net>
Subject: bug#26797: closed (Re: bug#26797: qemu looks for smbd at /usr/sbin)
Date: Tue, 07 Apr 2020 19:23:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#26797: qemu looks for smbd at /usr/sbin

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 26797 <at> debbugs.gnu.org.

-- 
26797: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26797
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Marius Bakke <mbakke <at> fastmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>, 26797-done <at> debbugs.gnu.org
Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin
Date: Tue, 07 Apr 2020 21:22:32 +0200
[Message part 3 (text/plain, inline)]
Ricardo Wurmus <rekado <at> elephly.net> writes:

> 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.

This was fixed by Rutger back in
84276503059d46c0a42240f8770f59090614d863 and
0e5d0f66b56221b7de49ab28b607633e413c9110.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: qemu looks for smbd at /usr/sbin
Date: Sat, 06 May 2017 12:26:18 +0200
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




This bug report was last modified 5 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.