[Pkg-puppet-devel] should config.ru be a conffile?
Russ Allbery
rra at debian.org
Mon Sep 27 19:07:57 UTC 2010
Nigel Kersten <nigel at explanatorygap.net> writes:
> On Mon, Sep 27, 2010 at 9:11 AM, Andrew Pollock <apollock at debian.org> wrote:
>> I'd have to go and recheck Debian Policy, but I don't believe there's a
>> requirement for a file to be in /etc to be a conffile, it just so
>> happens that debhelper will automatically mark any file in /etc as a
>> conffile.
> http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.2
> was pointed out earlier, but I guess it doesn't say that things
> outside /etc can't be a conffile.
It does, actually:
Any configuration files created or used by your package must reside in
/etc.
Also, the Filesystem Hierarchy Standard is the relevant document here
(referred to by Policy). It says:
The /etc hierarchy contains 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.
and:
/usr is the second major section of the filesystem. /usr is shareable,
read-only data. That means that /usr should be shareable between
various FHS-compliant hosts and must not be written to. Any
information that is host-specific or varies with time is stored
elsewhere.
--
Russ Allbery (rra at debian.org) <http://www.eyrie.org/~eagle/>
More information about the Pkg-puppet-devel
mailing list