[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Conflict between GNU CS and FHS

From: Linus Walleij
Subject: Conflict between GNU CS and FHS
Date: Sat, 18 Mar 2006 13:46:11 +0100 (CET)

As has been found in the Fedora Core bugzilla, we discovered a conflict between the GNU Coding Standards and FHS.

Quoting FHS:

  "/usr is shareable, read-only data. That means that /usr should be
   shareable between various FHS-compliant hosts and must not be written

Quoting GNU Coding Standards:

   The directory for installing architecture-independent data files which
   the programs modify while they run. This should normally be
   /usr/local/com, but write it as $(prefix)/com.

Since the latter will resolve into /usr/com if $prefix is /usr (which is common when building a package for a system), a conflict arise, where FHS says it should not be written to, whereas GNU CS says it is even recommended to do so, provided the data is architecture-independent.

Could this issue be resolved? I know $sharedstatedir is somewhat obscure, but not we have a program actually using it.

Please visit our Bugzilla ticket for this if you have the time:

Linus Walleij

reply via email to

[Prev in Thread] Current Thread [Next in Thread]