Kjetil Torgrim Homme wrote:
> Kern Sibbald <[email protected]> writes:
> 
>> Yes, I am suggesting that all distros should use the Bacula
>> recommended configuration.  We can then automate a lot of nice
>> stuff.
> 
> why not just use --prefix=/opt/bacula ?
[...]
> with --prefix=/opt/bacula, I would like the configuration to be in
> 
>   /opt/bacula/etc/bacula/bacula-fd.conf
>   etc.

That seems unnecessarily obfuscated to me.

> (in 2.4, Bacula drops everything directly in $sysconfdir,
> i.e. /usr/local/etc by default, which is quite messy.  a subdirectory
> makes it clearer, and it's not a big hassle even if Bacula is
> installed in a separate prefix.)

Here's a thought.  How about a new configuration item:

--layout=[lsb|bacula]

If used, --layout=bacula would be equivalent to --prefix=/opt/bacula and
all the other options to give /opt/bacula/bin, /opt/bacula/etc,
/opt/bacula/working and all the rest of the official recommended Bacula
placement.  --layout=lsb would be equivalent to setting all the
variables to achieve a standard lsb file placement, for those determined
to adhere to the lsb.  Only people who for some reason wished to use
neither of these predefined layouts would need to use --prefix,
--sysconfdir etc.

Small additional win with this:  If the Gentoo packager were to
implement an appropriate USE flag (perhaps 'baculastd' or 'stdlayout',
or maybe go the opposite route and go with 'USE=lsb'), Gentoo users
could decide for themselves whether to use the lsb or the recommended
Bacula layout simply by setting or unsetting the USE flag.
Binary-package distributions such as Debian could perhaps even be
persuaded to offer both bacula-lsb and bacula-std packages.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  [email protected]   [email protected]   [email protected]
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to