all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rutger Helling <rhelling@mykolab.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 29875@debbugs.gnu.org
Subject: [bug#29875] [PATCH] gnu: qemu: Add wrapper for Samba.
Date: Sun, 7 Jan 2018 12:46:16 +0100	[thread overview]
Message-ID: <20180107124616.783675de@mykolab.com> (raw)
In-Reply-To: <871sj2rlrg.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]

Hi Ludo,

I tried that at the start already actually, unfortunately it doesn't
work. It'll refuse to start with the following message:

qemu-system-x86_64: -net user,smb=~/tmp: Could not find 'smbd',
please install it.

On Sun, 07 Jan 2018 11:44:35 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

> Hi Rutger,
> 
> Rutger Helling <rhelling@mykolab.com> skribis:
> 
> > I'm not sure it's as simple as that. AFAIK "/usr/sbin/smbd" only
> > appears in the configure file. You can modify it by specifying
> > smbd=/location/of/binary, which it then builds into the qemu*
> > binaries. I think it has to be a single binary (full path) with no
> > arguments at all or it doesn't work. That's why I chose to do it in
> > this way.
> >
> > Maybe someone more familiar with the QEMU source code can do it by
> > patching the source code itself, but I would have no idea how to go
> > about it. Plus I'm not sure if that would end up being less
> > complex, or if it's even possible at all.  
> 
> Looking more carefully, ‘fork_exec’ in slirp/misc.c already uses
> ‘execvp’ (meaning that the executable is searched for in $PATH), so it
> may be that configuring with:
> 
>   --smbd=smbd
> 
> is enough to have ‘smbd’ searched for in $PATH, no?
> 
> Thanks,
> Ludo’.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2018-01-07 11:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-28  8:32 [bug#29875] [PATCH] gnu: qemu: Add wrapper for Samba Rutger Helling
2017-12-28 17:35 ` Marius Bakke
2017-12-28 23:07   ` bug#29875: " Rutger Helling
2017-12-29 13:28   ` [bug#29875] " Ludovic Courtès
2017-12-29 14:02     ` Rutger Helling
2018-01-07 10:44       ` Ludovic Courtès
2018-01-07 11:46         ` Rutger Helling [this message]
2018-01-07 14:13           ` Ludovic Courtès
2018-01-07 14:26             ` Rutger Helling
2018-01-07 22:44               ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180107124616.783675de@mykolab.com \
    --to=rhelling@mykolab.com \
    --cc=29875@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.