GNU bug report logs -
#26797
qemu looks for smbd at /usr/sbin
Previous Next
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
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Ricardo Wurmus <rekado <at> 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..).
[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.