Subj : MBSE and FHS
To   : Michiel Broek
From : Rj Clay
Date : Sun Apr 14 2013 06:12 pm

Hi Michiel!

09 Apr 13 19:57, you wrote to me:

MB> Rj Clay wrote to All:
RC>> 08 Apr 13 08:49, I wrote to all:
RC>>> 07 Apr 13 19:46, I wrote to all:
RC>>
RC>>> One relatively easy way (besides that there are so many places where
RC>>> it would need to be changed...<g>) to correct it would be to use a
RC>>> different environmental variable, perhaps MBSE_ETC or just MBSE_VAR,
RC>>
RC>>    Found at least one instance of the same kind of issue for a
RC>> 'var/' path

RC>> file (var/mailer.hist in mbcico/answer.c), so perhaps MBSE_VAR
RC>> would be better...

MB> FHS still leaves room for /opt.

   Indeed it does.<g>  But keep in mind that '/opt/*' is not really free form
(see '/var/opt/<subdir>', for instance.).  Usage of /srv/* is entirely free
form but I thought that if I'm going to try changing it at all, why not just
use the more standard directories. Also, keep in mind that I'm also thinking
of this from the point of view of a packager, where it's not at all a good
idea to install to '/opt' or '/srv' or '/usr/local/' because those are for the
local system admin not the package manager.


MB> But the most important thing is the typical access and ownership of
MB> all the directories that mbse uses.

  True, but I think that all taken care of.


MB>  For instance, never mix mbsebbs home directories with system home
MB> directories. It breaks for things that build hardcoded paths on the
MB> mbse_root setting.

   Like? And keep in mind that I'm for the idea of changing all instances of
that in the code...


MB>  Where would you point that to?

  Which "that" are you referring to there?  If to MBSE_ROOT itself, that I
would default to '/usr/lib/mbsebbs'.  The *.data files I'd default to having
in '/var/lib/mbsebbs' which would require code changes.  (I've thought of just
trying a sym link as an initial change to the Debian packaging; that appears
to work with, for instance, /opt/mbse/etc as a sym link to
/var/lib/mbsebbs...)


MB>  Most stuff expects all files on that directory.

  "stuff" = ?


MB> So ask yourself this, is it worth changing it?

   I think it is...<g>  And at least for whatever I do for the Debian
packaging, I'll be doing so.




Jame


--- GoldED+/LNX 1.1.5--b20111217
* Origin: RJC eeePC (1:120/419)