[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29875] [PATCH] gnu: qemu: Add wrapper for Samba.
From: |
Ludovic Courtès |
Subject: |
[bug#29875] [PATCH] gnu: qemu: Add wrapper for Samba. |
Date: |
Sun, 07 Jan 2018 11:44:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hi Rutger,
Rutger Helling <address@hidden> 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’.
- [bug#29875] [PATCH] gnu: qemu: Add wrapper for Samba.,
Ludovic Courtès <=