[ENBD] Bring enbd back in Debian?
Peter T. Breuer
ptb at inv.it.uc3m.es
Tue Mar 14 01:27:24 MST 2006
"Also sprach ptb:"
> "Also sprach Bas van Schaik:"
> > 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.
Logic tells me that that must happen, just for the common functions
that will be contained in the init script(s) if nothing more, but it is
still sensible that server and client have different config files. So
what I have done is (in 2.4.33pre)
1) arrange that they look for separate config files, and fall back
to the single old one if not found
2) allow ./configure to specify --sysconfdir to the compile in
order to define the general location of the config files ...
gcc -DSYSCONFDIR="\"/etc\"" -DLOCALSTATEDIR="\"/var\"" ...
(I threw in --localstatedir too, but some more detail is needed
there as the server uses /var/state/enbd/, which you may not
like)
Really there need to be some daemon options to match. I'll do that.
Peter
More information about the ENBD
mailing list