Package: nbd-server
Version: 1:2.9.24-3
Severity: wishlist
X-Debbugs-CC: alk...@gmail.com

LTSP is getting all sorts of great support for NBD(Yay!), but we're still
lacking a way to enable nbd-server by default. So we can drop files in
/etc/nbd-server/conf.d, but unless /etc/nbd-server/config is present (and
appropriately configured), it will do nothing.

While the administrator can run dpkg-reconfigure nbd-server, it would be ideal
if the logic that generates the /etc/nbd-server/config could be moved to a
script runnable from other packages postinst scripts. Without that, I don't see
a policy-compliant way of creating /etc/nbd-server/config from, say,
ltsp-server.postinst.

It looks like what's present in /usr/share/nbd-server/nbd-server.conf.tmpl
would be perfect (since it includes includedir=/etc/nbd-server/conf.d), and then
ltsp could drop or create files in /etc/nbd-server/conf.d as needed. If there
were an update-nbd-server-config script that basically implemented parts of
what's in nbd-server's postinst, that would be great.

Alternately, if it would always create /etc/nbd-server/config with the 
includedir option, and then just not start if no exports were defined, that 
would be even better.


live well,
  vagrant



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to