Comment 6 for bug 1009393

Revision history for this message
icold (andrewcaveman) wrote :

Same here. This is still an issue. It ignores the /etc/ltsp/nbd-server.allow

Mar 22 12:09:09 ltsp01 nbd_server[851]: Spawned a child process
Mar 22 12:09:09 ltsp01 nbd_server[1163]: virststyle ipliteral
Mar 22 12:09:09 ltsp01 nbd_server[1163]: connect from 172.20.15.29, assigned file is /opt/ltsp/images/amd64.img
Mar 22 12:09:09 ltsp01 nbd_server[1163]: Client '172.20.15.29' is not authorized to access
Mar 22 12:09:09 ltsp01 nbd_server[851]: Child exited with 1

root@ltsp01:/var/log$ cat /etc/ltsp/nbd-server.allow
172.20.15.29

It's not just the subnet mask, it ignores anything in the file.

root@ltsp01:/var/log$ cat /etc/nbd-server/conf.d/ltsp_amd64.conf
[/opt/ltsp/amd64]
exportname = /opt/ltsp/images/amd64.img
readonly = true
authfile = /etc/ltsp/nbd-server.allow