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!
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!
FS#62664 - [nbd] nbd server with whitespace in authorization file
Attached to Project:
Arch Linux
Opened by Jonathan Steel (jsteel) - Friday, 17 May 2019, 14:58 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 18 March 2020, 07:28 GMT
Opened by Jonathan Steel (jsteel) - Friday, 17 May 2019, 14:58 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 18 March 2020, 07:28 GMT
|
DetailsUpdating glibc from 2.28-6 to 2.29-1 breaks nbd-client access.
Server config: # /etc/nbd-server/config [generic] user = nbd group = disk [test] exportname = /dev/vg_test/lv_test authfile = /etc/nbd-server/authfile # /etc/nbd-server/authfile 10.0.0.2 Steps to reproduce: Have glibc 2.28-6 installed on the nbd server. On the client run "nbd-client -N test 10.0.0.1 /dev/nbd0": Negotiation: ..size = 51196MB Connected /dev/nbd0 Update to glibc 2.29-1 and restart ndb on the server. On the client run the same command and: Negotiation: ..Error: Connection not allowed by server policy. Server said: Access denied by server configuration Exiting. On the server I see: nbd_server[7845]: Spawned a child process nbd_server[12331]: virtstyle ipliteral nbd_server[12331]: connect from 10.0.0.2, assigned file is /dev/vg_test/lv_test nbd_server[12331]: Client '10.0.0.2' is not authorized to access nbd_server[12331]: Negotiation failed: Connection reset by peer nbd_server[12331]: Exiting. nbd_server[7845]: Child exited with 1 |
This task depends upon
Closed by Christian Hesse (eworm)
Wednesday, 18 March 2020, 07:28 GMT
Reason for closing: Fixed
Additional comments about closing: nbd-3.20-2
Wednesday, 18 March 2020, 07:28 GMT
Reason for closing: Fixed
Additional comments about closing: nbd-3.20-2
Fix for nbd is available upstream: https://github.com/NetworkBlockDevice/nbd/commit/6cabf9af2310282ace4208ae6f3f4d874dbf3e88.patch