[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Nbd] Virtstyle = ipliteral in version 2.9.16 of Ubuntu Natty not working



Hi,

I just noticed that the virtstyle option is not working in ubuntu natty
with this version:

ii  nbd-server         1:2.9.16-7.1ubuntu Network Block Device protocol
- server

I use the following config for nbd-server:

[generic]
[swap]
        virtstyle = ipliteral
        exportname = /tftpboot/swap/%s.swap
        prerun = /usr/bin/mkfile -n 1G %s
        postrun = rm -f %s
        port = 5051

This should produce filenames like:

/tftpboot/swap/192.168.32.151.swap

but instead I get

/tftpboot/swap/%s.swap

and in the logs:

Mar 16 07:47:07 anyos-host nbd_server[777]: connect from 192.168.32.151,
assigned file is /tftpboot/swap/%s.swap
Mar 16 07:47:07 anyos-host nbd_server[777]: Can't open authorization
file (null) (Bad address).
Mar 16 07:47:07 anyos-host nbd_server[777]: Authorized client
Mar 16 07:47:07 anyos-host nbd_server[29644]: Starting to serve
Mar 16 07:47:07 anyos-host nbd_server[29644]: Size of exported
file/device is 1073741824

The setup is identical to another server using

ii  nbd-server         1:2.9.14-2ubuntu1  Network Block Device protocol
- server

With this version all is well.
Are there any regressions with the ubuntu natty version?

-- 
Wilhelm




Reply to: