On Tue, May 08, 2012 at 06:01:06PM -0700, Vagrant Cascadian wrote:
> Package: nbd-server
> Version: 1:2.9.24-3
> Severity: wishlist
> 
> Looking at the postinst for nbd-server, I wondered why it doesn't generate a
> separate config for each export, that way /etc/nbd-server/config would only
> diverge from /usr/share/nbd-server/nbd-server.conf.tmpl when there was an
> actual change to the server-side defaults, or the user actually made changes.
> 
> Each of the exports could then be configured in
> /etc/nbd-server/conf.d/FOO.conf.

Yes, well, that's exactly what I'm planning to do to fix that other
wishlist bug of yours :-)

> I guess checking for changes in configuration format would be a little
> trickier,

That's indeed why I didn't do it this way before. It'll involve several
UCF calls instead of just one, and might be more fragile (though that's
just a gut feeling, not something I've investigated), but other than
that it *should* work.

> but that might need to be handled anyways for admin-created configs
> dropped in there anyways?

Which is going to be the hard part.

-- 
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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to