query about /etc
Section 4.7 of policy 2.5.0.0 says
4.7. Configuration files
------------------------
Any configuration files created or used by your package should reside
in `/etc'. If there are several you should consider creating a
subdirectory named after your package.
However, the FHS only says that host-specific configuration files
(like fstab, network configuration, etc) need to live in /etc. In that
case, why do we mandate that all configuration files live in /etc?
Some can certainly be shared between hosts and therefore should live
in /usr/share.
(Background: on the upstream development list for one of my packages
(geda-*), someone queried whether it was necessary to support config
files in /etc. I said that we required it, but it was pointed out to me
that the FHS does not require it. It makes sense to share those configuration
files, like those of many other packages.)
(Other trivia: although /usr/share allows us to share files among
similar hosts, we don't really have a good way to use that advantage, do we?
There's no way to tell dpkg that it doesn't need to install files in
/usr/share because that's network mounted already.)
Hamish
--
Hamish Moffatt VK3SB (ex-VK3TYD).
CCs of replies from mailing lists are welcome.
Reply to: