D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4586 - DMD should look for dmd.conf in /usr/local/etc
Summary: DMD should look for dmd.conf in /usr/local/etc
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All Linux
: P3 minor
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 07:00 UTC by Leandro Lucarella
Modified: 2024-12-13 17:52 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Leandro Lucarella 2010-08-05 07:00:54 UTC
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 dlangBugzillaToGithub 2024-12-13 17:52:46 UTC
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