Re: Bring enbd back in Debian?

"Peter T. Breuer" <[email protected]> Mon, 13 Mar 2006 13:11:43 +0100 (MET)
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
"Also sprach Bas van Schaik:"
[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> Hmmm... Splitting the configfiles is still the best solution, I think.
> However, there is one other option:

Don't worry about it. It's no trouble.

> enbd-cstatd will be in the enbd-client package, enbd-sstatd will be in
> the enbd-server package. It's possible to create a seperate enbd-common
> package with the one configfile in it. Both client and server packages
> will depend on this common package.

I think that is aesthetically appealing.

> I've heard some opinions on this solution from two Debian developers...
> They told me it's probably just a lot of overhead to create a seperate
> package for just one configuration file. On the other hand, it will
> spare you a lot of time (I think), since both source and manpages should
> be rewritten to fit in two packages.

It's not that - it is elegant.

> If you do decide to split the configuration files, the following setup
> (as you wrote) looks interesting:
> /etc/enbd/client.conf (or enbd-client.conf) and
> /etc/enbd/server.conf (or enbd-server.conf)

That can be set up in ./configure. Note that backwards compatibility
would require links to an existing config file if one were found, or it
be parsed out into two semi-automatically.

> Let me know what your opinion/decision is, after having considered all
> of this.

It's quicker for me to code it than to discuss it. But I have to go to
lunch ... I've mnade the changes in the 2.4.33 local source and I will
try them during the day.

Peter