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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26797 in the body.
You can then email your comments to 26797 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#26797
; Package
guix
.
(Sat, 06 May 2017 10:27:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 06 May 2017 10:27:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26797
; Package
guix
.
(Sat, 06 May 2017 12:47:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 26797 <at> debbugs.gnu.org (full text, mbox):
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.
WDYT?
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26797
; Package
guix
.
(Sat, 06 May 2017 13:04:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 26797 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
> 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---
Right, that’s not good.
> Thus it’d be best if we modified QEMU to search for ‘smbd’ in $PATH.
I agree! I can’t work on this right now, unfortunately, but I’ll
revisit this at some point in the future if nobody else beats me to it.
Thanks for your input!
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26797
; Package
guix
.
(Sat, 06 May 2017 14:44:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 26797 <at> debbugs.gnu.org (full text, mbox):
[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)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26797
; Package
guix
.
(Sat, 06 May 2017 18:49:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 26797 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sat, May 06, 2017 at 04:42:59PM +0200, Marius Bakke wrote:
> 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..).
If qemu-full is something that would be generically useful, sure.
Otherwise, maybe you could bring it to the potluck!
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26797
; Package
guix
.
(Sun, 07 May 2017 15:34:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 26797 <at> debbugs.gnu.org (full text, mbox):
Marius Bakke <mbakke <at> fastmail.com> skribis:
> 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..).
The day after someone will suggest adding “qemu-fuller”. ;-)
Seriously yes, why not; just wondering whether it should be called
“qemu-ceph-enabled” or something along these lines.
Ludo’.
Added tag(s) easy.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Mon, 08 May 2017 14:31:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
Marius Bakke <mbakke <at> fastmail.com>
:
You have taken responsibility.
(Tue, 07 Apr 2020 19:23:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
bug acknowledged by developer.
(Tue, 07 Apr 2020 19:23:03 GMT)
Full text and
rfc822 format available.
Message #27 received at 26797-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (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)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 06 May 2020 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 327 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.