Subj : Re: MBSE and FHS
To   : Rj Clay
From : Michiel Broek
Date : Fri Apr 19 2013 08:20 pm

Hi Jame,


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

RC> idea to install to '/opt' or '/srv' or '/usr/local/' because those are for

RC> the
RC> local system admin not the package manager.
RC>
RC>
RC>  MB> But the most important thing is the typical access and ownership of
RC>  MB> all the directories that mbse uses.
RC>
RC>    True, but I think that all taken care of.

Ok.

RC>
RC>
RC>  MB>  For instance, never mix mbsebbs home directories with system home
RC>  MB> directories. It breaks for things that build hardcoded paths on the
RC>  MB> mbse_root setting.
RC>
RC>     Like? And keep in mind that I'm for the idea of changing all instances

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

Since most data then would go into /var/lib/mbsebbs I would point the
MBSE_ROOT variable to that location.

/usr/lib/mbsebbs is more for fixed data/libs etc. Thinking of that, on
Slackware that is /usr/lib64/mbsebbs, and I think on Gentoo as well.
I think Deb and buntu allways use /usr/lib but you know that better then me.



RC>
RC>
RC>  MB>  Most stuff expects all files on that directory.
RC>
RC>    "stuff" = ?
RC>
RC>
RC>  MB> So ask yourself this, is it worth changing it?
RC>
RC>     I think it is...<g>  And at least for whatever I do for the Debian
RC> packaging, I'll be doing so.

Let me know when it's finished, I'm just curious how it goes.

gtx, Michiel.
RC>

   Greetings, Michiel Broek

Email:   mbse at fido dot mbse dot eu
Fidonet: Michiel Broek at 2:280/2802

... Fools rush in wherever lottery tickets are sold

--- MBSE BBS v0.95.15 (GNU/Linux-i386)
* Origin: MBSE Linux BBS. Made in the Netherlands (2:280/2802)