Bug 4586 – DMD should look for dmd.conf in /usr/local/etc

Status
NEW
Severity
minor
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2010-08-05T07:00:54Z
Last change time
2024-12-13T17:52:46Z
Assigned to
No Owner
Creator
Leandro Lucarella
Moved to GitHub: dmd#18288 →

Comments

Comment #0 by leandro.lucarella — 2010-08-05T07:00:54Z
According to the FHS[1] (Filesystem Hierarchy Standard), "The /usr/local hierarchy is for use by the system administrator when installing software locally", so by default DMD should probably be installed there (and give a nice and simple option in the makefile to let the package maintainers change that to /usr, probably using the well known "prefix" variable). Anyway, even when things installed in /usr/local could have their config files in /etc directly, it is recommended to use /usr/local/etc instead, in case you want to install a local version of a program already installed as a package. DMD should then look for dmd.conf in /usr/local/etc before looking in /etc. [1] http://www.pathname.com/fhs/
Comment #1 by robert.schadek — 2024-12-13T17:52:46Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18288 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB