Question about package usage of /opt
LD 'Gus' Landis
ldlandis at gmail.com
Fri Jun 5 12:13:07 UTC 2009
Relative to packaging, IMO, there is something quite
different about ISC Cache from FNIS GT.M, and I think
has significant installation ramifications.
When I say "database instance", think Cache "environment".
The GT.M software can be completely isolated from the
actual database instance. For example, I can use the
identical software for all GT.M database instances on
the machine. All of the data and configuration information
is independent of the GT.M "system software", and the
GT.M "system software" does not reference anything external
to itself, nor to any GT.M instance (unlike what is done by
Cache with /usr/local/etc/cachesys, which references each
and every Cache instance accessible on the machine).
Cache, on the other hand, really needs to have a complete
install of Cache for each instance. Cache stores all of its
database files (in a natural install) for each environment,
together in a subdirectory (mgr/) under the instance home.
I have not been successful, nor does ISC recommend, trying
to "share" installation components across environments.
(Also, Cache is hostile to symlinks, etc).
If you are going to "package" an instance of Cache, then
the following comments are not applicable. The following
is from a "packaging the ISC Cache product" (like what
you can download, e.g. 2008.1.0.401.0su_lnxrhx86.tar.gz)
So, I would think that a good way to "package" Cache
would be to have it stored somewhere (under /usr/share??),
and have some helper scripts that create a database
instance calling cinstall using that /usr/share subdirectory
as the source (where cinstall is run from). The created
environment is then somewhere (/home subdirectory is
where I stick them) and from which csession is run (and
all of the instance is under that /home subdirectory for
With GT.M, only the datafiles and configuration files are
in an instance home (under a /home subdirectory), where
all of the GT.M executable code (and some of the %
routine, BUT NO data) is elsewhere (/opt/lsb-gtm/<ver>).
I would be interested in working with you on your project
as well, since I haven't yet repented of working on Cache
on UNIX (I don't do Microsoft).
On Thu, Jun 4, 2009 at 10:18 PM, Pau Garcia i Quiles
<pgquiles at elpauer.org> wrote:
> Unrelated but still might be interesting: I'm packaging Intersystems
> Caché, which is the only other MUMPS database still alive. It seems
> like Ubuntu will be the best OS for MUMPS :-)
> On Thu, Jun 4, 2009 at 10:45 PM, LD 'Gus' Landis<ldlandis at gmail.com> wrote:
>> We are planning to create a package for the GT.M database,
>> provided by Fidelity National Information Systems.
>> Fidelity has officially secured the /opt/lsb-gtm space at
>> and so our convention is to use names like
>> for the directory holding version 5.3-003 of their software.
>> Once installed, NOTHING in the directory is ever changed.
>> It is read/execute only. Other than a couple of standard
>> libraries (which may not be installed by default), nothing
>> is stored outside of this directory (/opt/lsb-gtm).
>> Is this acceptable? It does seem compatible with the fhs
>> document mentioned by Daniel (below), but I don't want
>> to use "old tapes". Thank You!
>> daniel.holbach at ubuntu.com said:
>>> As far as I know, we generally prefer to not install to /opt.
>>> http://www.pathname.com/fhs/2.2/fhs-3.12.html - but
>>> maybe that's a question that you could bring up on
>>> ubuntu-devel- discuss at lists.ubuntu.com
>> NOTE: If it is important CALL ME - I may miss email,
>> which I do NOT normally check on weekends nor on
>> a regular basis during any other day.
>> LD Landis - N0YRQ - de la tierra del encanto
>> 3960 Schooner Loop, Las Cruces, NM 88012
>> 651/340-4007 N32 21'48.28" W106 46'5.80"
>> “If a thing is worth doing,
>> it is worth doing badly.” –GK Chesterton.
>> An interpretation: For things worth doing: Doing them,
>> even if badly, is better than doing nothing perfectly (on
>> "but I trust my family jewels only to Linux." -- DE Knuth
>> Funny Quote of the Day - Douglas Adams -
>> "I love deadlines. I like the whooshing sound they make
>> as they fly by."
>> Ubuntu-devel-discuss mailing list
>> Ubuntu-devel-discuss at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
> Pau Garcia i Quiles
> (Due to my workload, I may need 10 days to answer)
NOTE: If it is important CALL ME - I may miss email,
which I do NOT normally check on weekends nor on
a regular basis during any other day.
LD Landis - N0YRQ - de la tierra del encanto
3960 Schooner Loop, Las Cruces, NM 88012
651/340-4007 N32 21'48.28" W106 46'5.80"
“If a thing is worth doing,
it is worth doing badly.” –GK Chesterton.
An interpretation: For things worth doing: Doing them,
even if badly, is better than doing nothing perfectly (on
"but I trust my family jewels only to Linux." -- DE Knuth
Funny Quote of the Day - Douglas Adams -
"I love deadlines. I like the whooshing sound they make
as they fly by."
More information about the Ubuntu-devel-discuss