[Bug 1009393] Re: Problems with /etc/nbd-server/allow

Dadio dominique at ramaekers-stassart.be
Mon Mar 28 16:40:34 UTC 2016


The same for me.

I need to specify the authfile in every /etc/nbd-server/conf-d file to
get it parsed (I don't mind so much about this).

More importantly, the ip-adresses in the authfile is ignored...

administrator at CmsrvVH3:/etc/nbd-server$ cat nbd_server.allow 
127.0.0.1
10.3.1.3
10.3.1.10

administrator at CmsrvVH3:/etc/nbd-server$ cat conf.d/CmsrvSQL2-MIRROR.conf 
[CmsrvSQL2-MIRROR]
	exportname = /dev/CmsrvVH3-vg/CmsrvSQL2-MIRROR
	authfile = /etc/nbd-server/nbd_server.allow

administrator at CmsrvVH3:/etc/nbd-server$ cat /var/log/syslog | tail
Mar 28 18:34:56 CmsrvVH3 systemd[1]: Stopped LSB: Network Block Device server.
Mar 28 18:34:58 CmsrvVH3 systemd[1]: Starting LSB: Network Block Device server...
Mar 28 18:34:58 CmsrvVH3 nbd-server[31040]:  nbd-server.
Mar 28 18:34:58 CmsrvVH3 systemd[1]: Started LSB: Network Block Device server.
Mar 28 18:35:01 CmsrvVH3 CRON[31045]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Mar 28 18:35:02 CmsrvVH3 nbd_server[31043]: Spawned a child process
Mar 28 18:35:02 CmsrvVH3 nbd_server[31047]: virtstyle ipliteral
Mar 28 18:35:02 CmsrvVH3 nbd_server[31047]: connect from 10.3.1.3, assigned file is /dev/CmsrvVH3-vg/CmsrvSQL2-MIRROR
Mar 28 18:35:02 CmsrvVH3 nbd_server[31047]: Client '10.3.1.3' is not authorized to access
Mar 28 18:35:02 CmsrvVH3 nbd_server[31043]: Child exited with 1

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nbd in Ubuntu.
https://bugs.launchpad.net/bugs/1009393

Title:
  Problems with /etc/nbd-server/allow

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nbd/+bug/1009393/+subscriptions



More information about the Ubuntu-server-bugs mailing list