Problems with /etc/nbd-server/allow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nbd (Debian) |
Fix Released
|
Unknown
|
|||
nbd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
nbd-server 1:2.9.25-2ubuntu1
I was trying to use /etc/nbd-
1) If I'm using the shipped /etc/nbd-
[/opt/ltsp/i386]
exportname = /opt/ltsp/
readonly = true
...then /etc/nbd-
authfile = /etc/nbd-
2) The subnet mask handling doesn't work, I made it work by swapping the bit shifting in authorized_
addr.
addr.
memcpy(
cltemp.
cltemp.
...not sure if it's network-order depended or not.
tags: | added: patch |
Changed in nbd (Debian): | |
status: | Unknown → New |
Changed in nbd (Debian): | |
status: | New → Confirmed |
Changed in nbd (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nbd (Debian): | |
status: | Confirmed → Fix Released |
Patch for the endianness problem.