On Mon, May 07, 2012 at 09:09:28PM -0700, Vagrant Cascadian wrote: > 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.
That's actually what happens now: if there are no configs defined, the initscript will start nbd-server, but it will exit since, indeed, nothing's there. There's really no reason why you can't copy that template file to /etc/nbd-server/config and get on with it, other than "policy doesn't allow you to". Currently, the nbd-server postinst writes the exports to the main config file rather than to config file snippets, because I'd already written things that way and I didn't see an immediate reason to change it; but I suppose it doesn't make much sense anymore to do things this way. I'll look into this. -- The volume of a pizza of thickness a and radius z can be described by the following formula: pi zz a -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org