From: Leo Famulari <leo@famulari.name>
To: Marius Bakke <mbakke@fastmail.com>
Cc: 26797@debbugs.gnu.org
Subject: bug#26797: qemu looks for smbd at /usr/sbin
Date: Sat, 6 May 2017 14:48:50 -0400 [thread overview]
Message-ID: <20170506184850.GA22485@jasmine> (raw)
In-Reply-To: <87y3uayrkc.fsf@fastmail.com>
[-- Attachment #1: Type: text/plain, Size: 1862 bytes --]
On Sat, May 06, 2017 at 04:42:59PM +0200, Marius Bakke wrote:
> Ludovic Courtès <ludo@gnu.org> writes:
>
> > Ricardo Wurmus <rekado@elephly.net> skribis:
> >
> >> 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.
> >
> > See commit b344c505f4dff2ecbe981f0a0a3c3d67b222dcca, which removed the
> > dependency and Samba. Prior to that commit, QEMU recorded the absolute
> > file name of ‘smbd’.
> >
> > The problem is that Samba is big:
> >
> > --8<---------------cut here---------------start------------->8---
> > $ guix size qemu |tail -1
> > total: 710.5 MiB
> > $ guix size qemu samba |tail -1
> > total: 1203.5 MiB
> > --8<---------------cut here---------------end--------------->8---
> >
> > Thus it’d be best if we modified QEMU to search for ‘smbd’ in $PATH.
>
> Tangentially, would it make sense to add a "qemu-full" package? I'd like
> to add RBD support when Ceph is stable on Hydra, but that adds another
> ~300MiB to the closure (and a very expensive dependency..).
If qemu-full is something that would be generically useful, sure.
Otherwise, maybe you could bring it to the potluck!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-05-06 18:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-06 10:26 bug#26797: qemu looks for smbd at /usr/sbin Ricardo Wurmus
2017-05-06 12:45 ` Ludovic Courtès
2017-05-06 13:03 ` Ricardo Wurmus
2017-05-06 14:42 ` Marius Bakke
2017-05-06 18:48 ` Leo Famulari [this message]
2017-05-07 15:33 ` Ludovic Courtès
2020-04-07 19:22 ` Marius Bakke
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=20170506184850.GA22485@jasmine \
--to=leo@famulari.name \
--cc=26797@debbugs.gnu.org \
--cc=mbakke@fastmail.com \
/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.