[rt-devel] mason_data and session_data, cache or lib?

Jamie Wilkinson jaq at spacepants.org
Wed Jun 4 01:42:09 EDT 2003


This one time, at band camp, Robert Spier wrote:
>At Wed, 4 Jun 2003 15:17:50 +1000,
>Jamie Wilkinson wrote:
>> I'm working on packaging RT3 so that it fits the FHS spec, by adding a FHS
>> section to config.layout, and I'm wondering if masonstatedir and
>> sessionstatedir are variable state information or cached data.
>> I'm guessing that they should go into the "variable state" directory, but I
>> just wanted to check if the data in them is actually just cache.
>
>masonstatedir is cached data.
>
>sessionstatedir is probably variable state - but there are reasons to
>preserve session states across server resets and such.

Care to elaborate?  If that's the case then masonstatedir can be
/var/cache/rt and sessionstatedir can be /var/lib/rt.  At the moment I've
used /var/cache/rt/{session_data,mason_data}.

-- 
jaq at spacepants.org                           http://spacepants.org/jaq.gpg



More information about the Rt-devel mailing list