-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qemu: Add patch to fix incorrect permissions on samba >= 2.0.5 #145573
base: master
Are you sure you want to change the base?
Conversation
My |
# Remove when https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg07156.html is merged and available | ||
(fetchpatch { | ||
name = "net-slirp-Fix-incorrect-permissions-on-samba-2.0.5.patch"; | ||
url = "https://github.com/nh2/qemu/commit/de30898a738bd073593d20930496ef63e54d62a3.patch"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url = "https://github.com/nh2/qemu/commit/de30898a738bd073593d20930496ef63e54d62a3.patch"; | |
url = "https://github.com/qemu/qemu/commit/de30898a738bd073593d20930496ef63e54d62a3.patch"; |
makes it easier to track when it is merged.
@bb2020 Are you using the |
@nh2 I notice the patch hasn't been discussed on the mailing list since April. Now would be a good time to resend it, because you might be able to make it into the soon-to-be-released 6.2.0, and because IME they're especially receptive to bug fixes during release candidate season. |
I have sent another comment/request in there. Unfortunately https://mail.gnu.org/archive/html/qemu-devel/2021-04/msg06741.html doesn't seem to be anything close to realtime, so I cannot link it. |
Unfortunately https://mail.gnu.org/archive/html/qemu-devel/2021-04/msg06741.html doesn't seem to be anything close to realtime, so I cannot link it.
I find https://lore.kernel.org/qemu-devel/ to work much better in
general -- maybe it's faster as well? Not sure.
|
Motivation for this change
QEMU's builtin Samba config does not work for current Samba versions (including the one used in nixpkgs), see:
https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg07156.html
Discussion so far (note
lists
->mail
in the URL, the old mailing list URL doesn't seem to update any longer):https://mail.gnu.org/archive/html/qemu-devel/2021-04/msg06741.html
Unfortunately nobody has replied to my patch yet.
I think it makes sense to have this in nixpkgs, because otherwise mounting QEMU-provided Samba shares for Windows VM guests does not work.
We've been using this patch successfully on our company infrastructure for the last 9 months.
Things done
nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)CC from #114064: @bb2020
CC from #94370: @andir