[fhs-discuss] More formal request: directory for config files below /usr

Thorsten Kukuk kukuk at suse.de
Mon Jun 17 11:03:06 UTC 2019


Hi,

before the discussion falls asleep again, here a  more detailed/formal
proposal of the changes for the FHS, to support a common directory 
below /usr for configuration files. 

New:
4.13 /usr/sysconfig: Distribution and Application-specific system configuration
4.13.1 Purpose:
The /usr/sysconfig hierarchy contains distribution and application 
specific default configuration files. A "configuration file" is a local 
file used to control the operation of a program; it must be static and cannot 
be an executable binary. Adjustements to this configuration files should
not be done in /usr/sysconfig, but via overrides in /etc.

It is recommended that files be stored in application specific 
subdirectories of /usr/sysconfig rather than directly in /usr/sysconfig.



This requires some changes in other parts:


3.7. /etc : Host-specific system configuration
3.7.1. Purpose

Add:
The /etc/ hiearchy is for host specific system configuration and
should only contain by the system administrator adjusted configuration
files. A Linux distributor should not overwrite or modify them if possible.

3.7.3. Specific Options
- We need to cleanup this list independent of this request.


4.9.3. Specific Options

Change "Note that /usr/etc is still not allowed: programs in /usr should place configuration files in /etc."
to "Note that /usr/etc is still not allowed: programs in /usr should 
    place configuration files in /etc or /usr/sysconfig." 



By the way, what is the official process to get changes into FHS?  

  Thorsten

-- 
Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendoerffer, Mary Higgins, Sri Rasiah, HRB 21284 (AG Nuernberg)


More information about the fhs-discuss mailing list