Your message dated Tue, 26 Jan 2016 09:49:15 +0100
with message-id <20160126084915.ga3...@grep.be>
and subject line Closing
has caused the Debian Bug report #656497,
regarding nbd-server: exporting bunch of files using "%s" does not work
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
656497: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656497
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: nbd-server
Severity: normal
Dear Maintainer,
I am trying to make swap space available to diskless clients using nbd
on a squeeze network. However, using the third option as described in
the debconf template fails:
You can export a real block device (for instance "/dev/hda1"); a normal file
(such as
"/export/nbd/bl1"); or a bunch of files all at once. For the third option,
you can use
"%s" in the filename, which will be expanded to the IP-address of the
connecting
client. An example would be "/export/swaps/swp%s".
I tried "/opt/swp%s" with and without '"', and prepared the file
/opt/swp10.0.0.201 like:
dd if=/dev/zero of=swp10.0.0.201 bs=1024k count=0 seek=64
mkswap swp10.0.0.201
but the clients complain about not enough swap area to use on
/dev/nbd0.
As soon as I prepare a file /opt/swp%s in the same way, swap space is
available on the client and anything works fine. If I use the swap
damon /usr/sbin/nbdswapd from the ltsp-server package which creates
swapfiles on the fly using inetd, it works too.
So it looks as if %s is not replaced by the IP-address of the client.
Or is there anything I missunderstood in using %s?
Best regards,
Andi
-- System Information:
Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
No reply on request about reproducing, so assuming it was indeed fixed.
If not, please reopen with detailed instructions on how to reproduce.
--
It is easy to love a country that is famous for chocolate and beer
-- Barack Obama, speaking in Brussels, Belgium, 2014-03-26
--- End Message ---