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: Marius Bakke <mbakke <at> fastmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#26797: closed (qemu looks for smbd at /usr/sbin)
Date: Tue, 07 Apr 2020 19:23:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 07 Apr 2020 21:22:32 +0200
with message-id <87a73nm77r.fsf <at> devup.no>
and subject line Re: bug#26797: qemu looks for smbd at /usr/sbin
has caused the debbugs.gnu.org bug report #26797,
regarding qemu looks for smbd at /usr/sbin
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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



[Message part 3 (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 4 (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)]

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.