[Slackbuilds-users] Problems Building PostgreSQL-8.4.5

Didier Spaier didier.spaier at epsm.fr
Mon Oct 25 11:25:04 UTC 2010


Le 25/10/2010 02:02, Rich Shepard a écrit :
> On Sun, 24 Oct 2010, Robby Workman wrote:
>
>> That's because /usr/local is the domain of the system administrator.
>
> Robby,
>
> I thought that /usr was, too, and that non-distribution-included packages
> would be installed in /usr/local or /opt.


<quote=http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBVARIABLESTATEINFORMATION>
/var/lib : Variable state information
Purpose

This hierarchy holds state information pertaining to an application or the system. State information is data that programs modify while they run, and that pertains to one specific host. Users must never need to modify files in /var/lib to configure a package's operation.

State information is generally used to preserve the condition of an application (or a group of inter-related applications) between invocations and between different instances of the same application. State information should generally remain valid after a reboot, should not be logging output, and should not be spooled data.

An application (or a group of inter-related applications) must use a subdirectory of /var/lib for its data. There is one required subdirectory, /var/lib/misc, which is intended for state files that don't need a subdirectory; the other subdirectories should only be present if the application in question is included in the distribution. [38]

/var/lib/<name> is the location that must be used for all distribution packaging support. Different distributions may use different names, of course.
</quote>

As long as /var/lib is used to hold database records, I suppose this choice conforms to the FHS.

Didier


More information about the SlackBuilds-users mailing list