[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conflict between GNU CS and FHS
From: |
Alfred M. Szmidt |
Subject: |
Re: Conflict between GNU CS and FHS |
Date: |
Sat, 18 Mar 2006 17:47:16 +0100 (CET) |
I'm pretty sure the GNU CS is wrong here. There are very good
reasons to let /usr be read-only. IMHO, /var/ would be a much
better place for a sharedstate directory.
The GCS isn't wrong here, on GNU $(prefix) will be empty, so
$(sharedstatedir) will be equal to /com. If one is worried about
old/broken systems that still use /usr, a simple fix is to make
/usr/com a symbolic link to /com or some such. The reason why /usr is
broken today is simply because what it tries to achive can be solved
using directory unions so an extra directory like /usr isn't needed to
seperate data.
2. Use %{_localstatedir} in place of %{_sharedstatedir} for apps
that care about sharedstatedir to not violate the FHS.
Which would violate the GCS.
Happy hacking.