Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#49640 - [nbd] change config file for interopability with qemu 2.6

Attached to Project: Community Packages
Opened by ajs124 (andy123) - Thursday, 09 June 2016, 20:02 GMT
Last edited by Christian Hesse (eworm) - Friday, 10 June 2016, 21:15 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I recently upgraded qemu to version 2.6 which broke my libvirt setup with some ominous error message…
Turns out the fix is adding "allowlist = true" to the [generic] section of the nbd server config file (https://git.archlinux.org/svntogit/community.git/tree/trunk/config?h=packages/nbd).

Steps to reproduce:
* use nbd-server with the default [generic] config file section
* try to start a qemu vm with a nbd disk after upgrading to 2.6+
* google around at least 30 min because you have no idea what "Denied by server for option 3" is supposed to mean
This task depends upon

Closed by  Christian Hesse (eworm)
Friday, 10 June 2016, 21:15 GMT
Reason for closing:  Won't implement
Additional comments about closing:  No default exports listing.
Comment by Christian Hesse (eworm) - Friday, 10 June 2016, 21:15 GMT
For security reasons we will not enable exports listing by default. And I will not list every single configuration option in config file, the provided file is just a minimal example. Read the man page for details.

By the way... nbd-client gives a reasonable error message:

$ nbd-client -l localhost
Negotiation: ..
E: listing not allowed by server.

So if you think this is bad behaviour ask the qemu guys to fix it. (Upstream of course, we will not change that in Arch package.)

Loading...